Skip to main content

parse_series

Function parse_series 

Source
pub fn parse_series(
    bytes: &[u8],
    field: Field,
) -> Result<Vec<(i32, f64)>, DataError>
Expand description

Parse the OHLCV data for field into (YYYYMMDD, value) rows. The buffer’s format is detected from its content: gzip CSV, plain CSV, or — with the parquet feature — Apache Parquet. CSV is header-optional, oldest-first.