Interactive Brokers updates IB API software

Maria Nikolova

The IB API now provides aggregated depth of market (DOM) quotes from the level 1 and level 2 feeds to which a user has subscribed.

It has been a while since electronic trading major Interactive Brokers Group, Inc. (NASDAQ:IBKR) updated the IB API Software – its proprietary Application Program Interface (API) that can be used by users to build their own automated rules-based trading application in their favorite programming language or protocol. The broker has just posted some release notes concerning the latest beta version of the IB API.

The enhancements range from Smart Depth to generic filters in the API scanner.

Regarding Smart Depth, let’s note that the API now provides aggregated depth of market (DOM) quotes from the level 1 and level 2 feeds to which a user has subscribed, instead of requiring the API client to make reqMktDepth requests to each exchange individually. This is requested by setting the new parameter isSmartDepth in reqMktDepth to True.

In addition, the functions reqPositionsMulti and reqAccountUpdatesMulti will no longer accept an “account” parameter set as the empty string with Financial Advisor accounts, in order to prevent possible confusion. To request data from ‘all’ sub-accounts, the account parameter must be defined as “All”.

API messages sent at a higher rate than 50/second can now be paced by TWS at the 50/second rate instead of potentially causing a disconnection. This is now done automatically by the RTD Server API and can be done with other API technologies by invoking SetConnectOptions(“+PACEAPI”) prior to eConnect.

Furthermore, Generic filters (which are not fields in the ScannerSubscription class) are now available to use with the API scanner. The new filters can be found from the API reqScannerParameters function and are added through an additional parameter in reqScannerSubscription. This function requires TWS version 973 or higher.

The broker notes that the ActiveX Excel sample spreadsheet will soon be provided as class (.cls) files to improve versioning and merging into Github. To provide updates to the ActiveX sample spreadsheet, the provided decompile.vbs script should be used to update the spreadsheet decompiled vbproject files, and these files should then be committed in addition to TwsActiveX.xls. (not yet merged).

Let’s note that the latest production release of the IB API came with a number of enhancements. Among these were ones targeted at EEA investment firms required to comply with MiFIR reporting, and who have opted in to Enriched and Delegated Transaction Reporting. The IB API team has added four new order attributes to the Order class, and several new presets to TWS and IB Gateway Global Configuration.

Read this next

Industry News

Did the SEC lie about DEBT Box’s alleged $50 million crypto scam?

The SEC has a two-week period to respond to the judge’s concerns about their factual and contextual accuracy in their allegations against Debt Box.

Inside View

Industry Leaders Share Insights on Framing Crypto Payments into FX Brokerage Business

While the allure of crypto payments is strong, caution is essential. The potential benefits in terms of speed, lower fees, and blockchain efficiency need to be weighed against the risks associated with cryptocurrency volatility. 

Institutional FX

FXSpotStream volumes hit 14-month high in November

FXSpotStream’s trading venue, the aggregator service of LiquidityMatch LLC, reported its operational metrics for November 2023, which moved higher on a monthly basis.

Digital Assets

Circle denies ties with Palestinian groups, TRON founder

Stablecoin issuer Circle has denied allegations that it facilitates funding for terrorist organizations.

Retail FX

CySEC hits operator of Titanedge, TradeEU with €90,000 fine

The Cyprus Securities and Exchange Commission (CySEC) announced that it has imposed a fine of €90,000 on Titanedge Securities Ltd due to shortcomings in their regulatory obligations.

Institutional FX

Cboe FX volumes retreats slightly in November 2023

Cboe’s institutional spot FX platform today announced its trading volume for the month ending November 2023, which took a step back after a strong rebound in October.

Institutional FX

Alpha Group seals Cobase majority acquisition

Foreign exchange service provider Alpha Group International plc (AIM: ALPH) has finalized its acquisition of Financial Transaction Services, operating as Cobase.

Digital Assets

TMNG Tokens Successfully Listed on MEXC Crypto Exchange

TMN Global proudly announces the successful listing of its native TMNG token on the MEXC crypto exchange, effective December 1st, 2023. This strategic partnership marks a significant milestone for TMN Global in the crypto space.

Institutional FX

Marex completes acquisition of TD Cowen’s PB business

London-headquartered commodities broker Marex has completed the acquisition of TD Cowen’s prime brokerage and outsourced trading business, which will be integrated into Marex’s capital market division. This division was established following the acquisition of ED&F Man Capital Markets in 2022.

<