has_historical_price

Documentation for eth_defi.tokenised_fund.securitize.backfill.has_historical_price function.

has_historical_price(product)

Check whether the scanner can produce price history for a product.

Descriptive source labels are not executable configuration. A product is price-capable only when it has a reviewed static estimate or an actual RedStone feed registry entry.

Parameters

product (eth_defi.tokenised_fund.securitize.description.SecuritizeProduct) – Reviewed Securitize product.

Returns

True when the historical reader can calculate NAV and TVL.

Return type

bool