Endpoint Parameters

  • Request parameters

    Name Type Origin Description
    AccountKey AccountKey Query-String Unique key identifying the account used in retrieving the price. Only required when calling context represents an authenticated user.
    OptionRootId Integer Query-String Id of the contract option root.
    OptionsStrategyType OptionsStrategyType Query-String The to get.
  • Response Parameters

    View Response Codes
    Name Type Description
    Legs MultiLegOrderLeg [] List of suggested order legs for this option root and strategy.
    StrategyType OptionsStrategyType String identification
  • Request Example

    Request URL
    GET /trade/v2/orders/multileg/defaults?AccountKey=01b64edf-da03-4145-bf33-ae21527d4c86&OptionRootId=99&OptionsStrategyType=Vertical
  • Response Example

    Response body
      "StrategyType": "Diagonal",
      "Legs": [
          "Uic": 99,
          "AssetType": "CfdOnEtc",
          "BuySell": "Buy",
          "Amount": 10,
          "OptionData": {
            "PutCall": "None",
            "StrikePrice": 10,
            "ExpiryDate": "2025-04-30T18:10:02.19883Z"