Cancel All Orders Under a Contract
Cancel all unfinished orders under a specific contract.
HTTP Request
- 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
Response
{
"success": true,
"code": 0
}