Skip to main content

Cancel All Orders

  • POST /capi/v2/order/cancelAllOrders

Weight(IP): 40, Weight(UID): 50

Request parameters

ParameterTypeRequired?Description
symbolStringNoTrading pair. If not provided, orders for all trading pairs will be cancelled
cancelOrderTypeStringYesOrder type to cancel:
normal: Cancel normal orders
plan: Cancel trigger/plan orders

Request example

Response parameters

ParameterTypeDescription
orderIdLongOrder ID
successBooleanWhether the order was cancelled successfully

Response example

[
{
"orderId": 696026685023191898,
"success": true
}
]