Cancel an order and create a new order of the same market, same order side (Bid/Ask)
Request Parameters
Name | 설명 | 타입 |
---|---|---|
prev_order_uuid* | UUID of order to cancel | String |
prev_order_identifier* | User custom value for order to cancel Either | String |
new_ord_type * | New order method
| String |
new_volume * | Order Volume (Required when selling at the limit price or market price) Please set this field to
| NumberString or |
new_price * | Order Price. Required when selling at the limit price or market price | NumberString |
new_identifier | User custom value for new order (Optional) | String (Uniq Value) |
new_time_in_force | ioc, fok order settings for new order
| String |
*Required
*Required under specific conditions
This API only supports the
application/json
Content-Type format. Other formats like query parameters or form-data are not supported.
new_identifier
andprev_order_identifier
must be different.The
identifier
is a user-defined key that must be unique. It is not the system-generated UUID.If an error occurs, do not retry the same identifier—always generate a new one for each request.
Response
Field Name | Description | Type |
---|---|---|
uuid | Unique Order ID for the order to be canceled | String |
side | Order Type for the order to be canceled | String |
ord_type | Order Method for the order to be canceled | String |
price | Currency Price at the Time of Order | NumberString |
state | Order Status | String |
market | Market Unique Key | String |
created_at | Order Generation Time | String |
volume | User Input Order Volume | NumberString |
remaining_volume | Remaining Volume after Trade | NumberString |
reserved_fee | Reserved Fees | NumberString |
remaining_fee | Remaining Fees | NumberString |
paid_fee | Used Fees | NumberString |
locked | Ratio being used in Transactions | NumberString |
executed_volume | Executed Order Volume | NumberString |
trades_count | The number of Transactions in the order | Integer |
time_in_force | ioc, fok settings | String |
identifier | User customized order ID for the order to be canceled *Provided only for orders created after October 18, 2024 | String |
new_order_uuid | Expected UUID of the new order (if succeed) | String |
new_order_identifier | User customized order ID of the new order (if succeed) | String |
New Order
The new order will be placed in the same market as the existing order after the existing order
(corresponding toprev_order_uuid
orprev_order_identifier
) has been completely canceled.If the new order has been successfully placed, you can query it by
new_order_uuid
or thenew_identifier
you provided.⚠️ Even if the cancel and new request is successfully submitted, the new order may not be created
if the previous order was completely filled before the cancellation.