Expand description
Stream OHLCV candles out of a CSV file.
The reader is generic over the column layout, but ships with a sensible default (“timestamp,open,high,low,close,volume”) that matches the standard Binance / Yahoo Finance / kaggle dataset format.
The reader is defensive about real-world files: a leading UTF-8 byte-order
mark is stripped, surrounding whitespace is trimmed from every field, and a
file whose header does not name the required columns is rejected with a
clear Error::Malformed instead of silently consuming its first data row.
Structs§
- BomStrip
Reader - A
std::io::Readadapter that transparently skips a leading UTF-8 byte-order mark. - Candle
Reader - Streaming OHLCV CSV reader.
- Default
Row - Default OHLCV CSV row layout.