Utility functions for handling price, sqrt price, and tick index
Core Concepts
Price, Tick Index, and Sqrt Price
Concept
Definition
Features
Application
1. Tick index to price
2. Price to tick index
3. Tick index to sqrt price x64
4. Sqrt price x64 to tick index
5. Price to sqrt price
6. Sqrt price to price
7. Convert the tick index from i32 to u32
Last updated