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


XCritical integrates with Brokeree Solutions, allowing its clients to launch copy trading 

The forex software provider – XCritical, has integrated Social Trading by Brokeree Solutions into their CRM system.

Industry News

HKEX partners with Saudi exchange for cross listings, ESG, Fintech

“The Kingdom of Saudi Arabia, and the broader Middle Eastern region, are one of the world’s most dynamic and exciting economic and innovation hubs and also home to some of the fastest growing investor groups in the world. Hong Kong and HKEX’s markets offer significant opportunities for international investors and corporates, including unrivalled connectivity to the Mainland Chinese markets through our unique Connect programmes. This agreement signals the beginning of even greater collaboration between our companies and our home markets, and we look forward to exploring many future areas of cooperation.”

Executive Moves

CMC Markets Connect relocates APAC team led by Peter Foster to Singapore

“Singapore is a vibrant city and is now undoubtedly seen as Asia’s leading financial hub. The decision to bolster the CMC Markets Connect team here will help us cement the company’s position as a leading provider of multi asset liquidity and comprehensive trading solutions across the region.”

Retail FX

Italian watchdog red flags Olympus Brokers, UnicoFX and Allfina Group

Italy’s Commissione Nazionale per le Società e la Borsa (CONSOB) has shut down new websites in an ongoing clampdown against firms it accuses of illegally promoting investment products in the country.

Retail FX

XTB revenues hits zł1.45 billion in 2022, Q4 earnings disappoint

Poland-based Forex and CFDs broker, XTB has reported its final results for Q4 of 2022 and the full fiscal year ending on December 31, 2022, showing one of its most successful corporate years.

Executive Moves

Lirunex Limited recruits Waleed Salah as head of MENA sales

Maldives-based brokerage firm Lirunex Limited has secured the services of Waleed Salah, who joined the company in the role of its head of sales for the MENA region.

Executive Moves

Trading 212 parts ways with co-founder Borislav Nedialkov

Trading 212 has a void to fill at its FCA-regulated business in London, following the departure of two key players, Raj Somal and Borislav Nedialkov.

Digital Assets

Binance acquires troubled crypto exchange GOPAX

Binance, the world’s largest digital asset trading platform, has reportedly acquired a majority stake in the troubled South Korea-based cryptocurrency exchange GOPAX.

Digital Assets

Kraken exits Middle East, closes UAE office

Digital currency exchange Kraken will close down its operations in Abu Dhabi, UAE and lay off the majority of its team focused on the Middle East and North Africa.