select_cleanable_vault_ids
Documentation for eth_defi.tokenised_fund.asseto.backfill.select_cleanable_vault_ids function.
- select_cleanable_vault_ids(products, rows)
Select Asseto histories supported by the stablecoin-only cleaner.
Asseto publishes products denominated in currencies such as HKD. Their raw NAV histories are valid, but the shared cleaned-price pipeline deliberately filters out denominations not recognised by
is_stablecoin_like(). Passing those identifiers to the strict replacement helper would make it interpret the expected filtering as accidental data loss.- Parameters
products (collections.abc.Iterable[eth_defi.tokenised_fund.asseto.constants.AssetoProduct]) – Asseto products whose raw histories were scanned.
rows (dict[eth_defi.vault.base.VaultSpec, dict]) – Fresh vault metadata rows keyed by vault specification.
- Returns
Canonical vault identifiers eligible for cleaned-history replacement.
- Return type