跳到主要內容

大量取消委託單

資訊
  • 此介面需要簽名,具體簽名規則請參閱認證
  • 此介面會觸發限頻,具體規則請參閱限頻

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"
}