TradingAgents/tests/unit/backtest
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
..
test_backtest_engine.py feat(backtest): add BacktestEngine with slippage and commission models - Issue #42 (57 tests) 2025-12-26 22:55:18 +11:00
test_report_generator.py feat(backtest): add ReportGenerator for PDF/HTML reports - Issue #44 (44 tests) 2025-12-26 23:16:38 +11:00
test_results_analyzer.py feat(backtest): add ResultsAnalyzer for metrics and trade analysis - Issue #43 (42 tests) 2025-12-26 23:03:02 +11:00