Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
Loading...
Searching...
No Matches
Classes | Namespaces
data_loader.hpp File Reference

CSV data loader for OHLCV market data — AGT-06. More...

#include "srfm/engine.hpp"
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  srfm::core::DataLoader
 Loads OHLCV data from CSV files and stdin streams. More...
 

Namespaces

namespace  srfm
 
namespace  srfm::core
 

Detailed Description

CSV data loader for OHLCV market data — AGT-06.

Module: DataLoader

Responsibility

Parse CSV files containing OHLCV market data into std::vector<OHLCV>. Malformed or non-finite rows are skipped with a warning; the loader never crashes on bad input.

Expected CSV Format

timestamp,open,high,low,close,volume
1,100.0,105.0,99.0,103.0,1000000
2,103.0,107.0,102.0,106.5,1200000

The first line is treated as a header and skipped.

Guarantees

Definition in file data_loader.hpp.