Class CsvBarLoader
java.lang.Object
com.quantfinlib.data.CsvBarLoader
CSV market data I/O: loads real historical OHLCV bars into a
BarSeries and saves series back out — the interchange format for
the whole library.
The loader is tolerant of real-world files: header names are matched
case-insensitively (date/time/timestamp/datetime,
open, high, low, close, optional
volume), timestamps may be epoch millis, epoch seconds,
yyyy-MM-dd, ISO local or offset date-times, rows may be unordered
(they are sorted by time), and blank lines are skipped.
-
Method Summary
-
Method Details
-
load
- Throws:
IOException
-
parse
-
save
Writes the series astimestamp,open,high,low,close,volumewith epoch-millis timestamps.- Throws:
IOException
-