AsterAster REST API

Cancel Order

Cancel an active order.

DELETE
/v1/aster/fapi/v1/order

Authorization

HmacSha256
AuthorizationBearer <token>

HMAC SHA256 signature authentication for v1 endpoints

In: header

Query Parameters

symbol*stringrequired
orderId?integer
origClientOrderId?string
recvWindow?integer
timestamp*integerrequired

Response Body

application/json

curl -X DELETE "https://api.hypereth.io/v1/aster/fapi/v1/order?symbol=string&timestamp=0"
{
  "avgPrice": "string",
  "clientOrderId": "string",
  "cumQuote": "string",
  "executedQty": "string",
  "orderId": 0,
  "origQty": "string",
  "origType": "string",
  "price": "string",
  "reduceOnly": true,
  "side": "string",
  "positionSide": "string",
  "status": "string",
  "stopPrice": "string",
  "closePosition": true,
  "symbol": "string",
  "time": 0,
  "timeInForce": "string",
  "type": "string",
  "activatePrice": "string",
  "priceRate": "string",
  "updateTime": 0,
  "workingType": "string",
  "priceProtect": true
}