Skip to main content

instrument_price_precision

Function instrument_price_precision 

Source
pub fn instrument_price_precision(instrument: &Instrument) -> Option<u8>
Expand description

Instrument decimals, falling back to the decimal places needed to write its minimum tick. Invalid tick sizes are ignored; explicit decimals take precedence.