Skip to main content

Batch Cancel Stop Orders

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.

HTTP request

POST /spot/cancel-batch-stop-order

Request parameters

Parameter NameRequiredTypeNotes
markettruestringMarket name
stop_idstrue[]intStop order ID list

Return parameters

Parameter NameTypeNotes
stop_idintStop order ID
marketstringMarket name
market_typestringMarket Type
ccystringCurrency name
sidestringOrder side
typestringOrder type
amountstringOrder amount
pricestringOrder price
trigger_pricestringStop order trigger price
trigger_directionstringStop order trigger direction
trigger_price_typestringTrigger price type, latest_price or mark_price or index_price
client_idstringClient ID
created_atintOrder creation time
updated_atintOrder update time

Request example

{
"market": "CETUSDT",
"stop_ids": [287330817]
}

Response example

{
"code": 0,
"data": [
{
"code": 0,
"data": {
"stop_id": 13400,
"market": " CETUSDT",
"market_type": "MARGIN",
"ccy": "CET",
"side": "buy",
"type": "limit",
"amount": "10000",
"price": "1",
"trigger_price": "1.1",
"trigger_direction": "higher",
"trigger_price_type": "index_price",
"client_id": "client_id_1",
"created_at": 1691482451000,
"updated_at": 1691482451000
},
"message": "OK"
}
]
"message": "OK"
}