Skip to main content

parse_bar_csv

Function parse_bar_csv 

Source
pub fn parse_bar_csv(
    path: &Path,
    exchange: &str,
    symbol: &str,
    timeframe: Timeframe,
    source_offset: &FixedOffset,
) -> Result<(Vec<Bar>, Vec<String>)>
Expand description

Parse a bar CSV file into a Vec. Tab-delimited with header row. Timestamps converted from source_offset to UTC.