load_sparkline_price_data

Documentation for eth_defi.research.sparkline_export.load_sparkline_price_data function.

load_sparkline_price_data(prices_path)

Load and validate the canonical daily crypto sparkline Parquet.

Parameters

prices_path (pathlib.Path) – Daily crypto-vault Parquet path.

Returns

Stable-sorted price rows with numeric share_price and total_assets columns.

Raises

ValueError – If the file schema or timestamp index is incompatible with export.

Return type

pandas.DataFrame