pub fn check_tick(tick: i32, tick_spacing: u16) -> Result<()>
Expand description

Common checks for a valid tick input. A tick is valid iff it lies within tick boundaries and it is a multiple of tick spacing.

Arguments

  • tick - The price tick