Sync Place Multiple HF orders
The request parameters of this interface are the same as those of the "Place Multiple Orders" interface
The difference between this interface and "Place Multiple Orders" is that this interface will synchronously return the order information after the order matching is completed.
For higher latency requirements, please select the "Place Multiple Orders" interface. If there is a requirement for returning data integrity, please select this interface
HTTP REQUEST
POST /api/v1/hf/orders/multi/sync
Example
POST /api/v1/hf/orders/multi/sync
//request
{
"orderList": [
{
"clientOid": "3d07008668054da6b3cb12e432c2b13a",
"side": "buy",
"type": "limit",
"price": "0.01",
"size": "1",
"symbol": "ETH-USDT"
},
{
"clientOid": "37245dbe6e134b5c97732bfb36cd4a9d",
"side": "buy",
"type": "limit",
"price": "0.01",
"size": "1",
"symbol": "ETH-USDT"
}
]
}
//response
{
"success": true,
"code": "200",
"msg": "success",
"retry": false,
"data": [
{
"orderId": "641d67ea162d47000160bfb8",
"orderTime": 1679648746796,
"originSize": "1",
"dealSize": "0",
"remainSize": "1",
"canceledSize": "0",
"status": "open",
"matchTime": 1679648746443,
"success": true
},
{
"orderId": "641d67eb162d47000160bfc0",
"orderTime": 1679648747369,
"originSize": "1",
"dealSize": "0",
"remainSize": "1",
"canceledSize": "0",
"status": "open",
"matchTime": 1679648746644,
"success": true
}
]
}
API KEY PERMISSIONS
This endpoint requires the Spot Trading permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:1
PARAMETERS
The request parameters of this interface are the same as those of the "Place Multiple Orders" interface, Maximum support for 20 orders
RESPONSES
Param | Description |
---|---|
orderId | order Id is returned once an order is successfully placed. |
orderTime | order time |
originSize | original order size |
dealSize | deal size |
remainSize | remain size |
canceledSize | Cumulative number of cancellations |
status | Order Status. open:order is active; done:order has been completed |
matchTime | matching time |
success | Whether the order was placed successfully. |