Notification Event¶
Description¶
Notification events are pushed automatically to authenticated client WebSocket sessions.
No separate subscription is required.
Client notifications are account-scoped:
- account-targeted notifications are delivered to that account
- manager-only broadcasts are not delivered through the client notify list endpoint
Event Marker¶
"n"
Payload Format¶
Notifications are sent as compact JSON arrays.
| Index | Field | Type | Description |
|---|---|---|---|
| 0 | "n" |
string | Event marker |
| 1 | message | string | Short title or message payload |
| 2 | description | string | Optional extended description |
| 3 | token | string | Notification token |
| 4 | status | int | Notification status |
| 5 | level | int | Notification level |
| 6 | user_id | int | Account login |
| 7 | create_time | int | Unix timestamp |
| 8 | data or code | object or int | Structured data when present, otherwise result code |
| 9 | code | int | Result code when structured data is present |
Example¶
[
"n",
"Order opened",
"Your order was opened successfully",
"OPEN_ORDER",
1,
0,
100500,
1734312345,
{
"order": 58123,
"symbol": "EURUSD"
},
201
]