-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (52 loc) · 3.73 KB
/
Copy path.env.example
File metadata and controls
62 lines (52 loc) · 3.73 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ═══════════════════════════════════════════════════════════════════════════════
# ALGO TRADING BOT - ENVIRONMENT CONFIGURATION
# Copy this file to .env and fill in your values
# ═══════════════════════════════════════════════════════════════════════════════
# ─────────────────────────────────────────────────────────────────────────────────
# APPLICATION
# ─────────────────────────────────────────────────────────────────────────────────
APP_ENV=development
LOG_LEVEL=DEBUG
# Healthcheck server
HEALTH_HOST=0.0.0.0
HEALTH_PORT=8080
HEALTH_KEEPALIVE=true
# Telegram notifications
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
TELEGRAM_MIN_INTERVAL=1.0
# ─────────────────────────────────────────────────────────────────────────────────
# EXCHANGE API KEYS (CCXT)
# ─────────────────────────────────────────────────────────────────────────────────
BINANCE_API_KEY=
BINANCE_API_SECRET=
BINANCE_TESTNET=true
BYBIT_API_KEY=
BYBIT_API_SECRET=
BYBIT_TESTNET=true
# ─────────────────────────────────────────────────────────────────────────────────
# ARCTICDB
# ─────────────────────────────────────────────────────────────────────────────────
ARCTIC_URI=lmdb://./data/arctic
# ─────────────────────────────────────────────────────────────────────────────────
# POSITION SIZING & RISK
# ─────────────────────────────────────────────────────────────────────────────────
SIZING_MODE=risk_pct
RISK_PCT=0.01
MAX_POSITION_PCT=0.10
TRADE_SIZE=0.01
MIN_TRADE_SIZE=0.000001
SIZE_INCREMENT=0.000001
SIZE_PRECISION=6
STOP_LOSS_PCT=0.03
TAKE_PROFIT_PCT=0.05
MAX_DRAWDOWN_PCT=0.05
COOLDOWN_BARS=3
# Research OOS split (days)
OOS_DAYS=90
# ─────────────────────────────────────────────────────────────────────────────────
# REDIS (Optional - for distributed systems)
# ─────────────────────────────────────────────────────────────────────────────────
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0