Commit Graph

1 Commits

Author SHA1 Message Date
Andrew Kaszubski 3d1267a818 feat(backtest): add ReportGenerator for PDF/HTML reports - Issue #44 (44 tests)
Implements comprehensive report generation for backtest results:
- ReportFormat, ReportSection, ChartType enums for configuration
- ReportConfig dataclass for customization (format, sections, colors)
- ChartData, ReportContent, ReportResult dataclasses
- ReportGenerator class with multi-format output:
  - HTML reports with embedded CSS styling
  - PDF reports (with HTML fallback)
  - JSON structured data export
  - Markdown text reports
- SVG chart generation for equity curves and drawdowns
- Monthly returns heatmap visualization
- Configurable color schemes and sections

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 23:16:38 +11:00