diff --git a/static/index.html b/static/index.html index 8c3d6d08..aafe4753 100644 --- a/static/index.html +++ b/static/index.html @@ -2052,12 +2052,12 @@ function renderStrategyTable(strategies) { // 条件格式色条:计算每列 min/max,单元格背景按相对大小画色条 const CURRENT_STRATEGY = 'v7.1'; const ranges = {}; - const cols = ['composite','universality_score','capital_final','cagr_pct','total_trades','avg_hold_days','win_rate','avg_profit_pct','sharpe_ratio','profit_factor','portfolio_max_dd_pct']; + const cols = ['composite','universality_score','full_return_pct','capital_final','cagr_pct','total_trades','avg_hold_days','win_rate','avg_profit_pct','sharpe_ratio','profit_factor','portfolio_max_dd_pct']; for (const c of cols) { let mn = Infinity, mx = -Infinity; for (const s of strategies) { const st = s.summary_stats || {}; const pf = st.portfolio || {}; - const v = c === 'composite' ? s._composite : (c === 'universality_score' ? (st.universality || {}).score : ((c in pf) ? pf[c] : st[c])); + const v = c === 'composite' ? s._composite : (c === 'universality_score' ? (st.universality || {}).score : (c === 'full_return_pct' ? (st.portfolio_full || {}).total_return_pct : ((c in pf) ? pf[c] : st[c]))); if (v != null) { mn = Math.min(mn, v); mx = Math.max(mx, v); } } ranges[c] = { mn: mn === Infinity ? 0 : mn, mx: mx === -Infinity ? 1 : mx }; @@ -2108,7 +2108,7 @@ function renderStrategyTable(strategies) { '