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
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

list[dict[str, object]]