Example Synchronous Python to interact with IB_Gateway (from interactive brokers) to get portfolio data, stock prices, historical data, screeners and place some basic trades. Another option called ...
The goal of the IB-insync library is to make working with the Trader Workstation API from Interactive Brokers as easy as possible. Python 3.6 or higher; A running TWS or IB Gateway application ...