Skip to main content

Submit batch order

POST: /v1/spot/batch-order

Parameters

ParameterTypemandatoryDefaultDescriptionRanges
clientBatchIdstringfalseClient batch number. Pattern: ^[a-zA-Z0-9_]{4,32}$
itemsarraytruearray
item.symbolstringtrue
item.clientOrderIdstringfalsePattern: ^[a-zA-Z0-9_]{4,32}$
item.sideenumtrueBUY,SELL
item.typeenumtrueorder type:LIMIT,MARKET
item.timeInForceenumtrueeffective way:GTC, FOK, IOC, GTX
item.bizTypeenumtrueSPOT, LEVER
item.pricenumberfalseprice. Required if it is the LIMIT price; blank if it is the MARKET price
item.quantitynumberfalsequantity. Required if it is the LIMIT price or the order is placed at the market price by quantity
item.quoteQtynumberfalseamount. Required if it is the LIMIT price or the order is the market price when placing an order by amount
item.mediastringfalse
item.mediaChannelstringfalse
item.nftIdstringfalse

Limit Flow Rules

30/s/apikey

Java
public String batchOrderPost(){

}
{
"clientBatchId": "51232",
"items": [
{
"symbol": "BTC_USDT",
"clientOrderId": "16559590087220001",
"side": "BUY",
"type": "LIMIT",
"timeInForce": "GTC",
"bizType": "SPOT",
"price": 40000,
"quantity": 2,
"quoteQty": 80000
}
]
}