Skip to main content

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.

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.