{% extends "base.html" %} {% block title %}统计看板 · {{ app_name }}{% endblock %} {% block content %}

统计看板

默认按北京时间今日真实平仓统计;对账/去重产生的假平仓已排除。 {% if selected_period == 'today' and stats.day %}当前:{{ stats.day }}{% endif %} {% if stats.skipped_synthetic %} · 已排除假平仓 {{ stats.skipped_synthetic }} 笔{% endif %} {% if stats.skipped_dup_ticket %} · 已排除重复单号 {{ stats.skipped_dup_ticket }} 笔{% endif %}

交易列表 统计看板
今日重置
成交笔数
{{ stats.total }}
已平 {{ stats.closed }} · 持仓中 {{ stats.open_pos }}
胜率
{{ '%.1f'|format(stats.win_rate) }}%
盈 {{ stats.wins }} · 亏 {{ stats.losses }} · 平 {{ stats.breakeven }}
合计盈亏{% if selected_period=='today' %}(今日已平){% endif %}
{{ '%.2f'|format(stats.profit) }}
笔均 {{ '%.2f'|format(stats.avg_profit) }}
平均持仓时间
{{ stats.avg_hold }}
有开仓时间的样本参与计算
盈亏因子
{% if stats.profit_factor is none %}— {% elif stats.profit_factor >= 999 %}∞ {% else %}{{ '%.2f'|format(stats.profit_factor) }}{% endif %}
毛利 {{ '%.2f'|format(stats.gross_win) }} / 毛亏 {{ '%.2f'|format(stats.gross_loss) }}
入场形式标注
{{ stats.annotated }} / {{ stats.total }}
未标注 {{ stats.unannotated }} · 问题标注 {{ stats.issue_tagged }}

按大类(顺势 / 反转 / 其他)

{% for g in stats.by_category %} {% else %} {% endfor %}
大类笔数胜率盈亏平均持仓
{{ g.label }} {{ g.count }} {{ '%.1f'|format(g.win_rate) }}% {{ '%.2f'|format(g.profit) }} {{ g.avg_hold }}
暂无数据

按入场形式(细项)

{% for g in stats.by_style %} {% else %} {% endfor %}
形式笔数胜率盈亏平均持仓
{{ g.label }} {{ g.count }} {{ '%.1f'|format(g.win_rate) }}% {{ '%.2f'|format(g.profit) }} {{ g.avg_hold }}
暂无数据

按持仓时间

{% for g in stats.by_hold %} {% else %} {% endfor %}
区间笔数胜率盈亏平均持仓
{{ g.label }} {{ g.count }} {{ '%.1f'|format(g.win_rate) }}% {{ '%.2f'|format(g.profit) }} {{ g.avg_hold }}
暂无数据

按方向

{% for g in stats.by_side %} {% else %} {% endfor %}
方向笔数胜率盈亏平均持仓
{{ g.label }} {{ g.count }} {{ '%.1f'|format(g.win_rate) }}% {{ '%.2f'|format(g.profit) }} {{ g.avg_hold }}
暂无数据

按主要问题

一笔可勾 1~2 个问题,会分别计入对应行。

{% for g in stats.by_issue %} {% else %} {% endfor %}
问题笔数胜率盈亏平均持仓
{{ g.label }} {{ g.count }} {{ '%.1f'|format(g.win_rate) }}% {{ '%.2f'|format(g.profit) }} {{ g.avg_hold }}
暂无问题标注

按机器

{% for g in stats.by_machine %} {% else %} {% endfor %}
机器笔数胜率盈亏笔均平均持仓
{{ g.label }} {{ g.count }} {{ '%.1f'|format(g.win_rate) }}% {{ '%.2f'|format(g.profit) }} {{ '%.2f'|format(g.avg_profit) }} {{ g.avg_hold }}
暂无数据
{% endblock %}