latest_total_assets_by_id

Documentation for eth_defi.research.sparkline_export.latest_total_assets_by_id function.

latest_total_assets_by_id(prices_df, prepared)

Resolve the latest finite TVL through each chart’s final UTC day.

Parameters
Returns

Mapping from vault ID to the latest finite native-unit TVL, or None when no usable value exists in the chart’s final day.

Return type

dict[str, float | None]