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

Add symbol subscription for use in before-trading-start #92

Open peterfabakker opened 6 years ago

peterfabakker commented 6 years ago

When one calls now data.current the ib_broker will subscribe to the data. This subscription process can take longer then a minute when you have several tickers and therefor the handle_data will not function properly. Can be solved by pre-subscribing to the data in before_trading_starts

peterfabakker commented 6 years ago

=Done