跳到主要内容

批量撤销计划委托

限速规则: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"] }'

请求参数

参数名参数类型是否必须描述
symbolListList <String>币对集合:["BTCUSDT", "ETHUSDT"],
如不传值,会撤销所有现货计划委托单
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1683876261117,
"data": {
"successList":[{
"orderId": "121211212122",
"clientOid": "121211212122"
}],
"failureList":[{
"orderId": "121211212122",
"clientOid": "121211212122",
"errorMsg": "failure"
}]
}
}

返回参数

返回字段参数类型字段说明
successListArray成功订单数组
>orderIdString订单ID
>clientOidString客户端订单ID
failureListArray失败订单数组
>orderIdString订单ID
>clientOidString客户端订单ID
>errorMsgString错误信息