Skip to content

Cancel Pending Trades List

MngCancelPendingTradesList

Description: Allows a manager to cancel multiple pending trade orders by providing a list of order IDs.

Warning

this method work only for pending trades

Request Parameters

Name Type Required Description
orders array Yes List of pending trade order IDs to cancel
__access object Yes Access object containing session type information

Request Example

{
  "orders": [1001234, 1001235, 1001236],
  "__access": {
    "type": 1
  }
}

Response Parameters

Name Type Description
data array Array of objects mapping order IDs to result messages

Response Example

{
  "data": [
    {
      "1001234": "OK"
    },
    {
      "1001235": "OK"
    },
    {
      "1001236": "PENDING_TRADE_NOT_FOUND"
    }
  ]
}