Skip to main content

Module csv_io

Module csv_io 

Source
Expand description

Per-symbol gzip CSV I/O. Files hold full adjusted OHLCV (day,adj_open,adj_high,adj_low,adj_close,volume, oldest-first); parse_series extracts one chosen Field column into (day, value) rows.

Structs§

OhlcvRow
One row of adjusted OHLCV for a trading day.

Enums§

Field
Which OHLCV column to pull into a Panel.

Functions§

parse_series
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.
write_series
Serialize OHLCV rows (oldest-first) to gzip CSV with the standard header.