Create Order

Creates an order to buy or sell a specific trading pair.

Body Params
string
required

Trading pair code for which the order will be created.

string
enum
required

Order side: "bid" for buy orders, "ask" for sell orders.

Allowed:
string

Order quantity, as a numeric string.

Required for:

  • Limit buy/sell (ord_type = "limit")
  • Market sell (ord_type = "market")
  • Best limit sell (side = "ask" and ord_type = "best")
string

Order unit price or total amount,
entered as a numeric string based on the currency for purchase.

Required for:

  • Limit buy/sell (ord_type = "limit")
  • Market buy (ord_type = "price")
  • Best limit buy (side = "bid" and ord_type = "best")

The price field is used for different purposes depending on the order type.

  • For limit orders, this field specifies the quote price.
  • For market buy and best limit buy, this field specifies the total purchase amount. The order will execute for the volume that fills this amount at market or best price.
string
enum
Defaults to limit

Order type to create. Enter one of the following values depending on the order type to be created.

  • limit: Limit buy/sell order
  • price: Market buy order
  • market: Market sell order
  • best: Best limit buy/sell order (The time_in_force field is required.)
Allowed:
string

Client-specified order identifier.
Each order must have a unique identifier within the user's account.
Once used, an identifier value cannot be reused regardless of order creation or execution.

string
enum

Order execution policy.
Order execution policy such as IOC (Immediate or Cancel), FOK (Fill or Kill), and Post Only can be specified.

For market orders (when the ord_type field is set to "limit"), all options can be used optionally. For best bid/ask limit orders (when the ord_type field is set to "best"), either "ioc" or "fok" must be specified. The available values are as follows:

  • ioc: Execute immediately for available quantity at the limit price; cancel the rest.
  • fok: Execute only if the full quantity can be filled at the limit price; otherwise cancel the order.
  • post_only: Only add to the order book as maker; cancel if the order would execute as taker.
Allowed:
string
enum

Self-Match Prevention (SMP) mode.
The available values are as follows:

  • cancel_maker: Cancel the maker order (existing order)
  • cancel_taker: Cancel the taker order (new order)
  • reduce: Reduce both order quantities to prevent self-trading; cancel the order if remaining quantity is 0
Allowed:
Responses

Language
URL
Request
Response
Choose an example:
application/json