feat(visualization): 添加策略报告生成器

- 创建 visualization/report_generator 模块
- 支持生成精美的 HTML 策略报告
- 包含8个 KPI 指标卡片(收益、胜率、夏普比等)
- 集成 ECharts 交互式图表(净值曲线、月度收益、盈亏分布)
- 支持按日期和品种筛选调仓记录
- 使用 Jinja2 模板引擎 + Bootstrap 5 样式
- 支持打印为 PDF
- 提供 CLI 和 Python API 两种使用方式
This commit is contained in:
2026-05-08 22:06:40 +08:00
parent 519a4144e6
commit 4d784f961a
3 changed files with 410 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
"""
ETF轮动策略报告生成器
"""
from .generate_report import ReportGenerator
__all__ = ['ReportGenerator']