Endpoint Parameters

  • Request parameters

    Name Type Origin Description
    AppHint Int Body Optional informational id, which will be added to the order for statistics purposes. Only relevant for Saxo applications
    BuySell BuySell Body The direction of the trade: buy or sell
    ContextId String Body The streaming contextId of the Price Session providing the tradable quotes.
    ExerciseMethod ExerciseMethod Body Defines how to settle options.
    PriceReferenceId String Body The referenceId of the Price Session from where you got the price.
    QuoteId String Body Unique id of the quote.
    TradeIdeaId Int Body Optional. The id of the trade idea leading to the trade.
    UserPrice Decimal Body Quote Price. This is the last price that has been received by the application for the user.
  • Response Parameters

    View Response Codes
    Name Type Description
    ErrorInfo ErrorResponse Gets or sets the error information.
    PositionId String Id of newly created position
  • Request Example

    Request URL
    POST trade/v1/positions
    Request Body
      "AppHint": 12,
      "BuySell": "Buy",
      "PriceReferenceId": "P72259",
      "QuoteId": "1232145",
      "UserPrice": 234.1
  • Response Example

    Response body
      "PositionId": "1019942426"