-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (32 loc) · 1.2 KB
/
Copy path.env.example
File metadata and controls
39 lines (32 loc) · 1.2 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
# Nof1 API Configuration
# 用于获取AI Agent的交易信号
NOF1_API_BASE_URL=https://nof1.ai/api
# Binance API Configuration
# ⚠️ 重要:必须启用合约交易权限 (Enable Futures)
# 获取方式:https://www.binance.com/en/my/settings/api-management
# 测试网:https://testnet.binancefuture.com/
BINANCE_API_KEY=your_binance_api_key_here
BINANCE_API_SECRET=your_binance_api_secret_here
# 是否使用测试网环境(推荐新手先使用测试网)
# true = 测试网(虚拟资金,无风险)
# false = 正式网(真实资金,有风险)
BINANCE_TESTNET=true
# Trading Configuration
# 最大仓位大小(USDT)
MAX_POSITION_SIZE=1000
# 默认杠杆倍数(建议≤20x)
DEFAULT_LEVERAGE=10
# 风险百分比(账户总资金的百分比)
RISK_PERCENTAGE=2.0
# Logging Configuration
# 日志级别: ERROR, WARN, INFO (默认), DEBUG, VERBOSE
# INFO - 只显示重要操作(推荐日常使用)
# DEBUG - 显示详细调试信息
# VERBOSE - 显示所有日志(仅用于深度调试)
LOG_LEVEL=INFO
# Telegram Bot Configuration
# 可选,用于接收交易通知
# 获取方式:https://core.telegram.org/bots#6-botfather
TELEGRAM_API_TOKEN=
TELEGRAM_CHAT_ID=
TELEGRAM_ENABLED=false