create_antarctic_figure
Documentation for eth_defi.erc_4626.vault_protocol.antarctic.charts.create_antarctic_figure function.
- create_antarctic_figure(frame, product)
Build an equity and TVL chart with measured observations visibly marked.
Straight lines connect observations for readability; no daily or hourly points are added and the curve stops at the final subscription event. Denomination is USDT rather than an assumed US dollar valuation.
- Parameters
frame (pandas.DataFrame) – Sparse frame from
fetch_antarctic_chart_series()with timestamp, block number, price, nullable assets and equity index.product (str) – AMLP or AHLP product label.
- Returns
Plotly figure with equity index and reported TVL panels.
- Return type
plotly.graph_objs._figure.Figure