KNOWN_BAD_RATES
Documentation for eth_defi.currency_api.cleaning.KNOWN_BAD_RATES data.
- KNOWN_BAD_RATES: tuple[tuple[datetime.date, str, str, str], ...] = ((datetime.date(2025, 12, 6), 'usd', 'btc', 'fawazahmed0'), (datetime.date(2025, 12, 6), 'usd', 'eth', 'fawazahmed0'))
Hardcoded allowlist of known-bad
(date, base_currency, quote_currency, source)cells from the fawazahmed0 Exchange API, identified by manual data review.Each entry documents the observed bad value and why it is dropped. Keep this list small and evidence-based — only add a cell after confirming the bad value is present at the source (i.e. the raw API returns it), not a local bug.