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

Retail FX

CySEC hits FXORO parent with €360,000 fine

The Cyprus Securities and Exchange Commission (CySEC) has fined MCA Intelifunds, trading as FXORO, a total of €360,000 for multiple violations of the Cypriot investment laws.  

Digital Assets

Binance’s CZ in good mood ahead of sentencing, says partner

Yi He, co-founder of cryptocurrency giant Binance, has shared a positive outlook on the legal situation of the exchange’s former CEO, Changpeng Zhao. Zhao is currently awaiting a sentencing hearing scheduled for April 30 in the United States.

Fundamental Analysis, Tech and Fundamental

Global FX Market Summary: USD, FED, Middle East Tensions April 17 ,2024

The Federal Reserve walks a delicate line, addressing high inflation through a hawkish stance while avoiding stifling economic growth.

blockdag

‘Kaspa Killer’ BlockDAG Goes To The Moon With $18.5M Presale, Draws Attention from AVAX and Kaspa Investors

Discover how ‘Kaspa Killer’ BlockDAG’s $18.5M presale and 400% surge positions it as the fastest-growing crypto, amidst AVAX’s anticipated market rally and Kaspa’s performance gains.

Tech and Fundamental, Technical Analysis

Bitcoin Technical Analysis Report 19 April, 2024

Bitcoin cryptocurrency can be expected to rise further toward the next resistance level 67000.00, top of the previous minor correction ii.

Digital Assets

Crypto.com denies setback in South Korean market entry

Crypto.com has refuted reports from South Korean media that suggested a regulatory hurdle might delay its expansion in South Korea.

Digital Assets

Tether expands USDT and XAUT offerings on Telegram

Tether’s stablecoin USDT, which boasts a market cap of $108 billion, has expanded its presence onto The Open Network (TON), a blockchain closely linked to the Telegram messaging app.

Digital Assets

Embrace the New Era: USDt on TON Revolutionizes Peer-to-Peer Payments

The integration of USDt, the world’s largest stablecoin by market capitalization, onto The Open Network (TON) marks an advancement in the realm of digital finance.

Education, Inside View

Charting the Course: Expert Analysis on GBP/USD Signal

The GBP/USD is one of the highly regarded currency pairs in the world of Forex trading, known for being liquid, volatile, and having narrow spreads. Traders Union’s analysis combines the latest economic data, market news, and technical indicators, giving all the insights needed to make informed decisions about trading pounds and dollars.

<