resolve_frequency

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

resolve_frequency()

Resolve the requested historical sampling frequency.

The execution plan and the price scanner use the same validated value so a displayed daily run cannot silently perform hourly work.

Returns

One-hour or one-day scan interval.

Raises

ValueError – If the requested interval is unsupported.

Return type

Literal[‘1h’, ‘1d’]