-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
40 lines (33 loc) · 2.11 KB
/
.env.example
File metadata and controls
40 lines (33 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# =============================================================================
# WTI Crude Trading Bot — Environment Variables
# Copy this file to .env and fill in your keys before running.
# Everything in this file is non-secret — never paste real values here.
# =============================================================================
# --- AI / LLM ------------------------------------------------------------
# Required for chat, committee, analyzer, now-brief.
ANTHROPIC_API_KEY= # https://console.anthropic.com/
# Required only if you want the Grok Twitter/X sentiment agent.
XAI_API_KEY= # https://console.x.ai/
# --- Telegram notifications ---------------------------------------------
# Both required for the notifier service (outbound alerts + inbound chat).
TELEGRAM_BOT_TOKEN= # https://t.me/BotFather
TELEGRAM_CHAT_ID= # run @userinfobot in Telegram to find your chat ID
# --- Macro data sources -------------------------------------------------
EIA_API_KEY= # https://www.eia.gov/opendata/register.php
FRED_API_KEY= # https://fred.stlouisfed.org/docs/api/api_key.html
# --- Binance (optional for public market data, required for future trading) ---
# Public market data endpoints used by this project (klines, depth, aggTrades,
# ticker, funding rate, open interest, long/short ratios, liquidations stream)
# do NOT require API credentials. The key/secret below are only used if you
# later enable account-state queries or real order placement.
BINANCE_API_KEY=
BINANCE_API_SECRET=
BINANCE_SYMBOL=CLUSDT # TRADIFI perpetual tracking NYMEX WTI front-month
# --- Dashboard API auth -------------------------------------------------
# If set, every mutating dashboard endpoint + /api/chat + /api/logs requires
# the X-API-Key header to match. Leave empty for local-only dev; you MUST
# set this if the dashboard is reachable from anywhere except localhost.
DASHBOARD_API_KEY=
# --- Infrastructure (defaults match docker-compose.yml) -----------------
POSTGRES_URL=postgresql+psycopg://trading:trading@postgres:5432/trading
REDIS_URL=redis://redis:6379