Dedupe duplicate ticket closes so stats match MT5 today PnL.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-21 19:39:08 +08:00
parent 1d2d4bbaff
commit dcef9f1d61
3 changed files with 83 additions and 12 deletions
+1
View File
@@ -6,6 +6,7 @@
默认按北京时间<strong>今日真实平仓</strong>统计;对账/去重产生的假平仓已排除。
{% 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 %}
</p>
<div style="display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap">