Merged
Conversation
- 升级 ruff 至 v0.15.9 和 mypy 至 v1.20.0 以获取最新功能与修复 - 将两个文件中的多行条件表达式用括号包裹,以符合 PEP 8 并提高可读性
- 优化模块现在接受 Dict[str, DataFrame] 格式的多品种数据 - 为 run_grid_search 和 run_walk_forward 添加数据符号推断与校验 - 重构 walk-forward 切窗逻辑以使用统一时间轴,支持多品种时间对齐 - 改进 ML 验证配置的滚动训练触发逻辑,支持相对步长和测试窗口回退 - 确保训练信号在对应 bar 的 on_bar 回调后执行 - 添加相关单元测试验证多品种数据支持和训练调度行为
- 扩展网格搜索和WFO回测以支持多品种数据映射 - 为机器学习策略添加测试窗口配置选项 - 修复WFO回测中预热期过滤和DataFrame时间戳切片逻辑 - 添加相关单元测试验证多品种回测功能
- 为 QuantModel 添加 clone() 方法,支持为每个训练窗口创建独立副本 - 在策略事件处理中集成模型激活机制,新模型在下一根 bar 生效 - 新增 is_model_ready() 和 current_validation_window() 接口,供用户查询模型状态 - 更新示例代码和文档,说明兼容模式下的模型生命周期 - 修复测试用例以支持新的生命周期管理逻辑
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.