Data API¶
arbitrix_core.load_ohlcv ¶
Load CSV or parquet into a validated UTC-indexed OHLCV DataFrame.
Parameters¶
path : str or Path
File to load. Suffix .parquet selects parquet; everything else CSV.
time_col : str
Column name containing timestamps when input is flat (not yet indexed).
arbitrix_core.validate_ohlcv ¶
Raise ValueError if df does not satisfy the open-core OHLCV schema.
Schema
DatetimeIndexwithtz='UTC'- Monotonic increasing, no duplicates
- Required columns: open, high, low, close, volume (lowercase, float64-coercible)
- Optional column: spread (float64-coercible)
arbitrix_core.DataProvider ¶
Bases: Protocol
Symbol-info provider injected by closed arbitrix. Open-core never instantiates one.