zipline-live / zipline

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

Command line parameter handling for live trading #9

Closed tibkiss closed 7 years ago

tibkiss commented 7 years ago

We need to be able to instruct zipline to do live trading using command line arguments.

On the command line the user should be able to define TWS Connection URI (host:port:client_id). The start, end date shall not be defined by user (both must be set by zipline to today), data-frequency shall not be defined by user (must be set to 'minute' by zipline). Optionally a live trading state filename could be accepted by the user (links to: https://github.com/zipline-live/zipline/issues/6).

If live-trading is enabled then the respective live trading classes shall be executed during the execution chain.

tibkiss commented 7 years ago

Delivered with https://github.com/zipline-live/zipline/pull/11