Skip to main content
History configuration enables tracking orderbook snapshots for playback and analysis.

Basic Configuration

History Options

historyEnabled

Enable historical snapshot tracking. Type: boolean Default: false
Enabling history increases memory usage proportional to maxHistoryLength.

maxHistoryLength

Maximum number of snapshots to retain. Type: number Default: 100

Orderbook

Configure the core orderbook behavior.

Performance

Fine-tune update frequency with throttling and debouncing options.

Asset Pairs

Configure how trading pair metadata is fetched and cached. Required for auto-populating tickSize.

Overview

See all configuration options in one place with complete TypeScript types and defaults.