Commit Graph

6 Commits

Author SHA1 Message Date
0x7d0 07d0bcccb9 feat: Add comprehensive portfolio analysis system
Add multi-stock portfolio analysis capabilities:
- Parallel analysis of multiple positions using existing trading agents
- Portfolio-level metrics: correlation, beta, volatility, Sharpe ratio, diversification
- Risk assessment: concentration risk, sector exposure, correlation analysis
- Rebalancing recommendations based on AI analysis
- Comprehensive PDF reports with visualizations:
  * Allocation pie chart
  * Correlation heatmap
  * Sector distribution
  * Position performance charts
- Interactive CLI for portfolio input
- Programmatic API for custom integration
- Full backward compatibility with single-stock analysis

New modules:
- tradingagents/portfolio/: Core portfolio models, metrics, and graph
- cli/portfolio_cli.py: Interactive portfolio analysis interface
- cli/portfolio_pdf_generator.py: Portfolio-specific PDF generation
- PORTFOLIO_ANALYSIS.md: Comprehensive documentation

New command: python -m cli.main analyze-portfolio

Dependencies added: seaborn for correlation heatmaps

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 11:58:31 +02:00
0x7d0 1f6256d346 feat: Add PDF report generation with charts for trading analysis
- Add comprehensive PDF report generation with all analysis stages
- Include market data visualizations: price chart, volume chart, and technical indicators (RSI/MACD)
- Fix text parsing issues with proper HTML/markdown escaping
- Add reportlab and matplotlib dependencies for PDF and chart generation
- PDF reports saved automatically after analysis completion in results directory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 18:46:37 +02:00
Yijia Xiao 26c5ba5a78
Revert "Docker support and Ollama support (#47)" (#57)
This reverts commit 78ea029a0b.
2025-06-26 00:07:58 -04:00
Geeta Chauhan 78ea029a0b
Docker support and Ollama support (#47)
- Added support for running CLI and Ollama server via Docker
- Introduced tests for local embeddings model and standalone Docker setup
- Enabled conditional Ollama server launch via LLM_PROVIDER
2025-06-25 23:57:05 -04:00
Atharv Sabde 11804f88ff
Updated requirements.txt based on latest commit
PULL REQUEST: Add support for other backends, such as OpenRouter and Ollama

it had two requirments missing. added those
2025-06-20 15:58:22 +05:30
Yijia-Xiao cc97cb6d5d chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00