Hi All,
Is there a tutorial somewhere on creating a custom data bundle for zipline?
I've had a good search but haven't been able to find anything. Not that I could make any sense of anyway.
Best,
John.
Hi All,
Is there a tutorial somewhere on creating a custom data bundle for zipline?
I've had a good search but haven't been able to find anything. Not that I could make any sense of anyway.
Best,
John.
Hi John,
There will be one quite soon. I'm in the final stages of a new book on the topic of Python backtesting of trading strategies, and among other things there will be a detailed guide on how making Zipline bundles for both stocks and futures. It can be done much simpler than the currently available samples.
The book is primarily based on Zipline, showing multiple trading models with complete source code and explanations, all for Zipline. Currently clocking about 500 pages and 120k+ words, it will be quite a brick of a book, packed with source code and details.
I hope to get the book out within two months.
Andreas
Sounds really good Andreas! Not easy to start with Zipline running custom data other than US equities, I more than agree.
Feel free to let us know when your book will be available. Thanks
It's out since a couple of weeks back and hit four figure copies sold in the first week. I just published version 1.1 with minor updates based on reader feedback and ideas.
Hi - has anyone gotten over an issue of custom bundle with international equities & futures using ExplodingFXRateReader?
Also, if everything is converted to dollar, we're running a backtest assuming we're not hedged for currency moves. Is it possible to decouple equity and fx return somehow in zipline?
Hi Andreas, I am wondering whether you address in your book how to ingest custom data bundles in zipline for non US-stocks.
I currently have problems ingesting a csv file of a Spanish stock due to an AssertionError: Got 5289 rows for daily bars table with first day=2000-01-03, last day=2020-07-30, expected 5225 rows.Missing sess ions: [] (...)
If so, please do let me know, since I haven't found any solution at the moment.
Thanks