You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Zipline Python Opensource Backtester
Hi,
I am unable to use add_history.
>>> from zipline.api import add_history
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'add_history'
>>>
Regards
Yatin Chaubal
Derek Tishler
unread,
Jul 3, 2016, 2:55:11 PM7/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Zipline Python Opensource Backtester
If you are using the new zipline (version > 1.0.0) you no longer need(nor can you import) use add_history(). You can drop its use and proceed otherwise with just history() in handle_data, as shown in the example on this page: