{% extends "base.html" %} {% block title_suffix %} — Dashboard{% endblock %} {% block content %}
| Asset | Equity | PnL | Trades | Win Rate | Position | CB |
|---|---|---|---|---|---|---|
| {{ a.ticker }} | ${{ "%.2f"|format(a.equity) }} | ${{ "%+.2f"|format(a.total_pnl) }} | {{ a.trades_count }} ({{ a.wins }}W/{{ a.losses }}L) | {{ "%.0f"|format(a.wins / a.trades_count * 100) if a.trades_count > 0 else '—' }}% | {% if a.ticker in positions %} {% set p = positions[a.ticker] %} {{ 'LONG' if p.direction == 1 else 'SHORT' }} ${{ "%.0f"|format(p.entry_price) }} {% else %} — {% endif %} | {% if a.cb_active %} ON {% else %} — {% endif %} |
| Date | Asset | Dir | Entry | Exit | PnL | Reason |
|---|---|---|---|---|---|---|
| {{ t.entry_date }} | {{ t.ticker }} | {{ 'L' if t.direction == 1 else 'S' }} | ${{ "%.2f"|format(t.entry_price) }} | ${{ "%.2f"|format(t.exit_price or 0) }} | ${{ "%+.2f"|format(t.pnl_net or 0) }} | {{ t.exit_reason or '' }} |
No trades yet. Run a trading cycle first.
{% endif %}