Cancel multiple active orders
Bulk cancel active orders using one of {product_ids}, {order_ids}, or {client_order_ids}. In-memory operations.
Only cancels orders that are currently active (open, pending, partially filled).
Requires authentication.
NOVA-KEY<token>
In: header
NOVA-SECRET<token>
In: header
product_ids?array<string>
Product IDs to be canceled.
order_ids?array<string>
Order IDs to be canceled. Maximum 100 items.
client_order_ids?array<string>
Client order IDs to be canceled. Maximum 100 items.
Response Body
application/json
application/json
curl -X DELETE "https://api.moonbase.vn/api/v1/orders/active" \ -H "Content-Type: application/json" \ -d '{}'{
"cancel_requested_orders": [
{
"id": "string",
"client_order_id": "string"
}
],
"not_opened_orders": [
{
"id": "string",
"client_order_id": "string"
}
],
"already_cancel_requested_orders": [
{
"id": "string",
"client_order_id": "string"
}
]
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}