Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
zipline no prices

trying to run buyapple.py in a local notebook. i have already ingested the the file in my command prompt; however, when the data frame is returned there are no prices in the dataframe for apple, any ideas what i might need to do next?

%matplotlib inline
%load_ext zipline
from zipline.data import bundles

from zipline.api import order, record, symbol

def initialize(context):  
    pass

def handle_data(context, data):  
    order(symbol('AAPL), 10)  
    record(AAPL=data.current(symbol('AAPL'), 'price'))

%zipline --bundle quantopian-quandl --start 2018-7-1 --end 2019-7-19 -o backtest.pickle
2 responses

Michael -
Use dates prior to 11-Apr-2018. That bundle hasnt been updated since.
https://github.com/quantopian/zipline/issues/2145 Richard

Thanks very much for the reply Richard, changing the date resolved the issue for dates prior to 2q2018 and will save me future hours trying to debug.