Sync Place HF order

The request parameters of this interface are the same as those of the "Place HF order" interface

The difference between this interface and "Place HF order" is that this interface will synchronously return the order information after the order matching is completed.

For higher latency requirements, please select the "Place HF order" interface. If there is a requirement for returning data integrity, please select this interface

HTTP REQUEST

POST /api/v1/hf/orders/sync

Example

POST /api/v1/hf/orders/sync

{
  "code": "200000",
  "data": {
    "orderId": "6d539dc614db3",
    "orderTime": "1507725176595", //order time
    "originSize": "10.01",
    "dealSize": "2.01",
    "remainSize": "8",
    "canceledSize": "0",
    "status": "open", //open: the order is active: the order has been completed
    "matchTime": "1507725176595" //begin match time
  }
}
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 HF order" interface

RESPONSES
Param Description
orderId An order Id is returned once an order is successfully placed.
orderTime order time
originSize original order size
originFunds Order original funds - market order
dealSize deal size
dealFunds deal funds - market order
remainSize remain size
remainFunds remain funds - market order
canceledSize Cumulative number of cancellations
canceledFunds Cumulative funds of cancellations - market order
status Order Status. open:order is active; done:order has been completed
matchTime matching time