WebSocket
Real-time WebSocket for trading events
Upgrades to a WebSocket connection for streaming real-time trading events.
Authentication: pass JWT via query parameter ?token=YOUR_JWT or via Authorization header.
Optional filter: add &account_id=UUID to receive events for a single account only.
Events received:
Welcome— connection confirmed with account listOrderSubmitted/OrderFilled/OrderCancelled— order lifecyclePositionUpdate— real-time P&L changes on every tickAccountUpdate— balance, equity, drawdown changesRuleViolation— trading rule breach with reasonNotification— system/copy-trade alerts
Commands you can send:
{"action": "subscribe", "account_id": "uuid"}— filter to one account{"action": "subscribe", "account_id": "*"}— receive all (default){"action": "ping"}— keep-alive
GET
WebSocket Client
Related topics
Real-time event stream (WebSocket)WebSocket Stream (Documentation Only)Get open positions with real-time P&LRate limits & quotasRegister a webhook endpoint