Skip to main content

Import

import { Orderbook } from '@krono/core'

Usage

Aggregates price levels into buckets of size.
// Group prices by 0.5 (e.g. 100.0, 100.5, 101.0)
orderbook.spreadGrouping = 0.5

Type

number