open_and_merge_hypercore_prices

Documentation for eth_defi.hyperliquid.vault_data_export.open_and_merge_hypercore_prices function.

open_and_merge_hypercore_prices(parquet_path, daily_db_path=None, hf_db_path=None)

Open whichever Hyperliquid databases exist and merge into the parquet.

Convenience wrapper around merge_hypercore_prices_to_parquet() that handles opening and closing both databases. Used by standalone scripts and post-processing to avoid duplicating the open/close pattern.

Parameters
  • parquet_path (pathlib.Path) – Path to the uncleaned Parquet file.

  • daily_db_path (Optional[pathlib.Path]) – Path to the daily DuckDB (None uses default, skipped if not on disc).

  • hf_db_path (Optional[pathlib.Path]) – Path to the HF DuckDB (None uses default, skipped if not on disc).

Returns

The combined DataFrame (EVM + Hypercore rows).

Return type

pandas.DataFrame