Skip to main content

Submit Order

Type: POST

Description: /spot/v4/order

Remark

  • Create a BUY order based on market price → quantity must be null, quoteQty is required.
  • Create a SELL order based on market price → quoteQty must be null, quantity is required.

Limit Flow Rules

20/s/apikey

Parameters

NameTypeMandatoryDefaultDescriptionRanges
symbolstringYesTrading pair
clientOrderIdstringNoPattern: ^[a-zA-Z0-9_]{4,32}$
sidestringYesBUY, SELL
typestringYesOrder type: LIMIT, MARKET
timeInForcestringYesEffective way: GTC, FOK, IOC, GTX
bizTypestringYesSPOT, LEVER
pricenumberNoPrice. Required if LIMIT; empty if MARKET
quantitynumberNoQuantity. Required if LIMIT or market order by quantity
quoteQtynumberNoAmount. Required if LIMIT or market order by amount

Response Example

Response
{
"rc": 0,
"mc": "string",
"ma": [{}],
"result": {
"orderId": "6216559590087220004"
}
}