get_period_metrics

Documentation for eth_defi.research.vault_metrics.get_period_metrics function.

get_period_metrics(period_results, period)

Get PeriodMetrics for a specific period from the results list.

Parameters
Returns

The matching PeriodMetrics or None if not found

Return type

eth_defi.research.vault_metrics.PeriodMetrics | None