Skip to main content

Usage

Triggers when properties like limit, symbol, or depth are modified.
orderbook.onConfigUpdate((config) => {
  console.log('New symbol:', config.symbol)
})

Parameters

callback

(config: OrderbookConfig) => void The function to execute when new data is available.

Return Type

void