BindPositionTpSlResp
symbolstring
仓位所属市场交易对(例如 BTC-PERP)。
statusint32
止盈/止损绑定的状态码。
typeint32
止盈/止损响应条目的事件类型代码(指示其代表止盈还是止损)。
orderIdstring
所创建触发订单的服务器分配标识符。
clOrderIdstring
客户端分配的订单 ID(如请求中提供)。
triggerPricedouble
止盈或止损触发时的触发价格。
positionModestring
目标仓位的仓位模式(ONE_WAY 或 HEDGE)。
可选值: [ONE_WAY, HEDGE, ISOLATED]
positionDirectionstring
目标仓位的仓位方向(LONG 或 SHORT)。
可选值: [LONG, SHORT]
positionIdstring
触发订单所附加仓位的标识符。
timestampint64
响应的服务器时间戳,单位为自 epoch 起的毫秒数。
messagestring
描述结果的可读消息。
BindPositionTpSlResp
{
"symbol": "string",
"status": 0,
"type": 0,
"orderId": "string",
"clOrderId": "string",
"triggerPrice": 0,
"positionMode": "ONE_WAY",
"positionDirection": "LONG",
"positionId": "string",
"timestamp": 0,
"message": "string"
}