pub fn load_quote_ticks<P: AsRef<Path>>(
filepath: P,
price_precision: Option<u8>,
size_precision: Option<u8>,
instrument_id: Option<InstrumentId>,
limit: Option<usize>,
) -> Result<Vec<QuoteTick>, Box<dyn Error>>
Expand description
Loads [QuoteTick
]s from a Tardis format CSV at the given filepath
,
automatically applying GZip
decompression for files ending in “.gz”.
Load quote ticks from a CSV or gzipped CSV file.
§Errors
Returns an error if the file cannot be opened, read, or parsed as CSV.
§Panics
Panics if a record has invalid data or CSV parsing errors.