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:
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | true | Contract; 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