Interactive Brokers Python API
IbPy is a third-party implementation of the API used for accessing the Interactive Brokers on-line trading system. IbPy implements functionality that the Python programmer can use to connect to IB, request stock ticker data, submit orders for stocks and options, and more.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.