From a3078abab78e6045862d6c1f6d2f2a3cf15de615 Mon Sep 17 00:00:00 2001 From: xxm Date: Sun, 16 Aug 2026 20:47:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B8=A9=E5=8C=BA=E8=A1=A8/=E6=95=B4?= =?UTF-8?q?=E4=BD=93=E8=A1=A8=E7=AC=94=E6=95=B0=E5=88=97=E5=88=86=E5=BC=80?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=20=E6=88=90=E4=BA=A4=E6=95=B0/=E4=BF=A1?= =?UTF-8?q?=E5=8F=B7=E6=95=B0(=E6=82=AC=E5=81=9C=E7=9C=8B=E4=BF=A1?= =?UTF-8?q?=E5=8F=B7=E6=80=BB=E6=95=B0)=E2=80=94=E2=80=94s2=5Fpanic=2042/2?= =?UTF-8?q?255,=20b=5Ftd1=20353/5000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index ab00b89f..0b6a46ac 100644 --- a/static/index.html +++ b/static/index.html @@ -2553,7 +2553,9 @@ function renderStrategyTable(strategies) { cell('full_return_pct', retShow, v => v + '%', 'font-bold text-amber-300') + cell('capital_final', capShow, v => '¥' + (v/10000).toFixed(0) + '万') + cell('cagr_pct', cagrShow, v => v + '%', hl(cagrShow, best.cagr_pct)) + - cell('total_trades', tradesShow, v => (v > 999 ? Math.round(v/1000) + 'k' : v), '', false) + + (st.portfolio && st.portfolio.positions_taken != null + ? '' + st.portfolio.positions_taken + (tradesShow != null && tradesShow !== st.portfolio.positions_taken ? ' /' + (tradesShow > 999 ? Math.round(tradesShow/1000) + 'k' : tradesShow) + '' : '') + '' + : cell('total_trades', tradesShow, v => (v > 999 ? Math.round(v/1000) + 'k' : v), '', false)) + cell('avg_hold_days', holdShow, v => v + 'd') + cell('win_rate', wrShow, v => v + '%', (isOverall ? hl(wrShow, best.win_rate) : (wrShow >= 50 ? 'text-green-400' : 'text-red-400'))) + cell('avg_profit_pct', pnlShow, v => v + '%', (pnlShow || 0) >= 0 ? 'text-green-400' : 'text-red-400') +