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
Returns

Exchange-rate history keyed by upper-case currency symbol.

Raises

RuntimeError – If required currency history is unavailable.

Return type

dict[str, tuple[tuple[int, decimal.Decimal], …]]