select_cleanable_vault_ids
Documentation for eth_defi.tokenised_fund.asseto.backfill.select_cleanable_vault_ids function.
- select_cleanable_vault_ids(products, rows)
Select active Asseto histories supported by the USD-only cleaner.
HKD histories are converted to USD by the adapter before reaching this point. Inactive zero-supply products remain mapped in metadata and may keep raw observations, but are not passed to the strict replacement helper because normal cleaning intentionally removes every zero-NAV row.
- 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