get_price_first_block

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

get_price_first_block(product)

Return the first block at which the scanner can price a product.

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

Parameters

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

Returns

0 for a static estimate, the feed’s first valid block for RedStone and settlement feeds, or None when no NAV source is configured.

Return type

Optional[int]