Interactive Brokers API offers new shortable shares tick

Maria Nikolova

A new ShortableShares tick returns the exact number of shares available to short.

Electronic trading major Interactive Brokers Group, Inc. (NASDAQ:IBKR) continues to update 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 new release notes concerning the latest beta version of the IB API.

A new ShortableShares tick returns the exact number of shares available to short. When traders use generic tick type 236 in reqMktData to request data, the exact number of shares available to short is now returned, in addition to the previous ‘Shortable’ tick type which indicates whether there are more than or fewer than 1000 (and that is returned by itself in response to generic tick type 236 in TWS versions lower than beta 974.1).

There are a raft of other enhancements in this version of the IB API – ranging 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.

On top of that, 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.

Read this next

Fintech

TNS brings full-stack market data management to EMEA

“We are also delighted to have Ben Myers join our London-based TNS Financial Markets team as Head of Strategic Sales for EMEA, to bolster our presence in the region.”

Chainwire

Velocity Labs and Ramp Network facilitate fiat to crypto onramp on Polkadot via Asset Hub support

Velocity Labs is proud to announce a fiat to crypto onramp using Ramp Network through the integration of Asset Hub. Through it, Ramp will be able to service any parachain in the Polkadot ecosystem.

Executive Moves

INFINOX hires Mayne Ayliffe as Global Head of HR

“I look forward to working with our teams around the world to develop a strategic HR agenda that supports high performance and is centred on human motivation.”

Fintech

Sterling to provide risk and margin support for fixed income

“Firms must have the tools to effectively manage their risk across all asset classes. As yields rise, we see more exposure from clients in the fixed income space. We understand their need to measure and mitigate risk in a highly regulated environment.”

Retail FX

FXOpen launches HK share CFDs: Tencent, Alibaba, Xiaomi, Baidu

Hong Kong share CFDs will be commission-free for a limited period of time.

Retail FX

IronFX Celebrates an Award-Winning Start to 2024 with a Series of Industry Recognitions

IronFX, a global leader in online trading, has embarked on 2024 with a spectacular display of accolades that highlight its commitment to excellence and innovation in the competitive financial services sector.

Industry News

FIA urges CFTC to regulate use cases rather than AI itself

“We urge the CFTC to refrain from crafting new regulations that generally regulate AI because this approach presents certain well-known pitfalls. By approaching the issue from the perspective of AI as a technology, rather than the use case for the technology, corresponding regulations would likely necessitate a definition of AI. We anticipate that any attempt to properly define AI would be very challenging and require considerable resources.”

Education, Inside View

The Power of Public Relations in Finance: Shaping Perceptions & Building Reputation

It’s safe to say that the finance industry has faced its share of reputation crises over the years, from the 2008 financial collapse to the many scandals around irresponsible lending, political corruption, and even Ponzi schemes. 

Digital Assets

Crossover’s crypto ECN executed over $3 billion in Q1 2024

“Our growth is also driving continued increases in the percentages of trades that are ‘Order Crossing Order’ (OXO). Currently, roughly 10% of all trades executed on CROSSx are OXO, another differentiator in our platform’s capacity. This capacity and our unique execution model provide value to both the market maker and taker, as evidenced by our commercial model.”

<