Saxo Bank rolls out new version of OpenAPI for Excel

Maria Nikolova

Version 1.3.0 introduces a couple of potentially breaking changes for users of the API.

Online trading and fintech services provider Saxo Bank has earlier this week released a new version of its OpenAPI for Excel.

Version 1.3.0 is the first major update since version 1.1.1 to introduce a couple of potentially breaking changes for users.

Trade functions are now deprecated and removed from the add-in. This important change comes on the back of developments in the market requiring applications with trade access to declare order types (manual or automated). The required changes are minor for most clients, and performance improvements can be expected when switching over from the now-deprecated trade UDFs. This change only applies to clients that use Excel to place trades.

With version 1.3.0, all UDFs in the “OpenAPI Trading” category have been removed from the add-in. To comply with requirements for algo trading tools, users on the Excel platform will have to construct orders ‘from scratch’ using the provided HTTP request functions in Excel:

  • OpenAPIPost() to create a new order, either to open a position or close an existing position.
  • OpenAPIPatch() to modify the details of an existing order.
  • OpenAPIDelete() to remove an existing order.

Except for OpenAPIDelete(), these functions require a body to be provided in the request, which contains the details of the order. This body has to be constructed separately in VBA and should include the required fields as specified by the /trade/v2/orders endpoint. The body is a string containing JSON-structured data.

The following UDFs will no longer be supported:

  • OpenAPIPlaceOrder()
  • OpenAPIEditOrder()
  • OpenAPICancelOrder()
  • OpenAPIAddRelatedOrder()
  • OpenAPIClosePosition()

Clients on earlier versions of the add-in will not directly be blocked from using these functions. It is advised to migrate timely, as new requirements for order placement will not be implemented for deprecated functions. These UDFs will stop working altogether once the requirements for order placement are enforced (planned Q3 2019).

Further, Saxo’s OpenAPI will soon be updated to require algo apps to provide an additional field in order requests indicating whether the order was generated automatically, or sent in manually by a user. The Excel add-in is classified as algo app, since it can be used to completely automate order placement through VBA.

The upcoming change, which is planned to go live during the third quarter of 2019, will block any order that does not identify its origin using the “ManualOrder” field. Orders without this field will be rejected, as it will constitute a hard requirement by the OpenAPI.

In practice, the only change required for current clients on OpenAPI for Excel will be to add the “ManualOrder” field to their order requests. Each individual order is required to have this flag set to either “true” for a manual order, or “false” for an automated order.

Read this next

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.”

blockdag

BlockDAG’s Explosive Presale Hits $20.3M In April Swaying Investors From XRP’s Price Trends Upward, & Polygon’s NFT Market

Learn about BlockDAG’s impressive $20.3M presale results, XRP’s price increase prospects, and the booming NFT market on Polygon among the top 10 cryptocurrencies.

Retail FX

Financial Commission warns of Eplanet Brokers

The Financial Commission, a self-regulatory compliance specialist for the financial services industry, is ramping up its scrutiny of unregulated brokerage firms. Today, the independent association warned against a company called Eplanet Brokers.

Retail FX

Dubai crypto exchange steps into prop trading

Dubai-based cryptocurrency trading platform, CoinW Exchange, marked its sixth anniversary by announcing a rebranding initiative and launching a proprietary trading product.

<