-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
29 lines (24 loc) · 1.65 KB
/
Copy path.env.example
File metadata and controls
29 lines (24 loc) · 1.65 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
# CryptoBot 环境变量模板
# 复制为 .env 并填入实际值: cp .env.example .env
# ─── Binance ─────────────────────────────────────────────────────────────
BINANCE_API_KEY=your_binance_api_key
BINANCE_API_SECRET=your_binance_api_secret
# ─── 外部数据 API ────────────────────────────────────────────────────────
COINGLASS_API_KEY=your_coinglass_key
CRYPTONEWS_API_KEY=your_cryptonews_key
COINGECKO_DEMO_KEY=your_coingecko_demo_key
# ─── Telegram 通知 ───────────────────────────────────────────────────────
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id
# ─── LLM API (OpenAI 兼容提供商) ─────────────────────────────────────
# 当 settings.yaml 中 llm.provider: "api" 时需要
DEEPSEEK_API_KEY=your_deepseek_api_key
# OPENAI_API_KEY=your_openai_key
# ZHIPU_API_KEY=your_zhipu_key
# MINIMAX_API_KEY=your_minimax_key
# GROQ_API_KEY=your_groq_key
# ─── Freqtrade API ───────────────────────────────────────────────────────
# 如果 Freqtrade 和 CryptoBot 在同一台机器上,使用默认值即可
# FT_API_URL=http://127.0.0.1:8080
# FT_USERNAME=freqtrader
# FT_PASSWORD=your_ft_password