USDExchangeRateSeriesBuild
Documentation for eth_defi.vault.crypto_vaults.USDExchangeRateSeriesBuild Python class.
- class USDExchangeRateSeriesBuild
Bases:
objectValidated effective USD-rate series for one denomination family.
The result keeps the optional rate curve, its export provenance and a stable error together, avoiding positional tuple handling at the caller.
Attributes summary
Effective USD-per-underlying daily rate curve when validation succeeds.
JSON-serialisable source coverage information when source rows exist.
Stable reason USD metrics cannot be calculated for this family.
Methods summary
__init__(rates, coverage, error_reason)- rates: Optional[pandas.Series]
Effective USD-per-underlying daily rate curve when validation succeeds.
- coverage: Optional[dict[str, Any]]
JSON-serialisable source coverage information when source rows exist.
- error_reason: Optional[str]
Stable reason USD metrics cannot be calculated for this family.