diff --git a/static/index.html b/static/index.html index d9acf2ac..1a85774e 100644 --- a/static/index.html +++ b/static/index.html @@ -1956,14 +1956,18 @@ function renderStrategyTable(strategies) { const el = document.getElementById('strategyList'); if (!strategies.length) { el.innerHTML = '
| 版本 | 名称 | ' + - '改进假设 | ' + - '交易数 | 胜率 | ' + + '总收益 | ' + + '最终资产 | ' + + '年化 | ' + + '胜率 | ' + '平均收益 | 夏普 | ' + - '盈亏比 | 最大回撤 | ' + + '盈亏比 | 资产回撤 | ' + '操作 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ' + s.version + ' | ' + - '' + (s.name || '') + ' | ' + - '' + (s.hypothesis || s.summary || '') + ' | ' + - '' + (hasResult ? st.total_trades + (smallSample ? '⚠️' : '') : '—') + ' | ' + + '' + (s.name || '') + (smallSample ? ' ⚠️' : '') + ' | ' + + '' + (pf.total_return_pct != null ? pf.total_return_pct + '%' : '—') + ' | ' + + '' + (pf.capital_final != null ? '¥' + (pf.capital_final/10000).toFixed(0) + '万' : '—') + ' | ' + + '' + (pf.cagr_pct != null ? pf.cagr_pct + '%' : '—') + ' | ' + '' + (st.win_rate != null ? st.win_rate + '%' : '—') + ' | ' + '' + (st.avg_profit_pct != null ? st.avg_profit_pct + '%' : '—') + ' | ' + '' + (st.sharpe_ratio != null ? st.sharpe_ratio : '—') + ' | ' + '' + (st.profit_factor != null ? st.profit_factor : '—') + ' | ' + - '' + (st.max_drawdown_pct != null ? st.max_drawdown_pct + '%' : '—') + ' | ' + + '' + (pf.portfolio_max_dd_pct != null ? pf.portfolio_max_dd_pct + '%' : '—') + ' | ' + '' + '' + ' |