From 2d9766ffd2fd3a246ce7f6249a95486dab6125c7 Mon Sep 17 00:00:00 2001 From: hmo Date: Wed, 29 Jul 2026 23:46:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=BC=E5=90=88=E5=88=86=E7=9A=84?= =?UTF-8?q?=E6=80=BB=E6=94=B6=E7=9B=8A/=E5=9B=9E=E6=92=A4=E6=94=B9MC?= =?UTF-8?q?=E5=85=A8=E5=8F=82=E4=B8=8E=E5=8F=A3=E5=BE=84=E2=80=94=E2=80=94?= =?UTF-8?q?=E9=9B=86=E4=B8=AD=E4=BB=93=E6=8C=91=E8=A3=85=E8=BF=90=E6=B0=94?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E6=B1=A1=E6=9F=93=E8=AF=84=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/index.html b/static/index.html index 578f9647..6a4231a1 100644 --- a/static/index.html +++ b/static/index.html @@ -2008,11 +2008,13 @@ function renderStrategyTable(strategies) { for (const s of strategies) { const st = s.summary_stats || {}; const pf = st.portfolio || {}; if (st.total_trades == null) { s._composite = null; continue; } - const ret = Math.min(pf.total_return_pct || 0, 100) / 100 * 30; + // 综合分用 MC 全参与口径(消除集中仓挑装运气,2026-07-29 老爸指正) + const pff = st.portfolio_full || pf; // portfolio_full 优先(MC),无则回退 + const ret = Math.min(pff.total_return_pct || 0, 100) / 100 * 30; const wr = (st.win_rate || 0) / 100 * 20; const sh = Math.min(Math.max(st.sharpe_ratio || 0, 0), 20) / 20 * 20; const pfc = Math.min(st.profit_factor || 0, 5) / 5 * 15; - const dd = (1 - Math.min(pf.portfolio_max_dd_pct || 0, 50) / 50) * 15; + const dd = (1 - Math.min(pff.portfolio_max_dd_pct || 0, 50) / 50) * 15; s._composite = Math.round(ret + wr + sh + pfc + dd); } // 保存数据用于列排序