forked from quantopian/zipline
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Current implementation of --live-trading and --tws-uri command line options is very IB-specific. We need something more generic to be able to support different brokers. Changed --live-trading and --tws-uri options to more generic --broker and --broker-uri to be able to support more than one broker interface. Changed the way broker module is imported. From now on it's expected that broker class will be placed into gens/brokers/<lowercase broker name>_broker.py and broker module will be named <uppercase broker name>Broker, e.g. zipline/gens/brokers/ib_broker.py and IBBroker. This should hopefully allow us to add broker modules without changing command line interface. Signed-off-by: Ed Bartosh <bartosh@gmail.com>
- Loading branch information
Showing
3 changed files
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters