> ## 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.

# MaxHistoryLength

> Getter and setter for history buffer size.

## Import

```ts theme={null}
import { Orderbook } from '@krono/core'
```

## Usage

Limits the number of historical snapshots stored in memory.

```ts theme={null}
orderbook.maxHistoryLength = 50
```

## Type

```ts theme={null}
number
```
