-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
32 lines (25 loc) · 919 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (25 loc) · 919 Bytes
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
# 将此文件复制为 .env 并填入你的真实配置
# 交易模式
TRADING_MODE=SIMULATE
# OKX API 配置(必填)
OKX_API_KEY_1=your_okx_api_key_here
OKX_API_SECRET_1=your_okx_api_secret_here
OKX_API_PASSPHRASE_1=your_okx_api_passphrase_here
# 代理(可选)
PROXY_URL=
OKX_USE_PROXY=False
AI_USE_PROXY=False
# 通知(可选)
DINGTALK_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=your_token_here
FEISHU_WEBHOOK=https://open.feishu.cn/open-apis/bot/v2/hook/your_token_here
# AI 配置(请填写你自己的 OpenAI-compatible 接口和模型)
AI_API_KEY=your_ai_api_key_here
AI_API_URL=https://your-openai-compatible-endpoint/v1/chat/completions
AI_MODEL=your_model_name
API_TIMEOUT=60
# Web 面板
ENABLE_WEB_DASHBOARD=True
WEB_DASHBOARD_HOST=127.0.0.1
WEB_DASHBOARD_PORT=5000
# 持仓风控 AI 自动执行(新手建议先保持 False)
ENABLE_POSITION_AI_EXECUTION=False