31 lines
895 B
Plaintext
31 lines
895 B
Plaintext
# TradingAgents Environment Variables
|
|
# Copy this file to .env and update with your actual values
|
|
|
|
# Required API Keys
|
|
OPENAI_API_KEY=your_openai_api_key_here
|
|
FINNHUB_API_KEY=your_finnhub_api_key_here
|
|
|
|
# Optional API Keys (for alternative LLM providers)
|
|
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
GOOGLE_API_KEY=your_google_api_key_here
|
|
|
|
# Reddit API Configuration
|
|
REDDIT_CLIENT_ID=your_reddit_client_id_here
|
|
REDDIT_CLIENT_SECRET=your_reddit_client_secret_here
|
|
|
|
# Project Configuration
|
|
TRADINGAGENTS_RESULTS_DIR=./results
|
|
|
|
# LLM Configuration
|
|
LLM_PROVIDER=openai # Options: openai, anthropic, google
|
|
DEEP_THINK_LLM=o4-mini
|
|
QUICK_THINK_LLM=gpt-4o-mini
|
|
BACKEND_URL=https://api.openai.com/v1
|
|
|
|
# Trading Configuration
|
|
MAX_DEBATE_ROUNDS=1
|
|
MAX_RISK_DISCUSS_ROUNDS=1
|
|
ONLINE_TOOLS=false # Set to false for backtesting
|
|
|
|
# Reddit Data Configuration
|
|
REDDIT_DATA_DIR=/path/to/your/reddit/data/directory |