feat(rotation): 增加最新调仓信号展示功能

- 配置中取消固定end_date,改为默认使用当前日期
- 添加打印最新调仓信号的功能,显示持仓明细及调出品种
- 在报告生成流程中调用最新调仓信号打印函数
- 图表展示中新增最新调仓信号表格,支持颜色区分调入、调出和维持
- 优化报告图表布局,调整画布高度适应信号表内容
- 删除无用test.py测试脚本及相关冗余代码
This commit is contained in:
2026-03-19 00:22:25 +08:00
parent 02ba6a5df2
commit 9b154a1a25
4 changed files with 262 additions and 106 deletions

View File

@@ -31,7 +31,7 @@ code_list:
# ==================== 回测参数 ====================
start_date: "2018-01-01"
end_date: "2025-03-17"
# end_date: "2025-03-17"
# ==================== 因子参数 ====================
# 动量/趋势窗口期(天数)