API Reference

Cancel Orders

Rate Limit: 1200 requests per 60 seconds

Tip:
You can cancel order by websocket after login.

Request

{
  "id": "XXX",
  "action": "cancel_orders",  
  "args":  
  {  
    "exchangeType": "XXX"
  }  
}

Field nameTypeNecessaryRemarks
idStringNclient request id
actionStringYcancel_orders
argsObjectYrequest params
> exchangeTypeStringNExchange Type

Response

Success example:

{
  "id": "XXXX",
 	"event": "cancel_orders",  
  "code": "0",  
  "msg": ""
}

Fail example:

{  
  "id":"***",
  "event": "error",  
  "code": "60009",  
  "msg": "Cancel Order failed."  
}
Field nameTypeRemarks
idStringclient request id
eventStringEvent
codeStringCode
msgStringMsg