Trade Cancellation
POST {{URL_ORIGIN}}/api/operations/cancel-trade
Trade Cancellation API allows you to cancel a tradeTrade Cancellation- Fields
Field
Type
Description
instrumentId
int
Instrument ID to cancel the orders
matchId
int
Trade Id to cancel
Trade Cancellation- Error Codes
Code
Message
1
System is unavailable
100
Missing or invalid parameter: [FieldName]
101
[FieldName] not found
102
Market is closed
102
Currently not allowed
102
Instrument trading is not allowed
105
Cancelation failed, trade is already canceled or from previous days or is leg trade
10001
Permission denied
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"id": "286",
"data": {
"instrumentId": "123",
"matchId": "11"
},
"requestType": "TradeCancellation",
"name": "INS1",
"status": "Pending",
"makerComment": "trade cancel",
"makerUserId": "auth0|6310aa4ba8cae50015ee3678",
"timestamp": "2024-02-29T09:37:20.237"
} |
ENDPOINTS