Interactive Brokers makes new API available for Python programmers

Maria Nikolova

Beginning with release 9.73, a new Python API client is now included.

FinanceFeeds has been updateing its readers on the improvements that Interactive Brokers Group, Inc. (NASDAQ:IBKR) has been introducing to its proprietary Trader Workstation (TWS) platform. Now it is time to take a look at another tech aspect of enhancing the TWS functionality which is targeted at professional developers – the TWS API.

The TWS API is considered to be simple and powerful interface through which the clients of Interactive Brokers can automate their trading strategies, request market data and monitor their account balance and portfolio in real time. The target user base of the TWS API are experienced professional developers that want to enhance the current TWS functionality.

The TWS API works with the TWS platform and the IB Gateway. From the TWS API perspective, the IB TWS platform and IB Gateway are identical: both represent a server to which it can open a socket connection. On the other hand, from the user perspective, the IB Gateway is a lightweight application through which one can only make use of the TWS API. Unlike the TWS’ rich user interface, the IB Gateway does not offer the end user anything else than the very basic features to handle API connections. However, the IB Gateway does not need to be restarted every 24 hours and can therefore be used to run indefinitely.

Starting with release 9.73, a new Python API client is now included. After users install this beta release on their computer, they can find Python API components in the following locations:

  • Python API sample code – located in the samples/Python folder in the API installation directory (typically IB_973);
  • Python source code – located in the source/pythonclient folder in the API installation directory.

Let’s note the importance the launch of native Python API by Interactive Brokers. Until recently, one had to use third-party solutions for the purpose, an approach which always comes with risks.

Python as a programming language has a variety of advantages, such as its simplicity and its wide applicability – it can be used on multiple platforms and systems. Then, there is, of course, the fact that many of the IT giants have shown preference for Python. The list of disadvantages include (unfortunately) that Python is slow.

When comparing various programming languages for its API, Interactive Brokers still highlights Java as the most popular one.

Read this next

Financewire

Changelly launches Probably Serious Quiz introducing 0% fee swaps of USDt on TON and Toncoin

Changelly, a global crypto exchange, lists USDt on TON, a newly launched stablecoin created in the wake of a strategic collaboration between Tether and The Open Network.

Market News

Germany’s DAX 40 Index: Defying Economic Gravity

Amidst a backdrop of pervasive pessimism regarding Germany’s economic outlook, the DAX 40 Index (Germany 40 Mini at FXOpen) has emerged as a beacon of resilience and strength in the European financial landscape.

blockdag

DotBig Investments: Transforming the Landscape of Investment Opportunities

DotBig, a prominent player in the investment landscape, offers a diverse range of opportunities for both private and corporate investors.

Fintech

Uncleared OTC derivatives post-trade processing has a new player

A recent platform trial conducted by Fragmos Chain in partnership with a consortium of six investment banks across Europe, Asia, and North America, has been deemed a success.

Interviews

Colibrix wants to take the LATAM payments market by storm

FinanceFeeds is excited to announce an exclusive interview with Aleksander Bobrov, CEO of Colibrix, delving deep into the payment firm’s recent advancements and strategic positioning in the Latin American (LATAM) market.

Industry News

UK FCA provides guidance ahead of anti-greenwashing rule

“Consumers care about investing in products that have a positive impact on the planet and people. That’s why we want to boost the integrity of the market and ensure people can make informed decisions about how to invest their money.”

Retail FX

Moomoo onboards 100,000 Malaysian clients in six weeks

“We are committed to enhancing the investment experience with smarter tools and deeper insights. Our mission is to not only grow with the Malaysian market but to lead it, shaping the future of investing in the region.”

Institutional FX

Clearwater completes acquisition of Wilshire’s analytics solutions

“Our vision is to create the preeminent investment management solution for firms around the globe. Clearwater’s integrated platform eliminates the need for multiple data reconciliations, serving as a reliable singular source of truth.”

Fintech

BizCuits integrates DXtrade platform for CFD brokers and props

The DXtrade platform features built-in trading journals, performance dashboards, responsive charting, and mobile trading apps.

<