Skip to main content

load_quotes

Function load_quotes 

Source
pub fn load_quotes(
    path: impl AsRef<Path>,
    instrument_id: InstrumentId,
    price_precision: Option<u8>,
    size_precision: Option<u8>,
    limit: Option<usize>,
) -> Result<Vec<QuoteTick>>
Expand description

Loads [QuoteTick]s from a T-QUOTES file.

Infers each precision not given from every value read.

ยงErrors

Returns an error if the file cannot be read, a column is missing, or a row is invalid.