-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
45 lines (38 loc) · 1.03 KB
/
.env.example
File metadata and controls
45 lines (38 loc) · 1.03 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
# Binance API credentials
BINANCE_API_KEY=8MP9cilekiOcAAcgpPbnBPHyHhyOu0MjMQHmklBsL70XtACTFQOxl6a7zXOWV9XA
BINANCE_API_SECRET=hPIqBKLnt17oPbL94R7i9qDScJ5b8EAhmnLHbhhM76vDV7MYcgJEhhggQvH7TYIN
# Telegram notifications
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_chat_id_here
# Discord notifications
DISCORD_WEBHOOK_URL=your_webhook_url_here
# Trading configuration
NODE_ENV=development # or production
TRADING_PAIRS=BTCUSDT,ETHUSDT,BNBUSDT,ADAUSDT,SOLUSDT
TIMEFRAME=1h
INITIAL_CAPITAL=1000
# Training configuration
BATCH_SIZE=64
EPOCHS=10
VALIDATION_SPLIT=0.2
MIN_TRADES=100
MIN_WIN_RATE=0.55
MAX_DRAWDOWN=0.2
RETRAIN_INTERVAL=86400000 # 24 hours in milliseconds
# Risk management
MAX_RISK_PER_TRADE=0.02
MAX_LEVERAGE=10
MAX_OPEN_POSITIONS=5
STOP_LOSS_DISTANCE=0.02
TAKE_PROFIT_DISTANCE=0.04
TRAILING_STOP_DISTANCE=0.01
# Strategy configuration
LEARNING_RATE=0.001
GAMMA=0.99
EPSILON=1.0
EPSILON_MIN=0.01
EPSILON_DECAY=0.995
# State configuration
STATE_WINDOW=50
INDICATORS=EMA,MACD,RSI,VOLUME
MARKET_CONDITIONS=TREND,VOLATILITY,VOLUME