Trailing
Trailing stop order that follows the market by a fixed distance and triggers when the reference price retraces beyond that distance from the best reached level.
Trailing stop order that follows the market by a fixed distance and triggers when the reference price retraces beyond that distance from the best reached level.
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_WAYIf true, the order can only reduce an existing position and cannot open or increase one.
Trailing distance the stop price maintains from the best reached reference price.
How trailValue is interpreted (absolute price offset or percentage).
Possible values: [DISTANCE, PERCENTAGE]
Reference price type used to evaluate the trailing trigger.
Possible values: [INDEX_PRICE, LAST_PRICE, MARK_PRICE]
Optional price at which the trailing logic starts. Trailing is inactive until this price is reached.
Reference price type used to evaluate the activation price.
Possible values: [INDEX_PRICE, LAST_PRICE, MARK_PRICE]
{
"orderType": "LIMIT",
"clOrderId": "string",
"symbol": "string",
"orderSide": "BUY",
"orderSize": 0,
"positionMode": "ONE_WAY",
"reduceOnly": true,
"trailValue": 0,
"trailValueType": "DISTANCE",
"trailTriggerPriceType": "INDEX_PRICE",
"activationTriggerPrice": 0,
"activationTriggerType": "INDEX_PRICE"
}