For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration

LLM API Keys

Strategy generation and backtest analysis require an LLM. Set at least one of the following:

Variable
Provider

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.

Network Proxy

If your network requires a proxy to reach LLM APIs:

Variable
Description
Example

HTTPS_PROXY

HTTPS proxy URL

http://127.0.0.1:7890

Data & Exchange

Variable
Description
Default

VIBETRADING_DEFAULT_EXCHANGE

Default exchange for data downloads

binance

Using a .env File

Create 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