Skip to main content

Import

import { Orderbook } from '@krono/core'

Usage

This property is used as the base unit for all price calculations and aggregation. When you update tickSize, the groupingOptions are automatically recalculated to remain proportional to the asset’s price precision.
const orderbook = new Orderbook({ symbol: 'BTC/USD' })

orderbook.tickSize = 0.01

Type

number
Returns a promise that resolves when the subscription is successfully confirmed by the Kraken WebSocket API.