Unable to run tutorial example : FileNotFoundError under minute_equities.bcolz

261 views
Skip to first unread message

Gurudev Devanla

unread,
Oct 12, 2016, 8:03:13 AM10/12/16
to Zipline Python Opensource Backtester
Hello All,

I am trying to run the first example from the zipline documentation. Here is the example I am trying to run:

http://www.zipline.io/beginner-tutorial.html (the code listed in the last section of this page).

I have also ingested the default Quantopian bundle.  I see the following error when I run my program.

FileNotFoundError: [Errno 2] No such file or directory: '~/.zipline/data/quantopian-quandl/2016-10-12T11;54;13.542430/minute_equities.bcolz/00/00/000000.bcolz/close/meta/sizes'


Under the minute_equities.bcolz folder, I only see one file called metadata.json and no other files.

Am I missing any setup step?

Thanks for the help!
Guru

Hans-Peter Schrei

unread,
Oct 18, 2016, 7:58:48 AM10/18/16
to Zipline Python Opensource Backtester
I also have the same problem. Could there have been a change in the folder structure of the quantopian-quandle bundle? 

Peter

unread,
Oct 25, 2016, 5:02:35 PM10/25/16
to Zipline Python Opensource Backtester
Same situation. I've got the metadata file, but nothing else. I've also tried purging and re-ingesting. No change. This algo used to work, so assuming it's a recent regression.

aca...@gmail.com

unread,
Nov 17, 2016, 11:11:21 PM11/17/16
to Zipline Python Opensource Backtester
I also have the same problem. Any suggestion?

Konstantin Tikhonov

unread,
Feb 5, 2017, 10:55:47 AM2/5/17
to Zipline Python Opensource Backtester
I have the same. That disappointing my very first try with zipline is that frustrating.

haoga...@gmail.com

unread,
Feb 16, 2017, 11:06:07 PM2/16/17
to Zipline Python Opensource Backtester
I have the same problem...So still no one has the solution?

在 2016年10月12日星期三 UTC+8下午8:03:13,Gurudev Devanla写道:

haoga...@gmail.com

unread,
Feb 17, 2017, 2:20:38 AM2/17/17
to Zipline Python Opensource Backtester
Thx to hamannj in https://github.com/quantopian/zipline/issues/1482
I find there's difference between the documents and the code example.
the history function should be written like this:
short_mavg = data.history(context.sym, 'price', 10, '1d').mean()
long_mavg = data.history(context.sym, 'price', 30, '1d').mean()
so it works 

and in initialize fun add the symbol:

def initialize(context):
    context.sym = symbol('AAPL')
    context.i = 0
在 2016年10月12日星期三 UTC+8下午8:03:13,Gurudev Devanla写道:
Hello All,
Reply all
Reply to author
Forward
0 new messages