Cancel all active orders
Cancel all active orders with best effort. In-memory operations. You can optionally specify the product to cancel only orders for that product.
Only cancels orders that are currently active (open, pending, partially filled).
Requires authentication.
NOVA-KEY<token>
In: header
NOVA-SECRET<token>
In: header
Query Parameters
product_id?string
Optional product ID to cancel orders for. If not specified, all orders across all products will be canceled.
Response Body
application/json
application/json
curl -X DELETE "https://api.moonbase.vn/api/v1/orders/active/all"{
"cancel_requested_orders": [
{
"order_id": "string",
"client_order_id": "string"
}
]
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}