Interactive Brokers enables traders to get Futures Open Interest data via API

Maria Nikolova

Interactive Brokers allows traders to receive more data via its API, effective with TWS version 965.1b or above.

Electronic trading firm Interactive Brokers Group, Inc. (NASDAQ:IBKR) has just enhanced the TWS API, so that users can obtain additional information.

Effective with TWS version 965.1b and above, traders can receive Open Interest data for Futures via the API. This can be done by sending reqMktData() and including “588” in the genericTickList parameter. Through the tickSize() callback, the futures open interest will be returned in tick type 86.

In order to receive live quotes, one must first make a request call via IBApi.EClient.reqMktData within the API program. Every request needs a unique identifier for the returned data. The most common tick types are delivered automatically following a successful market data request. But there are other tick types, called generic tick types, available by explicit request. When invoking IBApi.EClient.reqMktData, specific generic ticks can be requested via the genericTickList parameter.

The TWS API aims 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 TWS API targets experienced professional developers who would like to enhance the current TWS platform functionality.

In April this year, FinanceFeeds reported that Interactive Brokers had made a new API available for Python programmers. The launch of native Python API by the company was important, as it helped users avoid the risks associated with using third-party solutions for the purpose. When comparing various programming languages for the TWS API, Interactive Brokers nevertheless highlights Java as the most popular one.

The TWS platform has been undergoing regular updates, with one of the foci being IBot, the natural language interface to trading developed by Interactive Brokers. The use of “natural language” implies that traders may avoid the disadvantages associated with a standard interface, as they are able to speak (or type) commands without having to worry about the precise wording. Typical commands supported by IBot are “Buy 300 more shares” or “Show my account margin”.

The latest version of the TWS platform for desktop provides IBot with additional capabilities: one of them is the integration of Interactive Brokers’ website search with IBot to allow educational and task-based returns. Thanks to this integration, IBot can answer such queries as “How do I fund my account?” and “How do I transfer funds?” by returning the top five best information links from Interactive Brokers’ website.

Read this next

Retail FX

CySEC delists Leverate from investor compensation fund

The Cyprus Securities and Exchange Commission (CySEC) announced that Leverate, a provider of brokerage solutions for the financial services industry, has been excluded from its investor compensation fund today.


Top Crypto Investment: BlockDAG Outpaces Bitcoin Price and Cardano ADA Upgrades, Securing $19.3M in Revolutionary Presale

After plummeting below the crucial $70,000 mark amidst geopolitical tensions, the Bitcoin price is signalling a recovery as it climbs past $63,000. Concurrently, Cardano ADA upgrades, particularly the much-anticipated Chang Hardfork.

Fundamental Analysis, Tech and Fundamental

Global FX Market Summary: Middle East, US economic data, Eurozone data April 22 ,2024

US Dollar strengthens as easing Middle East tensions and strong economic data boost investor confidence, while dovish central banks and weak data weigh on the Euro.

Digital Assets

Thailand moves to block crypto websites to combat online crime

Thai authorities announced that they will block access to unauthorized cryptocurrency platforms. The decision was made after a meeting of the Technology Crime Prevention and Suppression Committee.

Tech and Fundamental, Technical Analysis

GBPUSD Technical Analysis Report 22 April, 2024

GBPUSD currency pair can be expected to fall further toward the next support level 1.2200, previous strong support from November.


TT now enables users to create synthetic multi-leg instruments

“TT Splicer combines the ease and flexibility of TT’s market-leading Autospreader with the power of our best-in-class execution algos to uniquely minimize slippage and optimize trade execution when trading synthetic multi-leg spreads.”


Imandra launches FIX Wizard: AI assistant for FIX connectivity suite

“LLMs hold tremendous promise, but ultimately cannot be trusted in regulated environments. By combining their strengths with scalable, rigorous automated reasoning, we obtain a kind of magic: conversational interfaces with correct reasoning and domain-specific skills.”


Sui Overflow Hackathon Funding Pool Balloons to $1,000,000 as New Sponsors Join

Alibaba Cloud, AngelHack and dWallet are among the latest supporters for the global event.

Institutional FX

Liquidnet launches SuperBlock Matching for equities trading

“The creation of a protected space to trade the most challenging blocks is a direct response to a request from our Membership and is an extension of our existing block trading offering, to facilitate more complex and nuanced trades.”