Function round_to_tick

Source
pub const fn round_to_tick(price: u64, tick_size: u64) -> u64
Expand description

Round price to nearest tick