WS Reference
Common Requests
Requests available on every connection: ping, subscribe, and unsubscribe.
WSS
Prefer the application-level
ping message over WebSocket control frames when validating connectivity. Because it is handled as a normal data message, it confirms end-to-end reachability across the same path used by your subscriptions and requests. Control frames are processed separately by WebSocket infrastructure and can still succeed when application data is not flowing reliably.Allowed Subscription Values
The account summary stream is managed for you — issue an
emitOptionsAccountSummary request and updates are delivered automatically; it is not a subscribe value.Subscribe / Unsubscribe Behavior
- Streams must be added with
subscribeafter connecting — they cannot be requested in the connection URL (exceptorders, which is active by default) - Only new (or currently active) subscriptions are added (or removed) — re-subscribing to an already active subscription, or unsubscribing from an inactive one, is a no-op
- Other subscriptions remain unaffected
- Changes apply immediately
- Safe to call repeatedly (idempotent)
- Does not affect other connections
- Does not require reconnecting