根据外部订单号列表批量撤销订单
响应示例
{
"success":true,
"code":0,
"data":[
{
"orderId":101716841474621953,
"errorCode":2040,
"errorMsg":"order not exist"
},
{
"orderId":108885377779302912,
"errorCode":2041,
"errorMsg":"order state cannot be cancelled"
},
{
"orderId":108886241042563584,
"errorCode":0,
"errorMsg":"success"
}
]
}
- POST
/api/v1/private/order/batch_cancel_with_external
需要权限: 交易下单
请求参数:
list集合;例:[{"symbol":"BTC_USDT", "externalOid":"ext_11"}]
| 参数名 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| symbol | string | true | 交易对 |
| externalOid | string | true | 外部订单号 |
响应参数:
| 参数名 | 类型 | 说明 |
|---|---|---|
| orderId | long | 订单ID号 |
| errorCode | int | 错误编码 |
| errorMsg | string | 错误原因 |