nautilus_databento::decode

Function decode_optional_price

Source
pub fn decode_optional_price(value: i64, precision: u8) -> Option<Price>
Expand description

Decodes a price from the given optional value, expressed in units of 1e-9.