resolve_frequency

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

resolve_frequency()

Resolve the daily historical sampling frequency for Asseto.

Asseto’s public NAV history contains daily observations. The scanner must therefore not generate artificial hourly rows by carrying a daily value forward between price publications.

Returns

The required daily sampling interval.

Raises

ValueError – If an hourly or other unsupported frequency is requested.

Return type

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