Skip to main content
The Orderbook class provides high-level helper methods to subscribe to data updates, status changes, and errors. These listeners are the primary way to integrate the orderbook into your UI or data processing logic.

Core Listeners

  • onData: Triggers on processed (throttled/debounced) updates.
  • onStatusUpdate: Triggers when connection state changes.
  • onError: Triggers when an error occurs.

Internal Listeners