31 lines
920 B
Plaintext
31 lines
920 B
Plaintext
# TradingAgents Production Environment Configuration
|
|
# Copy this file to .env and fill in your actual values for Railway deployment
|
|
|
|
# Required API Keys
|
|
OPENAI_API_KEY=your_openai_api_key_here
|
|
FINNHUB_API_KEY=your_finnhub_api_key_here
|
|
|
|
# Optional but Recommended
|
|
SERPAPI_API_KEY=your_serpapi_key_here
|
|
REDDIT_CLIENT_ID=your_reddit_client_id
|
|
REDDIT_CLIENT_SECRET=your_reddit_client_secret
|
|
|
|
# Production Server Configuration
|
|
TRADINGAGENTS_API_HOST=0.0.0.0
|
|
TRADINGAGENTS_API_PORT=8000
|
|
|
|
# LLM Configuration for Production
|
|
DEEP_THINK_MODEL=gpt-4o
|
|
QUICK_THINK_MODEL=gpt-4o-mini
|
|
BACKEND_URL=https://api.openai.com/v1
|
|
|
|
# Data Directories (Railway will use default paths)
|
|
# TRADINGAGENTS_RESULTS_DIR=/app/results
|
|
# TRADINGAGENTS_DATA_DIR=/app/data
|
|
|
|
# Security Settings for Production
|
|
CORS_ORIGINS=https://your-domain.com,https://your-app.railway.app
|
|
|
|
# Optional: Performance Settings
|
|
MAX_DEBATE_ROUNDS=3
|
|
MAX_RISK_DISCUSS_ROUNDS=2 |