Expand your Python coding skills with IBKR Traders’ Academy! We offer eight free interactive, online modules on the tools and products available via the trading API.
Algo and order type syntax is illustrated with in-depth examples and references to the GitHub repository.
Learn how to install and configure the API for our award-winning Trader Workstation, TWS, and its powerful trading tools.
Next, get up-to-speed with practical examples on how to code market data requests.
In addition, get familiar with the essential EClient and EWrapper classes. The purpose of these important API features is explained in details. Data visualization tools explain how the EClient sends messages to TWS, and how EWrapper delivers TWS callbacks, which the API client implements.
Start coding today and measure your understanding with a short quiz at the end of each chapter:
What is the TWS API?
In this initial lesson we introduce Trader Workstation (TWS), IBKR’s flagship desktop trading application, and the TWS Application Programming Interface (API). An overview is provided of what the TWS API is, what it can provide, and where it can be found. We discuss the hardware and software requirements for this course on programming with the TWS API, and describe experienced programmers as the intended audience. We end by discussing the most frequently-asked questions about the API, with their respective answers.
Disclosure: Interactive Brokers
The analysis in this material is provided for information only and is not and should not be construed as an offer to sell or the solicitation of an offer to buy any security. To the extent that this material discusses general market activity, industry or sector trends or other broad-based economic or political conditions, it should not be construed as research or investment advice. To the extent that it includes references to specific securities, commodities, currencies, or other instruments, those references do not constitute a recommendation by IBKR to buy, sell or hold such investments. This material does not and is not intended to take into account the particular financial conditions, investment objectives or requirements of individual customers. Before acting on this material, you should consider whether it is suitable for your particular circumstances and, as necessary, seek professional advice.