build_raw_prices_dataframe
Documentation for eth_defi.apex.vault_data_export.build_raw_prices_dataframe function.
- build_raw_prices_dataframe(db)
Build raw shared-pipeline price rows from the ApeX DuckDB.
Every actual ranking or history timestamp is retained. The resulting columns match
eth_defi.vault.base.RawVaultPriceRow; ApeX has no native block number, soblock_numberis zero.- Parameters
db (eth_defi.apex.metrics.ApexMetricsDatabase) – Open owner-thread ApeX metrics database.
- Returns
Raw price dataframe, or an empty dataframe when the database has no observations.
- Return type