Sync Cancel HF order by orderId
The request parameters of this interface are the same as those of the "Cancel HF order by orderId" interface
The difference between this interface and "Cancel HF order by orderId" is that this interface will synchronously return the order information after the order canceling is completed.
For higher latency requirements, please select the "Cancel HF order by orderId" interface. If there is a requirement for returning data integrity, please select this interface
HTTP REQUEST
DELETE /api/v1/hf/orders/sync/{orderId}
Example
DELETE /api/v1/hf/orders/sync/{orderId}
{
"orderId": "641d67ea162d47000160bfb8",
"originSize": "1",
"dealSize": "0",
"remainSize": "1",
"canceledSize": "0",
"status": "done"
}
API KEY PERMISSIONS
This endpoint requires the Spot Trading permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:1
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | String | Yes | Trading pair, such as ETH-BTC |
orderId | String | Yes | Path parameter,Order Id unique identifier |
RESPONSES
Param | Description |
---|---|
orderId | order Id |
originSize | original order size |
originFunds | Order original funds - market order |
dealSize | deal size |
remainSize | remain size |
canceledSize | Cumulative number of cancellations |
status | Order Status. open:order is active; done:order has been completed |