Documentation API
post
/api/v1/Trade/orders/cancel-allCancels all working orders on the account, optionally filtered by instrument symbol.
Trade
Paramètres
version
path · string
Requis
Corps de la demande
{
"accountId": 0,
"instrument": "string"
}Réponses
- 202Cancel-all accepted; cancelledCount is the number of cancel requests queued.application/json
{ "status": "accepted", "message": "Cancel requested for 2 working order(s).", "cancelledCount": 2 } - 400Validation failed.application/json
{ "status": "rejected", "message": "Request body is required." }