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

Retail FX

Prop firm The Funded Trader shuts down, claims relaunch in April

Prop trading firm The Funded Trader has ceased all operations, with claims for a relaunch in the near future.

Digital Assets

Ethereum-Based Tokenized Real Estate Platform USP Launches On Republic

How This Californian Startup Is Revolutionizing Real Estate Investment through Ethereum-Based Tokenization.

Digital Assets

Sui Spikes in Weekly DEX Volume, Joins Top 10 of All Blockchains

March DEX volume on Sui stands at over $2.88B – up more than 49% from February – with decentralized exchange Cetus and wholesale liquidity layer DeepBook leading.

Digital Assets

Prisma Finance suffers $10 million crypto exploit, attack ongoing

Liquid staking protocol Prisma Finance fell victim to a security exploit on March 28, resulting in nearly $10 million in Prisma mkUSD and wrapped stETH being stolen by hackers.

Digital Assets

Masa and LayerZero: Bridging Blockchains for Data Sovereignty

Masa Network is poised to revolutionize the personal data landscape with its upcoming launch as a cross-chain platform, making it accessible on a variety of blockchains right from the start.

Digital Assets

Big Time Generates over $100M in Revenue since Preseason

Innovative game developer Big Time Studios announces that its highly anticipated free-to-play multiplayer action/MMO RPG Big Time, has generated $100M in revenue. According to the team, players transacted a total volume of over $230M, without selling a single token.

Digital Assets

Centralized exchanges are 10 times more popular than DEXs in Western Europe

Western European traders are found to prefer centralized exchanges over decentralized ones as CEX traffic outpaces DEXs by a factor of ten.

Market News

Stock Market Analysis: Is NVDA Losing Its Leadership?

Since the beginning of the week, the S&P 500 Index (US500) has seen a modest increase of about 0.58%, whereas NVDA’s share price has experienced a decline of approximately 3.8%. This recent divergence raises concerns among Nvidia stock investors — could it signify a loss of NVDA’s market leadership?

Industry News

ESG: Australian regulator wins first greenwashing court case against Vanguard

Vanguard admitted that a notable portion of the securities within both the Index and the Fund did not undergo the promised ESG scrutiny.

<