Skip to main content

Submit order

Type: post Description: /v4/order

Parameters

nametypemandatorydefaultdescriptionranges
symbolstringtrue
clientOrderIdstringfalsePattern: ^[a-zA-Z0-9_]{4,22}
$
sidestringtrue"BUY,SELL"
typestringtrue"order type:LIMIT,MARKET"
timeInForcestringtrueeffective way:GTC, FOK, IOC, GTX
bizTypestringtrue"SPOT, LEVER"
pricenumberfalseprice. Required if it is the LIMIT price; blank if it is the MARKET price
quantitynumberfalsequantity. Required if it is the LIMIT price or the order is placed at the market price by quantity
quoteQtynumberfalseamount. Required if it is the LIMIT price or the order is the market price when placing an order by amount
nftIdstringfalsenft id

Remark

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

Limit Flow Rules

20/s/apikey

Response Example

{
"rc": 0,
"mc": "string",
"ma": [{}],
"result": {
"orderId": "6216559590087220004",
"ip": "127.0.0.1" // ip address
}
}