load_usd_exchange_rates
Documentation for eth_defi.tokenised_fund.asseto.registry.load_usd_exchange_rates function.
- load_usd_exchange_rates(database_path, denomination_symbols)
Load historical quote-currency-per-USD rates for Asseto products.
Asseto NAV values in non-USD currencies are divided by these rates before entering the shared USD history. The targeted backfill and daily scanner intentionally share this exact conversion rule.
- Parameters
database_path (pathlib.Path) – Currency API DuckDB produced by
scan-currencies.denomination_symbols (collections.abc.Iterable[Optional[str]]) – Accounting currencies requested by the selected products.
- Returns
Exchange-rate history keyed by upper-case currency symbol.
- Raises
RuntimeError – If required currency history is unavailable.
- Return type