Appearance
Conditional order removed
SEND Server to Client on wss://api.valr.com/ws/account
Sent when a conditional order has been removed. The reason field indicates why the order was removed (e.g. CANCELLED_BY_USER).
Authentication
This operation requires API key authentication (HMAC-SHA512 via query parameters or in-band AUTHENTICATE message).
Message
Event type: REMOVE_CONDITIONAL_ORDER
Payload Schema
| Property | Type | Required | Description |
|---|---|---|---|
| orderId | string | Yes | - |
| pair | string | Yes | - |
| reason | string | Yes | - |
| customerOrderId | string | No | - |
Example
json
"{\n \"type\": \"REMOVE_CONDITIONAL_ORDER\",\n \"data\": {\n \"orderId\": \"019a29f4-489e-7f1e-87dc-c5ef7439a755\",\n \"pair\": \"BTCUSDTPERP\",\n \"reason\": \"CANCELLED_BY_USER\",\n \"customerOrderId\": \"testWS\"\n }\n}"Channel
Channel: account Address: wss://api.valr.com/ws/account