pub fn parse_price_from_ticks(ticks: u32, decimals: u8) -> Result<Price>Expand description
Converts a Lighter price tick count into a Nautilus [Price].
Lighter encodes limit and trigger prices as u32 multiples of 10^-decimals
quote-asset units. The conversion uses pure integer arithmetic via
[Price::from_mantissa_exponent].
ยงErrors
Returns an error if decimals exceeds MAX_DECIMALS.