> ## Documentation Index
> Fetch the complete documentation index at: https://krono.fabianpiper.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OnConfigUpdate

> Subscribe to configuration changes.

## Usage

Triggers when properties like `limit`, `symbol`, or `depth` are modified.

```ts theme={null}
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

```ts theme={null}
void
```
