Skip to main content
{
    "event": "cancelAllOrdersAfter",
    "reqid": 1608543428050,
    "timeout": 60,
    "token": "0000000000000000000000000000000000000000"
}

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.

WSSws-auth.kraken.comcancelAllOrdersAfter
cancelAllOrdersAfter provides a “Dead Man’s Switch” mechanism to protect the client from network malfunction, extreme latency or unexpected matching engine downtime. The client can send a request with a timeout (in seconds), that will start a countdown timer which will cancel all client orders when the timer expires. The recommended use is to make a call every 15 to 30 seconds, providing a timeout of 60 seconds.
event
string
required
Value: cancelAllOrdersAfter
timeout
integer
required
Timeout specified in seconds. 0 to disable the timer.
reqid
integer
Optional client originated request identifier sent as acknowledgment in the response.
token
string
required
Session token from the GetWebSocketsToken REST endpoint.