Tick is a price range

Each tick is a price range with upper bound and lower bound.

Tick price from index:

\(p(i) = 1.0001 ^ i\)

1.0001 ** 138162  # 999_998

Tick index from price:

\(log_{1.0001}p\)

import math

math.log(1000_000, base=1.0001)  # 138162.01321981344