跳到主要内容

获取计划委托触发条件单

限速规则 20次/1s (UID)

描述

获取计划委托触发条件单(计划委托触发后执行的现货订单)

HTTP请求

  • GET /api/v2/spot/trade/plan-sub-order
请求示例
curl "https://api.bitget.com/api/v2/spot/trade/plan-sub-order?planOrderId=xxxxxxxxxxxxxxxxxx" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
planOrderIdString计划委托订单ID
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1710813939206,
"data": [
{
"orderId": "xxxxxxxxxxxxx",
"price": "0.4188",
"type": "limit",
"status": "success"
}
]
}

返回参数

返回字段参数类型字段说明
orderIdString现货订单ID
priceString委托价格
typeString订单类型
limit限价
market市价
statusString计划委托单触发状态
success: 执行成功
fail: 执行失败
cancelled: 取消
in_progress: 下单中
in_progress_tracking: 执行追踪中