run_backfill

Documentation for eth_defi.tokenised_fund.wisdomtree.backfill.run_backfill function.

run_backfill(*, dry_run, scan_prices, clean_prices, frequency, vault_db_path, raw_price_path, cleaned_price_path, reader_state_path)

Run the complete address-scoped WTGXX migration.

Parameters
  • dry_run (bool) – Do not write metadata, states or Parquet rows.

  • scan_prices (bool) – Rebuild WTGXX raw history.

  • clean_prices (bool) – Replace only WTGXX cleaned history after raw scan.

  • frequency (Literal['1h', '1d']) – Shared scanner sample frequency.

  • vault_db_path (pathlib.Path) – Metadata database path.

  • raw_price_path (pathlib.Path) – Raw price Parquet path.

  • cleaned_price_path (pathlib.Path) – Cleaned price Parquet path.

  • reader_state_path (pathlib.Path) – Reader-state pickle path.

Return type

None