Skip to main content

Get batch

GET: /v1/spot/batch-order

Parameters

ParameterTypemandatoryDefaultDescriptionRanges
orderIdslongtrueorder Ids eg: 6216559590087220004,6216559590087220004

reponse field information, refer to the Get single interface

Java
public String batchOrderGet(){

}
Response
{
"code": 200,
"msg": "string",
"msgInfo": [
{}
],
"data": [
{
"symbol": "BTC_USDT",
"orderId": "6216559590087220004",
"clientOrderId": "16559590087220001",
"baseCurrency": "string",
"quoteCurrency": "string",
"side": "BUY",
"type": "LIMIT",
"timeInForce": "GTC",
"price": "40000",
"origQty": "2",
"origQuoteQty": "48000",
"executedQty": "1.2",
"leavingQty": "string",
"tradeBase": "2",
"tradeQuote": "48000",
"avgPrice": "42350",
"fee": "string",
"feeCurrency": "string",
"nftId": "string",
"symbolType": "string",
"state": "NEW",
"deductServices":[
{ //Fee deduction list (if set JU deduction fee and the deduction occurs, use this field to represent the trade fee. Otherwise, use the original fee and feeCurrency fields to represent the trade fee).
"fee":"0.1",
"feeCurrency":"ju"
},
{
"fee":"0.001",
"feeCurrency":"btc"
}
],
"closed": true,
"time": 1655958915583,
"ip": "127.0.0.1",
"updatedTime": 1655958915583
}
]
}