diff --git a/static/index.html b/static/index.html index 93085df4..f895159f 100644 --- a/static/index.html +++ b/static/index.html @@ -2479,9 +2479,9 @@ function renderStrategyTable(strategies) { ''; }; const renderRegimeTable = (strats, rg, isCur, marketLabel, tempHtml) => { - // 2026-08-15 单温区表格:该市场在该温区有数据的所有可用策略(按该温区胜率降序),激活策略高亮 + // 2026-08-15 方案A:策略只在适应温区(best_regime)表显示一行——所有列都是该策略在适应温区的数据 const metas = strats - .filter(s => (s.regime_winrates || {})[rg] && (s.regime_winrates || {})[rg].trades != null) + .filter(s => s.best_regime === rg && (s.regime_winrates || {})[rg] && (s.regime_winrates || {})[rg].trades != null) .sort((x, y) => ((y.regime_winrates || {})[rg].win_rate || -1) - ((x.regime_winrates || {})[rg].win_rate || -1)); if (!metas.length) return ''; const meta = REGIME_META[rg] || {icon: '🌐', name: rg}; @@ -2489,7 +2489,7 @@ function renderStrategyTable(strategies) { '
' + marketLabel + ' · ' + meta.icon + ' ' + meta.name + (isCur ? ' 当前温区' : '') + (tempHtml || '') + '(' + metas.length + '个策略)' + - '' + (isCur ? '当前温区匹配即激活' : '该温区下有数据(参考)') + '
' + + '' + (isCur ? '当前温区匹配即激活' : '策略适应温区(best_regime)') + '' + '
' + th('version', '版本', 'text-left') + th('name', '名称', 'text-left') + th('win_rate', '胜率', 'text-right') + th('avg_profit', '平均收益', 'text-right') + th('trades', '笔数', 'text-right') +