OcO
OCO (One-Cancels-the-Other) order pairing a take-profit and a stop-loss leg; when either leg triggers, the other is automatically cancelled.
OCO (One-Cancels-the-Other) order pairing a take-profit and a stop-loss leg; when either leg triggers, the other is automatically cancelled.
Possible values: []
Client-assigned order identifier for tracking and idempotency.
Trading pair symbol.
Order side: BUY or SELL.
Possible values: [BUY, SELL]
Order size in number of contracts.
Position mode this order applies to (one-way or hedge).
Possible values: [ONE_WAY, HEDGE, ISOLATED]
ONE_WAYTime-in-force policy applied to each leg once triggered.
Possible values: [FOK, GTC, IOC, HALFSEC, HALFMIN, FIVEMIN, HOUR, TWELVEHOUR, DAY, WEEK, MONTH]
GTCIf true, both legs can only reduce an existing position.
If true, each leg is rejected if it would take liquidity, ensuring maker-only execution.
Limit price of the take-profit leg.
Limit price of the stop-loss leg once triggered.
Price at which the stop-loss leg is triggered.
Reference price type used to evaluate the stop-loss trigger.
Possible values: [INDEX_PRICE, LAST_PRICE, MARK_PRICE]
MARK_PRICE{
"orderType": "LIMIT",
"clOrderId": "string",
"symbol": "string",
"orderSide": "BUY",
"orderSize": 0,
"positionMode": "ONE_WAY",
"timeInForce": "GTC",
"reduceOnly": true,
"postOnly": true,
"takeProfitOrderPrice": 0,
"stopLossOrderPrice": 0,
"stopLossTriggerPrice": 0,
"stopLossTriggerType": "MARK_PRICE"
}