Orderbook
private/cancel_all
Changed onCancels every open order on the given subaccount. Optional cancel_trigger_orders and cancel_algo_orders flags additionally clear the subaccount's trigger and algo orders in the same call. Requires any trade scope; returns "ok" on success.
post/private/cancel_all
Request
- Base URLhttps://api.derive.xyz/v3
- AuthAPI key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature
Request body
Cancel All Request required
cancel_algo_orders, boolean nullable
cancel_trigger_orders, boolean nullable
subaccount_id, integer required
Response
Success
'ok' required
The literal string "ok" returned on success.
Changes
- info
the endpoint scheme security
DeriveWallet AND DeriveTimestamp AND DeriveSignaturewas added to the API - info
added the media type
application/jsonfor the response with the status
- info