Skip to main content

Submit order

POST: /v1/spot/order

Parameters

ParameterTypemandatoryDefaultDescriptionRanges
symbolstringtrue
clientOrderIdstringfalsePattern: ^[a-zA-Z0-9_]{4,32}$
sideenumtrueBUY,SELL
typeenumtrueorder type:LIMIT,MARKET
timeInForceenumtrueeffective way:GTC, FOK, IOC, GTX
bizTypeenumtrueSPOT, 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
mediastringfalse
mediaChannelstringfalse

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

50/s/apikey

Java
public String orderPost(){

}
Response
{
"code": 200,
"msg": "string",
"msgInfo": [
{}
],
"data": {
"orderId": "6216559590087220004",
"clientOrderId": "6216559590087220004"
}
}