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 CodesName 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
{ "Legs": [ { "Amount": 10, "AssetType": "ManagedFund", "BuySell": "Buy", "OptionData": { "ExpiryDate": "2026-07-06T22:27:54.148666Z", "PutCall": "Put", "StrikePrice": 10 }, "Uic": 99 } ], "StrategyType": "Diagonal" }