Skip to main content

Function: tickGridWidthAt()

tickGridWidthAt(price, precision): number

Width of the canonical bin containing price (boundaryAbove - boundaryBelow), computed exactly. Returns 0 for an unusable price.

Parameters​

price​

number

precision​

number

Returns​

number