Cancel Trades List
MngCancelTradesList¶
Description: Allows a manager to cancel multiple open trades by providing a list of order IDs.
Warning
this method work only for open trades
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| orders | array | Yes | List of trade order IDs to cancel (integers) |
| __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": "TRADE_NOT_FOUND"
}
]
}