TradingAgents/.env.example

74 lines
2.3 KiB
Plaintext

# TradingAgents Environment Variables Configuration
# ============================================
# LLM Provider API URLs
# ============================================
# These environment variables allow you to customize the API endpoints
# for different LLM providers. If not set, the default URLs will be used.
# OpenAI API URL
# Default: https://api.openai.com/v1
#OPENAI_API_URL=https://api.openai.com/v1
# Anthropic API URL
# Default: https://api.anthropic.com/
#ANTHROPIC_API_URL=https://api.anthropic.com/
# Google Generative AI API URL
# Default: https://generativelanguage.googleapis.com/v1
#GOOGLE_API_URL=https://generativelanguage.googleapis.com/v1
# OpenRouter API URL
# Default: https://openrouter.ai/api/v1
#OPENROUTER_API_URL=https://openrouter.ai/api/v1
# Ollama API URL (local)
# Default: http://localhost:11434/v1
#OLLAMA_API_URL=http://localhost:11434/v1
# ============================================
# Embedding Configuration
# ============================================
# If EMBEDDING_API_URL is set, it will be used for ALL providers (overrides defaults)
# This is required for Anthropic (which doesn't provide embeddings)
# Can point to sentence-transformers in Docker, Ollama, or any OpenAI-compatible service
# Embedding service URL (OpenAI-compatible API)
# Required for Anthropic, optional for others
# Examples:
# - Local Service (startEmbedding.sh): http://localhost:11434/v1
# - Ollama: http://localhost:11434/v1
#EMBEDDING_API_URL=http://localhost:11434/v1
# Embedding model name
# Default: all-MiniLM-L6-v2
#EMBEDDING_MODEL=all-MiniLM-L6-v2
# Embedding API key (if your service requires it)
# Default: "local" (most local services don't need a key)
#EMBEDDING_API_KEY=local
# ============================================
# API Keys
# ============================================
# Alpha Vantage API Key
ALPHA_VANTAGE_API_KEY=alpha_vantage_api_key_placeholder
# OpenAI API Key
OPENAI_API_KEY=openai_api_key_placeholder
# Alpaca Trading API
#ALPACA_API_KEY=your_alpaca_api_key_here
#ALPACA_API_SECRET=your_alpaca_secret_key_here
# Google API Key (for Gemini models)
#GOOGLE_API_KEY=your_google_api_key_here
# ============================================
# Application Settings
# ============================================
# Results directory for storing analysis outputs
# Default: ./results
#TRADINGAGENTS_RESULTS_DIR=./results