Endpoint Parameters

  • Request parameters

    Name Type Origin Description
    AccountKey AccountKey Body Unique key identifying the account to place the order on.
    ExternalReference String Body Optional reference from the client app, to correlate orders with Saxo Bank issues order IDs. Maximum length: 50 characters. The order will be rejected if the reference is too long. This reference doesn’t have to be unique.
    Legs OrderLeg [] Body List of orders in the batch that are to be filled symmetrically.
    ManualOrder Boolean Body Optional indicator for whether order is placed automatically or manually.
    OrderDuration OrderDuration Body The Order Duration.
    OrderPrice Number Body Order Price. Optional for market orders.
    OrderType PlaceableOrderType Body Order type.
    TraderId String Body Trader Id, Used only if the application is configured for supporting it with length of 2-16 chars.
  • Response Parameters

    View Response Codes
    Name Type Description
    ErrorInfo StringErrorResponse Contains error info when request failed.
    ExternalReference String Optional reference supplied when placing the order. Max. 50 characters.
    OrderId String Id of order. No value provided if request failed.
    Orders RelatedOrOcoOrder [] List of resulting orders.
    PreTradeDisclaimers PreTradeDisclaimers Represent pre trades disclaimers not accepted by user.
  • Request Example

    Request URL
    POST /trade/v2/orders/multileg
    Request Body
      "AccountKey": "01b64edf-da03-4145-bf33-ae21527d4c86",
      "OrderPrice": 10,
      "OrderType": "TrailingStop",
      "OrderDuration": {
        "DurationType": "GoodTillDate",
        "ExpirationDateTime": "2024-04-27T14:00:00Z",
        "ExpirationDateContainsTime": true
      "ManualOrder": false,
      "TraderId": "stringValue",
      "Legs": [
          "Uic": 99,
          "Amount": 10,
          "BuySell": "Sell",
          "AssetType": "MutualFund",
          "ToOpenClose": "ToOpen"
      "ExternalReference": "stringValue"
  • Response Example

    Response body
      "OrderId": "67762872",
      "Orders": [
          "OrderId": "67762872"