-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.example
More file actions
37 lines (30 loc) · 1.09 KB
/
.env.example
File metadata and controls
37 lines (30 loc) · 1.09 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
# Hyperliquid API Configuration
HYPERLIQUID_API_URL=https://api.hyperliquid.xyz
HYPERLIQUID_WALLET_ADDRESS=
HYPERLIQUID_PRIVATE_KEY=
# Target address to copy from (can be wallet or vault address)
# Wallet example: 0x0ba5de43fa2419a25c2e680f84aff3a8f57fce22
# Vault example: 0xd6e56265890b76413d1d527eb9b75e334c0c5b42
TARGET_WALLET_ADDRESS=
# Trading Mode
SIMULATED_TRADING=true
SIMULATED_ACCOUNT_BALANCE=10000.0
# Copy Trading Settings
COPY_OPEN_POSITIONS=true
COPY_EXISTING_ORDERS=true
AUTO_ADJUST_SIZE=true
USE_LIMIT_ORDERS=false # If true, converts market orders to limit orders at current price
LEVERAGE_ADJUSTMENT=1.0 # 0.5 = use 50% of target's leverage (safer), 1.0 = match exactly
MAX_OPEN_TRADES=x
MAX_OPEN_ORDERS=x
MAX_ACCOUNT_EQUITY=x #x means unlimited if you want to set a limit, put an integer value here
# Asset Filters
BLOCKED_ASSETS= # Comma-separated list of assets to NOT copy (e.g., BTC,ETH,SOL)
# Telegram Bot (add your tokens later)
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# Database
DATABASE_URL=sqlite:///./data/trading.db
# Logging
LOG_LEVEL=INFO
LOG_FILE=./logs/trading.log