Skip to main content

Operation Type (for Signing)

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredUser’s wallet address42trU9A5…
“signature”stringrequiredCryptographic signature5j1Vy9Uq…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”symbol”stringrequiredTrading pair symbolBTC
”price”stringrequiredOrder price50000
”amount”stringoptionalOrder amount. If omitted, the existing order’s remaining amount is kept0.1
”order_id”integerrequired
(if no CLOID)
Exchange assigned order ID123456789
”client_order_id”Full UUID stringrequired
(if no OID)
Client-defined order IDf47ac10b-58cc-4372-a567-0e02b2c3d479
”agent_wallet”stringoptionalAgent wallet address69trU9A5…
“expiry_window”integeroptionalSignature expiry in milliseconds30000
Note: You must provide either order_id OR client_order_id but not both.

Response

  • Status 200: Order created successfully
  • Status 400: Bad request
  • Status 500: Internal server error

Code Example (Python)

Notes: Editing an order cancels the original and creates a new one. The new order maintains the same side, reduce-only status, and client_order_id (if provided), is created with TIF = ALO (Post Only), and receives a new system-assigned order_id. Edit order is not subject to the taker speedbump.