Latest Report
{% if latest_report and latest_report.report and 'processed_events' in
latest_report.report %}
Run at {{ latest_report.run_at }}
Events: {{ latest_report.events_path }}
Processed: {{ latest_report.report.processed_events }}
Opportunities: {{ latest_report.report.opportunities_seen }}
Trades: {{ latest_report.report.trades_executed }}
Realized P&L: {{
'%.4f'|format(latest_report.report.realized_pnl_usd) }} USD
Max drawdown: {{ '%.4f'|format(latest_report.report.max_drawdown_usd) }}
USD
{% elif latest_report %}
Job {{ latest_report.get('job_id','')[:8] }}... {{ latest_report.status
}}
{{ latest_report.get('error','Waiting for worker...') }}
{% else %}
No runs yet.
{% endif %}