AbstractAbstractconnectConnect to the WebSocket server
Release all resources (close socket, abort fetch, clear timers).
AbstractfetchFetch historical data (typically via HTTP, not WS)
ProtectedparseStart a live stream. onUpdate is called with new/updated candles.
AbstractsubscribeSubscribe to a specific channel/topic
Stop a live stream started by subscribe.
AbstractunsubscribeUnsubscribe from a channel
Abstract WebSocket transport. Implement the abstract methods for your specific WS library (Centrifugo, Socket.IO, native WebSocket, etc.)