Skip to main content
{
  "method": "edit_order",
  "params": {
    "order_id": "ORDERX-IDXXX-XXXXX1",
    "order_qty": 0.2123456789,
    "symbol": "BTC/USD",
    "token": "TxxxxxxxxxOxxxxxxxxxxKxxxxxxxExxxxxxxxN"
  },
  "req_id": 1234567890
}

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.com/v2edit_order
Sends a request to edit the order parameters of a live order. When an order has been successfully modified, the original order will be cancelled and a new order will be created with the adjusted parameters a new order_id will be returned in the response.
The new amend_order endpoint resolves the caveats listed below and has additional performance gains.There are a number of caveats for edit_order:
  • triggered stop loss or profit take profit orders are not supported.
  • orders with conditional close terms attached are not supported.
  • orders where the executed volume is greater than the newly supplied volume will be rejected.
  • cl_ord_id is not supported.
  • existing executions will are associated with the original order and not copied to the amended order.
  • queue position will not be maintained.
method
string
required
Value: edit_order
params
object
req_id
integer
Optional client originated request identifier sent as acknowledgment in the response.