TradingAgents/tradingagents
Claude bf25282518
feat: Add multi-LLM support, paper trading, web UI, and Docker deployment
This major update adds four powerful features to TradingAgents:

1. Multi-LLM Provider Support
   - LLMFactory for OpenAI, Anthropic Claude, and Google Gemini
   - Easy provider switching via configuration
   - Recommended models for each provider
   - Updated TradingAgentsGraph to use factory pattern

2. Paper Trading Integration
   - BaseBroker abstract interface for consistency
   - AlpacaBroker implementation with free paper trading
   - Support for market, limit, stop, and stop-limit orders
   - Real-time position tracking and P&L calculation
   - Example scripts for basic and integrated trading

3. Web Interface
   - Beautiful Chainlit-based GUI
   - Chat interface for stock analysis
   - Interactive trading commands
   - Portfolio management
   - Settings configuration
   - Real-time updates

4. Docker Support
   - Production-ready Dockerfile
   - Docker Compose for multi-service setup
   - Persistent data volumes
   - Optional Jupyter notebook service
   - Comprehensive deployment documentation

Additional improvements:
- Enhanced .env.example with all provider configurations
- Comprehensive documentation (NEW_FEATURES.md, DOCKER.md)
- Broker integration guide
- Example scripts for all features
- Verification script to test new features
- Made example scripts executable

Files changed:
- New: tradingagents/llm_factory.py (400+ lines)
- New: tradingagents/brokers/ (base.py, alpaca_broker.py, __init__.py)
- New: web_app.py (Chainlit web interface)
- New: Dockerfile, docker-compose.yml, .dockerignore
- New: examples/use_claude.py, paper_trading_alpaca.py, tradingagents_with_alpaca.py
- New: NEW_FEATURES.md, DOCKER.md, tradingagents/brokers/README.md
- New: verify_new_features.py
- Modified: tradingagents/graph/trading_graph.py (use LLMFactory)
- Modified: .env.example (added all providers)

All features verified and tested.
2025-11-14 23:36:16 +00:00
..
agents minor fix 2025-09-27 00:04:59 +08:00
backtest feat: Add production-ready Portfolio Management and Backtesting Framework 2025-11-14 22:44:18 +00:00
brokers feat: Add multi-LLM support, paper trading, web UI, and Docker deployment 2025-11-14 23:36:16 +00:00
dataflows optimized yfin fetching to be much faster 2025-10-06 19:58:01 -07:00
graph feat: Add multi-LLM support, paper trading, web UI, and Docker deployment 2025-11-14 23:36:16 +00:00
portfolio feat: Add production-ready Portfolio Management and Backtesting Framework 2025-11-14 22:44:18 +00:00
security feat: Add comprehensive security improvements and documentation 2025-11-14 22:16:44 +00:00
default_config.py feat: Add comprehensive security improvements and documentation 2025-11-14 22:16:44 +00:00
llm_factory.py feat: Add multi-LLM support, paper trading, web UI, and Docker deployment 2025-11-14 23:36:16 +00:00
utils.py feat: Add comprehensive security improvements and documentation 2025-11-14 22:16:44 +00:00