IbPython3 provides a native Python 3 implementation of the Interactive Brokers API software (version 9.70), allowing traders and investors to use Python's command line console to interact with Interactive Brokers via the IB Gateway or IB Trader Workstation platforms.
I am putting together a series of videos demonstrating the implementation of the IB API functionality using IPython notebooks. These videos may be of interest to the general Quantopian community given that Interactive Brokers is currently used to execute trading strategies written on the Quantopian platform.
Below are the planned series of videos (with links to existing titles) which are meant to be the same groupings as used in IB's documentation to demonstrate the usage of each function. IbPython3 hides the complexity of the event-driven callbacks in the API, making it much more accessible to average users (somewhere between Excel and Java). The ability to directly interact with the API via the Python console also makes learning more interactive.
- An Introduction
- Data Containers (specific to IbPython3)
- Contract Details
- Historical Data and Real Time Bars
- Account & Portfolio Data
- Orders
- Executions and Commission Reports
- Market Data
- Market Depth
- News Bulletins
- Fundamental Data
- Market Scanners
- Financial Advisors
- Combination Orders and Option Exercise
IbPython3 was written from the ground up and uses custom built methods to communicate with the socket using existing Python modules.
I hope to release IbPython3 upon concluding the video series. It requires Python 3.3+ and an IB server version of 62+ (I believe the current IB server version is 67, so this latter requirement shouldn't be a problem).
Enjoy!
-Colin Alexander