mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 19:14:19 +08:00
4 个独立修复: 1. 寻优跳过参数范围检查:Param.validate 加 skip_bounds 参数, RegisteredStrategy.build 透传,ParamGridOptimizer 传 skip_bounds=True。 修复寻优时 fast=250 被 max_value=60 拦截的问题(探索超范围值是寻优目的)。 2. 对比页支持组合回测:CompareView 新增 extractComparable() 统一提取净值+指标, 支持单标的(performance/equity_curve)和组合(total_performance/combined_equity)。 修复勾选组合回测任务报「非单标的回测」错误。 3. K线x轴日线显示完整年份:isIntraday 判断从 length>10 改为检查时分秒非零 (日线归一化后带 T00:00:00 后缀,长度也 >10 导致误判为分钟线,slice 砍年份)。 4. 寻优跳转填充参数:BacktestView 加 useRoute(),onMounted 读 query.strategy + query.params,await nextTick 后覆盖(避免 StrategyPicker watch 重置)。 修复寻优点「查看」跳转后参数未填充、仍用默认值的问题。 测试:823 passed, mypy 211 files OK, vue-tsc OK