{% from "_provenance_macros.html" import provenance_link %} {% set partial = kpis.missing_symbols and (kpis.open_position_value is not none) %} {% set period_label = kpis.period_label or 'Period' %} {% set _profile = profile if profile is defined else None %} {% set _slots = _profile.order("portfolio_kpi_hero") if _profile else ["ytd_realized", "ytd_unrealized", "wash_impact", "open_position"] %} {% macro slot_ytd_realized(kpis, period_label, metric_refs) %}