Saxo Bank OpenAPI set for identifiers’ upscaling

Maria Nikolova

The company is planning ID upscaling and correction of types for a few IDs which is set to happen on or after September 1, 2020.

Multi-asset trading and fintech expert Saxo Bank is planning to implement changes to its API.

With Saxo Bank’s rapid growth, several identifiers, including PositionIds, OrderIds, and TradeIds are approaching the number of ‘2.147.483.647’. Saxo expects this to happen between October 2020 and December 2020.

If you are storing such IDs in an integer your code may break. In many programming languages 2.147.483.647 is the maximum positive number, which can be stored in an integer. If your code is written to interpret or store such Ids as integers, there is a risk that your code will break when our ids pass that barrier.

Almost everywhere in Saxo’s API, such ids are identified as strings, and if you have also used a string representation in your code, you should not experience any problems. If on the other hand, you have converted these strings to integers in your code, you must now start to consider the impact of the ID’s passing the 2.147.483.647 number.

Also, Saxo has to actually update the type of a few infrequently used fields in its API from ‘int’ to ‘string’. When reviewing this issue, Saxo found a few API endpoints, which did not, represent these ids as strings.

Since the fields are used very infrequently, Saxo has decided to make minor breaking changes as outlined in the table below.

Let’s recall that, Saxo Bank has recently implemented changes to its OpenAPI whereby Trade Allocation Keys are no longer allowed to include a broker account.

Read this next

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.

Institutional FX

Iress’ QuantHouse adds BMLL’s historical order book data

“Across the industry, as sophistication levels increase, the demand for superior quality historical market data is intensifying. Market participants need easy access to global, ready-to-use data to improve their own products and strategies, gain a deeper understanding of liquidity dynamics, and generate alpha more predictably, without the burden of data engineering and infrastructure on their P&L.”

<