{% extends "base.html" %}
{% block title %}统计看板 · {{ app_name }}{% endblock %}
{% block content %}
成交笔数
{{ 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 }}