Class OrderBooksStore<ExtraStateType>

Store for multi-symbol orderbooks, grouped into one book (OrderBook) per symbol

ExtraStateType is optional extra state you may want to store with each orderbook level, completely optional. Inject a union type if desired.

Type Parameters

  • ExtraStateType = unknown

Constructors

Properties

books: Record<string, OrderBook<ExtraStateType>> = {}
maxDepth: number
shouldCheckTimestamp: boolean
traceLog: boolean

Methods

Generated using TypeDoc