round_to_tick

Function round_to_tick 

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

Round price to tick size (LEGACY - use fixed-point version when possible)