Sync Cancel HF order by clientOid

The request parameters of this interface are the same as those of the "Cancel HF order by clientOid" interface

The difference between this interface and "Cancel HF order by clientOid" 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 clientOid" interface. If there is a requirement for returning data integrity, please select this interface

HTTP REQUEST

DELETE /api/v1/hf/orders/sync/client-order/{clientOid}

Example

DELETE /api/v1/hf/orders/sync/client-order/{clientOid}

{
  "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
clientOid String Yes Path parameter,an identifier created by the Client
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