The trade service group bundles functionality, which is most often relevant for trading. This includes pricing, order placement and getting notifications about trade activity as well as margin status.
OpenAPI provides three different price resources: Under Prices are grouped together functionality for streaming prices used for trading. An alternative is InfoPrices which are more lightweight and provides slightly less data. InfoPrices are useful for when you have a need for a price snapshot and not a stream of update and is generally recommended for non-trading data. For option trading OpenAPI provides a custom price feed to handle streaming bulk prices to be used for displaying an Options Chain.
|Trade Tickets, to be displayed individually or on a trade board.
Quote (w/o QuoteId)
Information for a single instrument
Quote (with QuoteId)
A scrollable array with expiry/strikes for an option
OptionSide: Put/Call for all options
OptionSide: FxBinary additional info for FxOptions
Orders & Positions
An application may place orders (by posting to the /orders endpoint)
The orders endpoint also supports the ability to amend existing orders, add related orders and cancel orders.
At the time of this writing Saxo Bank supports two orders endpoints:
- V1: The original orders endpoint (undocumented)
- V2: The current orders endpoints, which includes support for OCO orders and a better syntax for placing or amending multiple related orders
The messages endpoint provides access to the messages, which are shown to the user, within SaxoTrader GO. This includes trade confirmations, margin calls, price alerts etc. An application can mark messages as having been "seen" by the user.
Exercising Contract Options
For positions in contract options (StockIndexOption, StockOption and FuturesOption) OpenAPI supports exercising an amount of those held: