-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (24 loc) · 1.19 KB
/
.env.example
File metadata and controls
31 lines (24 loc) · 1.19 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
# ===========================================
# CRYPTO REBALANCE BOT CONFIGURATION
# ===========================================
# Wallet Configuration (REQUIRED)
REBALANCE_PRIVATE_KEY=your_private_key_here
REBALANCE_WALLET_ADDRESS=your_wallet_address_here
# Network Configuration
BASE_RPC_URL=https://mainnet.base.org
# Trading Parameters (Optional - defaults provided)
DEVIATION_THRESHOLD=0.05 # 5% deviation triggers rebalance
MIN_TRADE_USD=5.0 # Minimum trade size in USD
SLIPPAGE_PERCENT=0.02 # 2% slippage tolerance
CHECK_INTERVAL=14400000 # Check every 4 hours (in milliseconds)
# Custom Portfolio Weights (Optional)
# Format: {"cbBTC": 0.3, "WETH": 0.3, "cbXRP": 0.2, "cbADA": 0.1, "cbDOGE": 0.05, "AAVE": 0.05}
# CUSTOM_WEIGHTS={"cbBTC": 0.25, "WETH": 0.25, "cbXRP": 0.2, "cbADA": 0.15, "cbDOGE": 0.1, "AAVE": 0.05}
# Telegram Bot Configuration (Optional)
REBALANCE_BOT_TOKEN=your_telegram_bot_token_here
REBALANCE_CHAT_ID=your_telegram_chat_id_here,another_chat_id_here
# Logging Configuration (Optional)
LOG_LEVEL=info # debug, info, warn, error
LOG_FILE=rebalance.log
# Fallback Configuration
# PRIVATE_KEY=fallback_private_key_here