Skip to main content

Cancel All Orders Under a Contract

Response Example

{
"success": true,
"code": 0
}

Cancel all unfinished orders under a specific contract.

  • POST /api/v1/private/order/cancel_all

Required Permission: Order Placing

Request Parameters:

ParameterTypeRequiredDescription
symbolstringtrueContract; If you pass symbol, it will cancel orders under that specific contract only. If you pass an empty string "", it will cancel orders under all contracts

Response Parameters:

Common parameters, success: true success, false failure