zipline-live / zipline

Zipline-Live, a Pythonic Algorithmic Trading Library
http://www.zipline-live.io/
Apache License 2.0
394 stars 65 forks source link

Allow attach_pipeline in before_trading_starts #116

Open peterfabakker opened 5 years ago

peterfabakker commented 5 years ago

When live trading with pipeline, the attach_pipeline function is forced to reside in Initialise, however the pipeline object is not serialised. If we allow attach_pipeline in before_trading_starts it would work

tibkiss commented 5 years ago

seems like one testcase is failing. Could you please fix it?