Configuration
LLM API Keys
Variable
Provider
Network Proxy
Variable
Description
Example
Data & Exchange
Variable
Description
Default
Using a .env File
.env FileLast updated
Strategy generation and backtest analysis require an LLM. Set at least one of the following:
OPENAI_API_KEY
OpenAI (GPT-4o, etc.)
ANTHROPIC_API_KEY
Anthropic (Claude)
GEMINI_API_KEY
Google (Gemini)
DEEPSEEK_API_KEY
DeepSeek
XAI_API_KEY
xAI (Grok)
Any OpenAI-compatible endpoint is supported via litellm.
If your network requires a proxy to reach LLM APIs:
HTTPS_PROXY
HTTPS proxy URL
http://127.0.0.1:7890
VIBETRADING_DEFAULT_EXCHANGE
Default exchange for data downloads
binance
.env FileCreate a .env file in your project root. The package loads it automatically at import time:
See .env.dev_example for a full template.
Last updated
# .env
OPENAI_API_KEY=sk-...
HTTPS_PROXY=http://127.0.0.1:7890