From d0a23847bdc54071e52d0e38f9356c6be1fab81f Mon Sep 17 00:00:00 2001 From: xxm Date: Sun, 16 Aug 2026 20:59:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B8=A9=E5=8C=BA=E8=A1=A8=E7=AC=94?= =?UTF-8?q?=E6=95=B0=E5=88=97=E8=A1=A5=E5=9B=9E=20=E6=88=90=E4=BA=A4/?= =?UTF-8?q?=E4=BF=A1=E5=8F=B7=20=E5=88=86=E5=BC=80=E6=98=BE=E7=A4=BA(?= =?UTF-8?q?=E5=89=8D=E6=AC=A1=E8=A2=ABguard=E5=9B=9E=E6=BB=9A=E5=8F=AA?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BA=86=E6=95=B4=E4=BD=93=E8=A1=A8)?= 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 0b6a46ac..9ccf3bfe 100644 --- a/static/index.html +++ b/static/index.html @@ -2629,7 +2629,9 @@ function renderStrategyTable(strategies) { '' + cell('win_rate', wr, v => v + '%', wr != null && wr >= 50 ? 'text-green-400' : 'text-red-400') + cell('avg_profit_pct', pnl, v => v + '%', (pnl || 0) >= 0 ? 'text-green-400' : 'text-red-400') + - cell('total_trades', tr, v => v, '', false) + + (rw && rw.positions_taken != null + ? '' + rw.positions_taken + (tr != null && tr !== rw.positions_taken ? ' /' + tr + '' : '') + '' + : cell('total_trades', tr, v => v, '', false)) + cell('avg_hold_days', rw.avg_hold_days != null ? rw.avg_hold_days : null, v => v + 'd') + cell('cagr_pct', cagr, v => v + '%', 'font-bold text-amber-300') + cell('composite', comp, v => v, 'font-bold text-amber-300') + @@ -2701,7 +2703,7 @@ function renderStrategyTable(strategies) { th('version', '版本', 'text-left') + th('name', '名称', 'text-left') + '资格' + '可用' + - th('win_rate', '胜率', 'text-right') + th('avg_profit', '平均收益', 'text-right') + th('trades', '笔数', 'text-right') + + th('win_rate', '胜率', 'text-right') + th('avg_profit', '平均收益', 'text-right') + th('trades', '成交/信号', 'text-right', '实际入场笔数 / 触发信号数(组合模拟10等分仓位下实际成交)') + th('hold', '均持仓', 'text-right') + th('cagr', '年化', 'text-right') + th('composite', '综合', 'text-right') + th('sharpe', '夏普', 'text-right') + th('profit_factor', '盈亏比', 'text-right') + th('universality', '普适', 'text-right') + th('max_dd', '回撤', 'text-right') +