This endpoint provides a Dead Man’s Switch mechanism to protect the user from network malfunctions. The user can send a request with a timeout in seconds which will trigger a countdown timer that will cancel all user orders when timeout expires. The user has to keep sending request to push back the timeout expiration or they can deactivate the mechanism by specifying a timeout of zero (0).
The recommended mechanism usage is making a call every 15 to 20 seconds and provide a timeout of 60 seconds. This allows the user to keep the orders in place on a brief network failure, while keeping them safe in case of a network breakdown.
curl --request POST \
--url https://futures.kraken.com/derivatives/api/v3/cancelallordersafter \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"status": {
"currentTime": "2018-06-19T16:51:23.839Z",
"triggerTime": "2018-06-19T16:52:23.839Z"
},
"serverTime": "2018-06-19T16:51:23.839Z"
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
General API key with full access
Authentication string
The timeout specified in seconds.
60
curl --request POST \
--url https://futures.kraken.com/derivatives/api/v3/cancelallordersafter \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"status": {
"currentTime": "2018-06-19T16:51:23.839Z",
"triggerTime": "2018-06-19T16:52:23.839Z"
},
"serverTime": "2018-06-19T16:51:23.839Z"
}