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

attach_pipeline not allowed in before_trading_start while not being serialized #115

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