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

Create blotter for live trading #67

Closed tibkiss closed 6 years ago

tibkiss commented 6 years ago

Zipline uses blotter class to interface with backtesting or normal brokers.

Currently in zipline-live blotter is unused: TradingAlgorithm's respective calls are overridden to reach out the broker directly. This approach prevents zipline to keep track of positions in the performance report. Additionally, if we want to run backtest & live trading at the same time (e.g.: to enable dynamic activation of the strategy based on it's previous performance) the current approach won't work.

This ticket tracks the efforts of migrating to blotter_live.

tibkiss commented 6 years ago

Delivered with #70