resolve_exchange_rate_database_path
Documentation for eth_defi.vault.data_file_export.resolve_exchange_rate_database_path function.
- resolve_exchange_rate_database_path(base_path=None)
Resolve the exchange-rate DuckDB database path.
The exchange-rate bundle is produced by the currency API scanner. Use the same
CURRENCY_API_DB_PATH/CURRENCY_API_DATABASE_PATHoverride contract as the all-chain scanner so exports upload the database that the scanner writes. Without an override, data exports useexchange-rates.duckdbunder the active pipeline data directory.- Parameters
base_path (Optional[pathlib.Path]) – Pipeline data directory.
Nonefalls back to the standalone currency API default path.- Returns
Path to the exchange-rate DuckDB database.
- Return type