跳到主要内容

批量取消委托单

信息
  • 该接口需要签名,具体签名规则请参阅认证
  • 该接口会触发限频,具体规则请参阅限频

HTTP 请求

POST /spot/cancel-batch-order

请求参数

参数名是否必须类型说明
markettruestring市场名称
order_idstrue[]int订单 ID列表

请求响应

参数名类型说明
order_idint订单 ID
marketstring市场名称
market_typestring市场类型
ccystring币种名称
sidestring订单方向
typestring订单类型
amountstring委托数量
pricestring委托价格
unfilled_amountstring未成交数量
filled_amountstring已成交数量
filled_valuestring已成交价值
client_idstring客户端 ID
base_feestring收取的交易币种手续费
quote_feestring收取的报价币种手续费
discount_feestring收取的抵扣币种手续费
maker_fee_ratestringmaker 手续费费率
taker_fee_ratestringtaker 手续费费率
last_filled_amountstring最后一笔成交的数量
last_filled_pricestring最后一笔成交的价格
created_atint订单创建时间
updated_atint订单更新时间

请求示例

{
"market": "CETUSDT",
"order_ids": [13400]
}

响应示例

{
"code": 0,
"data": [
{
"code": 0,
"data": {
"order_id": 13400,
"market": " CETUSDT",
"market_type": "MARGIN",
"ccy": "CET",
"side": "buy",
"type": "limit",
"amount": "10000",
"price": "1",
"unfilled_amount": "50241.7185224371",
"filled_amount": "27564.87468358",
"filled_value": "27564.87468358",
"client_id": "client_id_1",
"base_fee": "11.6582326221",
"quote_fee": "0",
"discount_fee": "0",
"maker_fee_rate": "0",
"taker_fee_rate": "0.0003",
"last_fill_amount": "27564.87468358",
"last_fill_price": "1",
"created_at": 1691482451000,
"updated_at": 1691482451000
},
"message": "OK"
}
]
"message": "OK"
}