-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
69 lines (52 loc) · 2.18 KB
/
.env.example
File metadata and controls
69 lines (52 loc) · 2.18 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
63
64
65
66
67
68
69
# Polymarket Copy Trading Bot Configuration
# Copy this file to .env and fill in your values
# NEVER commit your .env file to version control!
# ============================================
# REQUIRED: Basic Configuration
# ============================================
# Target address to monitor and copy trades from
TARGET_ADDRESS=0x1234567890123456789012345678901234567890
# Your private key for executing trades (NEVER share this!)
# Format: 0x followed by 64 hex characters
PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
# ============================================
# Copy Trading Configuration
# ============================================
# Enable copy trading (true/false)
# Set to false to only monitor without executing trades
COPY_TRADING_ENABLED=true
# Dry run mode - simulates trades without executing (true/false)
# ALWAYS test with DRY_RUN=true first!
DRY_RUN=true
# Position size multiplier (default: 1.0)
# 0.5 = 50% of target position size
# 1.0 = Same size as target (100%)
# 2.0 = Double the target position size (200%)
POSITION_SIZE_MULTIPLIER=1.0
# Maximum position size in USD (default: 10000)
# Positions exceeding this value will be skipped
MAX_POSITION_SIZE=10000
# Maximum trade size in USD (default: 5000)
# Individual trades exceeding this value will be skipped
MAX_TRADE_SIZE=5000
# Minimum trade size in USD (default: 1)
# Trades below this value will be skipped
MIN_TRADE_SIZE=1
# Slippage tolerance as percentage (default: 1.0)
# Maximum acceptable price slippage for orders
SLIPPAGE_TOLERANCE=1.0
# ============================================
# Monitoring Configuration
# ============================================
# Polling interval in milliseconds (default: 30000 = 30 seconds)
# Lower values = more frequent checks but more API calls
POLL_INTERVAL=30000
# ============================================
# Optional: API Configuration
# ============================================
# Polymarket API key (optional, may be required for certain endpoints)
# POLYMARKET_API_KEY=your_api_key_here
# Chain ID (default: 137 for Polygon mainnet)
# CHAIN_ID=137
# CLOB API host (default: https://clob.polymarket.com)
# CLOB_HOST=https://clob.polymarket.com