BindPositionTpSlReq
Market symbol of the position to attach TP/SL to (e.g. BTC-PERP).
Side of the closing trigger order; the opposite of the position direction (SELL for LONG, BUY for SHORT).
Possible values: [BUY, SELL]
Position mode of the target position (ONE_WAY or HEDGE). Required in hedge mode to disambiguate.
Possible values: [ONE_WAY, HEDGE, ISOLATED]
Identifier of the position to attach TP/SL to.
Reference price type used to evaluate the take-profit trigger (INDEX_PRICE, LAST_PRICE, or MARK_PRICE).
Possible values: [INDEX_PRICE, LAST_PRICE, MARK_PRICE]
Take-profit trigger price. Required if stopLossTriggerPrice is not provided.
Reference price type used to evaluate the stop-loss trigger (INDEX_PRICE, LAST_PRICE, or MARK_PRICE).
Possible values: [INDEX_PRICE, LAST_PRICE, MARK_PRICE]
Stop-loss trigger price. Required if takeProfitTriggerPrice is not provided.
{
"symbol": "string",
"orderSide": "BUY",
"positionMode": "ONE_WAY",
"positionId": "string",
"takeProfitTriggerType": "INDEX_PRICE",
"takeProfitTriggerPrice": 0,
"stopLossTriggerType": "INDEX_PRICE",
"stopLossTriggerPrice": 0
}