# TradingAgents Documentation ## ๐Ÿ“š Documentation Structure This documentation is organized into language-specific directories to serve different user communities: ### ๐Ÿ‡บ๐Ÿ‡ธ English Documentation (`en-US/`) **Status**: โœ… Included in version control Contains comprehensive guides for English-speaking users: - **Configuration Guide** (`configuration_guide.md`) - Detailed instructions for modifying system configurations and agent prompts - **Quick Reference** (`quick_reference.md`) - Quick lookup card for common modifications and file locations - **Prompt Templates** (`prompt_templates.md`) - Ready-to-use prompt templates for various agent roles ### ๐Ÿ‡จ๐Ÿ‡ณ Chinese Documentation (`zh-CN/`) **Status**: ๐Ÿšซ Excluded from version control (local development only) Contains detailed guides in Chinese for local development and customization: - **้…็ฝฎๆŒ‡ๅ—** (`configuration_guide.md`) - ่ฏฆ็ป†็š„้…็ฝฎไฟฎๆ”นๅ’Œๆ็คบ่ฏๅฎšๅˆถๆŒ‡ๅ— - **ๅฟซ้€Ÿๅ‚่€ƒ** (`quick_reference.md`) - ๆ–ฐๆ‰‹ๅ‹ๅฅฝ็š„ๅฟซ้€ŸๆŸฅๆ‰พๅก็‰‡ - **ๆ็คบ่ฏๆจกๆฟๅบ“** (`prompt_templates.md`) - ๅฏ็›ดๆŽฅไฝฟ็”จ็š„ๆ็คบ่ฏๆจกๆฟ ## ๐ŸŽฏ Quick Start ### For English Users Navigate to [`en-US/`](en-US/) directory for: - System configuration instructions - Prompt customization guides - Template libraries - Troubleshooting tips ### For Chinese Users Navigate to `zh-CN/` directory (local development) for: - ็ณป็ปŸ้…็ฝฎ่ฏดๆ˜Ž - ๆ็คบ่ฏๅฎšๅˆถๆŒ‡ๅ— - ๆจกๆฟๅบ“ - ๆ•…้šœๆŽ’้™คๆŠ€ๅทง ## ๐Ÿ“– Available Guides | Guide | English | Chinese | Description | |-------|---------|---------|-------------| | **Configuration Guide** | [๐Ÿ“– View](en-US/configuration_guide.md) | ๐Ÿ“– View (Local) | Complete guide for modifying configurations and prompts | | **Quick Reference** | [๐Ÿš€ View](en-US/quick_reference.md) | ๐Ÿš€ View (Local) | Quick lookup for common modifications | | **Prompt Templates** | [๐ŸŽฏ View](en-US/prompt_templates.md) | ๐ŸŽฏ View (Local) | Ready-to-use prompt templates | ## ๐Ÿ”ง Key Topics Covered ### Configuration Management - LLM provider settings (OpenAI, Google, Anthropic) - **Google Models**: Full support for Gemini 2.0/2.5 series โญ **Currently Configured** - **Current Setup**: Using `gemini-2.0-flash` for both deep and quick thinking - Debate and discussion parameters - Cache and performance settings - API configuration and limits ### Agent Customization - Market Analyst prompts - Fundamentals Analyst prompts - News and Social Media Analyst prompts - Bull/Bear Researcher prompts - Trader decision prompts - Reflection system prompts ### Advanced Features - Multi-language support - Risk management templates - Performance optimization - Custom prompt creation - Environment-specific configurations ## ๐Ÿš€ Getting Started 1. **Choose Your Language**: Select the appropriate documentation directory 2. **Start with Quick Reference**: Get familiar with key file locations 3. **Read Configuration Guide**: Understand the system architecture 4. **Use Prompt Templates**: Copy and customize templates for your needs 5. **Test Changes**: Always test modifications in a safe environment ## ๐Ÿ› ๏ธ Development Workflow ### For Contributors 1. **English Documentation**: - Modify files in `en-US/` directory - Commit changes to version control - These will be available to all users 2. **Chinese Documentation**: - Modify files in `zh-CN/` directory - Keep changes local (not committed) - Use for local development and testing ### Version Control Policy - โœ… **Include**: `en-US/` directory and all English documentation - ๐Ÿšซ **Exclude**: `zh-CN/` directory (configured in `.gitignore`) - โœ… **Include**: This README file for navigation ## ๐Ÿ“ Contributing When contributing to documentation: 1. **Update English docs** for features that should be shared with the community 2. **Keep Chinese docs local** for development and customization purposes 3. **Maintain consistency** between language versions when possible 4. **Test all examples** before documenting them ## ๐Ÿ”— Related Resources - **Project Repository**: Main TradingAgents codebase - **Configuration Files**: `tradingagents/default_config.py`, `main.py` - **Agent Files**: `tradingagents/agents/` directory - **Test Files**: `tests/` directory (local only) ## ๐Ÿ“ž Support For questions about: - **Configuration**: See Configuration Guide - **Prompts**: See Prompt Templates - **Quick Help**: See Quick Reference - **Issues**: Submit to project repository --- ๐Ÿ’ก **Note**: This documentation structure allows for both community sharing (English) and local customization (Chinese) while maintaining clean version control.