Cancel All Active Orders
POSThttps://api.gemini.com/v1/order/cancel/all
This will cancel all outstanding orders created by all sessions owned by this account, including interactive orders placed through the UI.
Note
Note that this cancels orders that were not placed using this API key. Enabled for perpetuals accounts from July 10th, 0100hrs ET onwards. Typically Cancel All Session Orders is preferable, so that only orders related to the current connected session are cancelled.
POST
curl --request POST \
--url https://api.gemini.com/v1/order/cancel/all \
--header 'Content-Type: application/json' \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>' \
--data '
{
"request": "/v1/order/cancel/all",
"nonce": "<nonce>"
}
'Roles
The API key you use to access this endpoint must have the Trader role assigned. See Roles for more information.
The OAuth scope must have orders:create assigned to access this endpoint. See OAuth Scopes for more information.
Headers
Request Body
Responses
JSON response
Last modified on