TradingAgents/tradingagents
Zhaolin99 a7e69fbad8 feat: Implement comprehensive PDF report generation system
🎯 Major Features Added:
- Automatic PDF generation after each analysis
- Playwright-based PDF engine with WeasyPrint fallback
- Cross-platform compatibility (no system dependencies)
- Professional structured reports matching terminal output

📋 Report Structure:
- I. Analyst Team Reports (Market/Social/News/Fundamentals)
- II. Research Team Decision (Bull/Bear/Research Manager)
- III. Trading Team Plan (Trader recommendations)
- IV. Risk Management Team Decision (Risk analysts)
- V. Portfolio Manager Decision (Final decision)

🏗️ Architecture:
- New tradingagents/reports/ module with organized structure
- generators/: PDF generation engines
- formatters/: Report structure and formatting
- converters/: Content conversion utilities
- Comprehensive documentation and error handling

🔧 Technical Details:
- Added playwright>=1.40.0 dependency
- Integrated into CLI workflow (cli/main.py)
- Rich HTML export with professional styling
- Automatic file generation: analysis_report.pdf + .html backup
- File sizes: ~900KB PDF, ~45KB HTML

 Benefits:
- Zero manual intervention required
- High-quality professional reports
- Structured content preservation
- Robust error handling and fallbacks
2025-08-04 14:40:51 -07:00
..
agents Update README and fix NameError in agent_states.py 2025-08-02 19:02:56 -07:00
dataflows Local Ollama (#53) 2025-06-26 00:27:01 -04:00
graph Fix: Prevent infinite loops, enable reflection, and improve logging 2025-07-03 17:43:40 +05:00
reports feat: Implement comprehensive PDF report generation system 2025-08-04 14:40:51 -07:00
default_config.py Revert "Docker support and Ollama support (#47)" (#57) 2025-06-26 00:07:58 -04:00