Backtest Configs
{% for key, value in props.items() %}
{{key}}
{{value}}
{% endfor %}
PnL Curve & Performance Metrics
{% for key, value in metrics.items() %}
{{key}}
{{value | round_if_float(3) }}
{% endfor %}
{% if position_change is not none %}
Position Changes
{% for date, df in position_change.items() %}
{{ date }}
market value = {{ account[date]['market_value'] / 1000.0 | round(0) }}k, cash = {{ account[date]['cash'] / 1000.0 | round(0) }}k,
{{ df.to_html() }} {% endfor %} {% endif %} {% if selected_securities|length > 0 %}
Selected Security Visualization
{% for symbol in selected_securities %}
{% endfor %} {% if df_daily is not none %}
Daily PnL for Each Security
{% for symbol in selected_securities %}
{{ symbol }}
{{ df_daily[symbol].to_html() }}
{% endfor %} {% endif %} {% endif %}