Equity curve · {{ year }}(YTD only)
{% if points|length <= 1 %}
No realized activity in {{ year }}.
{% else %} {% set max_v = points|map(attribute='cumulative_realized')|map('float')|max %} {% set min_v = points|map(attribute='cumulative_realized')|map('float')|min %} {% set span = (max_v - min_v) if (max_v - min_v) > 0 else 1.0 %} {% set last = points[-1] %} {% if last.unrealized is not none %} {% set last_x = 100 %} {% set last_y = 60 - ((last.cumulative_realized|float + last.unrealized|float - min_v) / span * 60) %} {% endif %}
Line: cumulative realized · Dot: + present-day unrealized
{% endif %}