create_price_row_report
Documentation for eth_defi.tokenised_fund.securitize.backfill.create_price_row_report function.
- create_price_row_report(products, scan_result, *, scan_enabled)
Create and validate the per-product historical row report.
Counts come from the scanner’s existing in-memory export pass. The report therefore does not reread the output Parquet file. A completed scan must produce at least one non-null share-price row for every product whose static estimate or RedStone feed is available in the scanned block range.
- Parameters
products (collections.abc.Iterable[eth_defi.tokenised_fund.securitize.description.SecuritizeProduct]) – Reviewed products on one chain.
scan_result (Optional[eth_defi.vault.historical.ParquetScanResult]) – Completed scan result, or
Nonefor a dry run or disabled scan.scan_enabled (bool) – Whether historical scanning was requested.
- Returns
Tabular rows covering priced and metadata-only products.
- Raises
RuntimeError – If an expected priced product emitted no non-null share-price rows.
- Return type