'Compile into an ExecutionPlan.
Parameters
screen_name : str
Name to supply for self.screen.
default_screen : zipline.pipeline.term.Term
Term to use as a screen if self.screen is None.
all_dates : pd.DatetimeIndex
A calendar of dates to use to calculate starts and ends for each
term.
start_date : pd.Timestamp
The first date of requested output.
end_date : pd.Timestamp
The last date of requested output.'

def to_execution_plan(self, screen_name, default_screen, all_dates, start_date, end_date):

    return ExecutionPlan(self._prepare_graph_terms(screen_name, default_screen), all_dates, start_date, end_date)
