Skip to main content

BindPositionTpSlResp

symbolstring

Market symbol of the position (e.g. BTC-PERP).

statusint32

Status code of the TP/SL binding.

typeint32

Event type code of the TP/SL response entry (indicates whether it represents take-profit or stop-loss).

orderIdstring

Server-assigned identifier of the created trigger order.

clOrderIdstring

Client-assigned order id, if provided in the request.

triggerPricedouble

Trigger price at which the take-profit or stop-loss will fire.

positionModestring

Position mode of the target position (ONE_WAY or HEDGE).

Possible values: [ONE_WAY, HEDGE, ISOLATED]

positionDirectionstring

Position direction of the target position (LONG or SHORT).

Possible values: [LONG, SHORT]

positionIdstring

Identifier of the position the trigger is attached to.

timestampint64

Server timestamp of the response, in milliseconds since epoch.

messagestring

Human-readable message describing the result.

BindPositionTpSlResp
{
"symbol": "string",
"status": 0,
"type": 0,
"orderId": "string",
"clOrderId": "string",
"triggerPrice": 0,
"positionMode": "ONE_WAY",
"positionDirection": "LONG",
"positionId": "string",
"timestamp": 0,
"message": "string"
}