批量撤销计划委托
限速规则:5次/秒/UID
描述
批量撤销计划委托
HTTP请求
- POST /api/v2/spot/trade/batch-cancel-plan-order
请求示例
curl -X POST "https://api.bitget.com/api/v2/spot/trade/batch-cancel-plan-order" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{ "symbolList": ["BTCUSDT", "ETHUSDT"] }'
请求参数
参数名 | 参数类型 | 是否必须 | 描述 |
---|---|---|---|
symbolList | List <String> | 否 | 币对集合:["BTCUSDT", "ETHUSDT"], 如不传值,会撤销所有现货计划委托单 |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1683876261117,
"data": {
"successList":[{
"orderId": "121211212122",
"clientOid": "121211212122"
}],
"failureList":[{
"orderId": "121211212122",
"clientOid": "121211212122",
"errorMsg": "failure"
}]
}
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
successList | Array | 成功订单数组 |
>orderId | String | 订单ID |
>clientOid | String | 客户端订单ID |
failureList | Array | 失败订单数组 |
>orderId | String | 订单ID |
>clientOid | String | 客户端订单ID |
>errorMsg | String | 错误信息 |