This endpoint allows cancelling an open order for a Futures contract.
curl --request POST \
--url https://futures.kraken.com/derivatives/api/v3/cancelorder \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"cancelStatus": {
"status": "cancelled",
"order_id": "cb4e34f6-4eb3-4d4b-9724-4c3035b99d47",
"receivedTime": "2020-07-22T13:26:20.806Z",
"orderEvents": [
{
"type": "CANCEL",
"uid": "cb4e34f6-4eb3-4d4b-9724-4c3035b99d47",
"order": {
"orderId": "cb4e34f6-4eb3-4d4b-9724-4c3035b99d47",
"cliOrdId": "1234568",
"type": "lmt",
"symbol": "PF_XBTUSD",
"side": "buy",
"quantity": 5500,
"filled": 0,
"limitPrice": 8000,
"reduceOnly": false,
"timestamp": "2020-07-22T13:25:56.366Z",
"lastUpdateTimestamp": "2020-07-22T13:25:56.366Z"
}
}
]
},
"serverTime": "2020-07-22T13:26:20.806Z"
}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 time before which the request should be processed, otherwise it is rejected.
The unique identifier of the order to be cancelled.
The client unique identifier of the order to be cancelled.
curl --request POST \
--url https://futures.kraken.com/derivatives/api/v3/cancelorder \
--header 'APIKey: <api-key>' \
--header 'Authent: <api-key>'{
"result": "success",
"cancelStatus": {
"status": "cancelled",
"order_id": "cb4e34f6-4eb3-4d4b-9724-4c3035b99d47",
"receivedTime": "2020-07-22T13:26:20.806Z",
"orderEvents": [
{
"type": "CANCEL",
"uid": "cb4e34f6-4eb3-4d4b-9724-4c3035b99d47",
"order": {
"orderId": "cb4e34f6-4eb3-4d4b-9724-4c3035b99d47",
"cliOrdId": "1234568",
"type": "lmt",
"symbol": "PF_XBTUSD",
"side": "buy",
"quantity": 5500,
"filled": 0,
"limitPrice": 8000,
"reduceOnly": false,
"timestamp": "2020-07-22T13:25:56.366Z",
"lastUpdateTimestamp": "2020-07-22T13:25:56.366Z"
}
}
]
},
"serverTime": "2020-07-22T13:26:20.806Z"
}