Place Order

Submit a spot order

Notes:

  • When newOrderRespType is set to RESULT,
    • MARKET orders return the execution result directly.
    • LIMIT orders used with special timeInForce values return the execution result or expiry rejection result directly.
  • Either quantity or amount must be provided. When amount is provided, the system converts it into quantity based on price and rounds up to an integer multiple of the step size.
Body Params

Place order request

string
required

Trading type. Use SPOT.

string
required

Symbol

string
enum
required

Side: BUY/SELL

Allowed:
string
enum
required

Order type: LIMIT/MARKET

Allowed:
string

Client custom order ID. Only [a-zA-Z0-9-_] is supported. If omitted, a UUID is generated automatically.

string
enum

Time in force: GTC/FOK/IOC/POST_ONLY. Default: GTC. Required for LIMIT orders.

Allowed:
number

Quantity. Either this or amount must be provided.

number

Price. Required for LIMIT orders; must not be provided for MARKET orders.

string
enum

Response type: ACK/RESULT. Default: ACK.

Allowed:
string
enum

Self-trade prevention mode: EXPIRE_TAKER/EXPIRE_MAKER/EXPIRE_BOTH. Default: EXPIRE_TAKER.

Allowed:
number

Notional value. Either this or quantity must be provided. When amount is provided, the system converts it into quantity based on price and rounds up to an integer multiple of the step size.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*