- The order identifiers assigned by Kraken and/or client will stay the same.
- Queue priority in the order book will be maintained where possible.
- If an amend request will reduce the order quantity below the existing filled quantity, the remaining quantity will be cancelled.
{
"method": "amend_order",
"params": {
"asset_class": "derivatives",
"cl_ord_id": "2c6be801-1f53-4f79-a0bb-4ea1c95dfae9",
"limit_price": 490795,
"order_qty": 1.2,
"token": "PM5Qm0MDrS54l657aQAtb7AhrwN30e2LBg1nUYOd6vU"
}
}
{
"method": "amend_order",
"params": {
"asset_class": "derivatives",
"order_id": "e66851e7-8721-50ed-bf43-5e6a2ddff423",
"limit_price": 61031.3,
"deadline": "2024-07-21T09:53:59.050Z",
"post_only": true,
"token": "DGB00LiKlPlLI/amQaSKUUr8niqXDb+1zwvtjp34nzk"
}
}
{
"method": "amend_order",
"result": {
"amend_id": "",
"cl_ord_id": "2c6be801-1f53-4f79-a0bb-4ea1c95dfae9"
},
"success": true,
"time_in": "2024-07-26T13:39:04.922699Z",
"time_out": "2024-07-26T13:39:04.924912Z"
}
Trading
Amend Order
Amend the parameters of a live order in-place
{
"method": "amend_order",
"params": {
"asset_class": "derivatives",
"cl_ord_id": "2c6be801-1f53-4f79-a0bb-4ea1c95dfae9",
"limit_price": 490795,
"order_qty": 1.2,
"token": "PM5Qm0MDrS54l657aQAtb7AhrwN30e2LBg1nUYOd6vU"
}
}
{
"method": "amend_order",
"params": {
"asset_class": "derivatives",
"order_id": "e66851e7-8721-50ed-bf43-5e6a2ddff423",
"limit_price": 61031.3,
"deadline": "2024-07-21T09:53:59.050Z",
"post_only": true,
"token": "DGB00LiKlPlLI/amQaSKUUr8niqXDb+1zwvtjp34nzk"
}
}
{
"method": "amend_order",
"result": {
"amend_id": "",
"cl_ord_id": "2c6be801-1f53-4f79-a0bb-4ea1c95dfae9"
},
"success": true,
"time_in": "2024-07-26T13:39:04.922699Z",
"time_out": "2024-07-26T13:39:04.924912Z"
}
The amend request enables clients to modify the order parameters in-place without the need to cancel the existing order and create a new one. Amend is supported for both spot and futures (derivatives) orders.
Was this page helpful?