{% extends "journal/base.html" %} {% block title %}{{ month_name }} {{ year }} — Setup Log Pro{% endblock %} {% block content %}

{{ month_name }} {{ year }}

← Prev Today Next →
– {% for label, from_date, to_date in date_presets %} {% endfor %}
Clear
{{ period_label }} P&L ({{ pnl_unit }}) {% if pnl_unit == "$" %} ${{ total_pnl|floatformat:2 }} {% else %} {{ total_r|floatformat:2 }}R {% endif %}
Win rate {% if win_rate is not None %}{{ win_rate|floatformat:1 }}%{% else %}—{% endif %}
Average R {% if avg_r is not None %}{{ avg_r|floatformat:2 }}R{% else %}—{% endif %}
Profit factor {% if profit_factor is not None %}{{ profit_factor|floatformat:2 }}{% else %}—{% endif %}
Trades {{ trades_count }}
Total commission ({% if commissions == "net" %}net{% else %}gross{% endif %}) ${{ total_commission|floatformat:2 }}

{{ month_name }} {{ year }} {% if pnl_unit == "$" %} ${{ current_month_total_pnl|floatformat:0 }} {% else %} {{ current_month_total_r|floatformat:1 }}R {% endif %}

{% for week in grid %} {% for day in week.days %} {% endfor %} {% if pnl_unit == "$" %} {% else %} {% endif %} {% endfor %}
MonTueWedThuFriWeek ({{ pnl_unit }})
0 %}calendar-cell-win{% elif day.pnl < 0 %}calendar-cell-loss{% endif %}{% else %}{% if day.r > 0 %}calendar-cell-win{% elif day.r < 0 %}calendar-cell-loss{% endif %}{% endif %}">
{{ day.date.day }} {% if day.has_note %}📝{% endif %}
{% if pnl_unit == "$" %} {% if day.pnl is not None %}
${{ day.pnl|floatformat:0 }}
{% endif %} {% else %} {% if day.r is not None %}
{{ day.r|floatformat:1 }}R
{% endif %} {% endif %} {% if day.trades_count %}
{{ day.trades_count }} trade{{ day.trades_count|pluralize }}
{% endif %}
{% if week.total_pnl %}${{ week.total_pnl|floatformat:0 }}{% else %}—{% endif %} {% if week.total_r %}{{ week.total_r|floatformat:1 }}R{% else %}—{% endif %}
{% include "journal/_week_summaries.html" with grid=grid %} {% if preceding_months %}

Earlier months

{% for pm in preceding_months %}

{{ pm.month_name }} {{ pm.year }} {% if pnl_unit == "$" %} ${{ pm.total_pnl|floatformat:0 }} {% else %} {{ pm.total_r|floatformat:1 }}R {% endif %}

{% for week in pm.grid %} {% for day in week.days %} {% endfor %} {% if pnl_unit == "$" %} {% else %} {% endif %} {% endfor %}
MTWTFWk
0 %}calendar-cell-win{% elif day.pnl < 0 %}calendar-cell-loss{% endif %}{% else %}{% if day.r > 0 %}calendar-cell-win{% elif day.r < 0 %}calendar-cell-loss{% endif %}{% endif %}">
{{ day.date.day }} {% if day.has_note %}📝{% endif %}
{% if pnl_unit == "$" %} {% if day.pnl is not None %}
${{ day.pnl|floatformat:0 }}
{% endif %} {% else %} {% if day.r is not None %}
{{ day.r|floatformat:1 }}R
{% endif %} {% endif %}
{% if week.total_pnl %}${{ week.total_pnl|floatformat:0 }}{% else %}—{% endif %} {% if week.total_r %}{{ week.total_r|floatformat:1 }}R{% else %}—{% endif %}
{% endfor %}
{% endif %} {% endblock %}