AsterAster REST API

Cancel Multiple Orders

Cancel multiple orders.

DELETE
/v1/aster/fapi/v1/batchOrders

Authorization

HmacSha256
AuthorizationBearer <token>

HMAC SHA256 signature authentication for v1 endpoints

In: header

Query Parameters

symbol*stringrequired
orderIdList?string

JSON array of order IDs

origClientOrderIdList?string

JSON array of client order IDs

recvWindow?integer
timestamp*integerrequired

Response Body

application/json

curl -X DELETE "https://api.hypereth.io/v1/aster/fapi/v1/batchOrders?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
  }
]