Open softwaregravy opened 8 years ago
Sorry about the trouble. This is a known issue with the TrandingAlgorithm constructor. Your workaround of passing handle_data=None
is correct. We are reworking some of the public entry points to zipline which should fix this particular issue.
Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
Running on Quantopian in a notebook
Now that you know a little about me, let me tell you about the issue I am having:
Description of Issue
handle_data
method which is listed as optionalhandle_data
method, and everything seems to workhandle_data
param to the constructor.Here is how you can reproduce this issue on your machine:
Reproduction Steps
TradingAlgorithm(initialize=initialize, data_frequency='minute')
What steps have you taken to resolve this already?
handle_data
param to the methodAnything else?
Full stack trace
Sincerely,
$ whoami