Send CANCEL_ORDER after login. Supply orderNo or reference; when both are present, orderNo takes precedence.
Arguments
| Field | Type | Required | Description |
|---|---|---|---|
brokerClientId | string | Yes | Account ID identifying the client account for the request. |
orderNo | string | No / conditional | Provide orderNo or reference. If both are supplied, orderNo takes precedence. |
reference | string | No / conditional | Caller-supplied reference; alternative to orderNo |
Request
{
"action": "CANCEL_ORDER",
"id": "req-003",
"args": {
"brokerClientId": "client001",
"orderNo": "23818"
}
}
Response
{
"event": "CANCEL_ORDER_ACK",
"id": "req-003",
"code": 0,
"message": "success",
"data": {
"orderNo": "23818",
"status": "0"
}
}
