Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Error in 'Getting Started' tutorial

https://www.quantopian.com/tutorials/getting-started#lesson2

Copy the code to a notebook and it gives error on missing parameters - period_start, period_end in the following code

Pipeline execution

data_output = run_pipeline(
make_pipeline(),
start_date=period_start,
end_date=period_end
)

2 responses

Hum, it assumes you've copied and ran the previous code block, where these variables are defined:

Research environment functions

from quantopian.research import returns, symbols

Select a time range to inspect

period_start = '2014-01-01'
period_end = '2014-12-31'

Query returns data for AAPL

over the selected time range

aapl_returns = returns(
assets=symbols('AAPL'),
start=period_start,
end=period_end,
)

Display first 10 rows

aapl_returns.head(10)

Yes, on second reading it does.
For some examples the code is appended to previous blocks, for others it replaces what is there.

I added this question in case anyone else gets the same error message.