Skip to main content
Price levels are discrete ticks with type Tick (signed 24‑bit integer). Ticks are global (shared across books).

Tick range

  • int24 MIN_TICK = -8_388_608, MAX_TICK = 8_388_607.
  • ABI type is int24 when encoding parameters.

Converting tick to price

To avoid placing orders at unintended prices, you can calculate the actual price from a tick value:
This function returns a fixed-point price with 96 bits of precision. Use it to verify that your tick values correspond to reasonable prices before placing orders, especially when working with tokens of different decimals.