Cancel Order

Cancel an outstanding order (Authentication type:SIGNED, See Interface Permission)

V2 Version

Request Format

POST https://api-cloud.bitmart.com/spot/v2/cancel_order

Request Limit

See Detailed Rate Limit

Request Parameter

Field Type Required? Description
symbol string Yes Trading pair(e.g. BTC_USDT)
order_id long Yes Order id

Request example

https://api-cloud.bitmart.com/spot/v2/cancel_order

{
  "symbol": "BTC_USDT",
  "order_id":112121212
}

Response Data

Field Type Description
result bool Cancel successfully=true; Cancel failed=false

Instruction

result = 'true' indicates successful cancel; result = 'false' indicates that the cancel failed because the order was matched or cancelled.

Example of returned data format

{
  "code": 1000,
  "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
  "message": "OK",
  "data": {
    "result": true
  }
}

results matching ""

    No results matching ""