Commit Graph

8 Commits

Author SHA1 Message Date
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
Huijae Lee ee3d499894
Merge branch 'TauricResearch:main' into save_results 2025-06-25 08:43:19 +09:00
Edward Sun 52284ce13c fixed anthropic support. Anthropic has different format of response when it has tool calls. Explicit handling added 2025-06-21 12:51:34 -07:00
Edward Sun da84ef43aa main works, cli bugs 2025-06-15 22:20:59 -07:00
ZeroAct 417b09712c refactor 2025-06-12 13:53:28 +09:00
ZeroAct 9647359246 save reports & logs under results_dir 2025-06-12 11:25:07 +09:00
maxer137 99789f9cd1 Add support for other backends, such as OpenRouter and olama
This aims to offer alternative OpenAI capable api's.
This offers people to experiment with running the application locally
2025-06-11 14:19:25 +02:00
Yijia-Xiao cc97cb6d5d chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00