Cancel And New Order

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 prev_order_uuid or prev_order_identifier must be included.

String

new_ord_type *

New order method

  • limit : Limit Order
  • price : Market Price Order (Bid)
  • market : Market Price Order (Ask)
  • best : Best Order type (time_in_force field is required)

String

new_volume *

Order Volume (Required when selling at the limit price or market price)


Please set this field to remain_only to use the remaining volume of the existing order for the volume of the new order.


remain_only is supported only for limit, limit IOC/FOK, market sell, and best sell orders.

NumberString or remain_only

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
(This field only works when the ord_type is limit or best.)

  • ioc : Immediate or Cancel
  • fok : Fill or Kill

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 and prev_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 NameDescriptionType
uuidUnique Order ID for the order to be canceledString
sideOrder Type for the order to be canceledString
ord_typeOrder Method for the order to be canceledString
priceCurrency Price at the Time of OrderNumberString
stateOrder StatusString
marketMarket Unique KeyString
created_atOrder Generation TimeString
volumeUser Input Order VolumeNumberString
remaining_volumeRemaining Volume after TradeNumberString
reserved_feeReserved FeesNumberString
remaining_feeRemaining FeesNumberString
paid_feeUsed FeesNumberString
lockedRatio being used in TransactionsNumberString
executed_volumeExecuted Order VolumeNumberString
trades_countThe number of Transactions in the orderInteger
time_in_forceioc, fok settingsString
identifier

User customized order ID for the order to be canceled


*Provided only for orders created after October 18, 2024
String
new_order_uuidExpected UUID of the new order (if succeed)String
new_order_identifierUser 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 to prev_order_uuid or prev_order_identifier) has been completely canceled.

If the new order has been successfully placed, you can query it by new_order_uuid or the new_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.

Language