-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
42 lines (32 loc) · 1.31 KB
/
.env.example
File metadata and controls
42 lines (32 loc) · 1.31 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
# Polymarket API Credentials (required)
POLYMARKET_API_KEY=your_api_key_here
POLYMARKET_API_SECRET=your_api_secret_here
POLYMARKET_API_PASSPHRASE=your_api_passphrase_here
POLYMARKET_PRIVATE_KEY=0x_your_private_key_here
POLYMARKET_SIGNATURE_TYPE=1
POLYMARKET_FUNDER=
# Bot Configuration
# Maximum combined cost to trigger arbitrage (e.g., 0.991 means buy if UP + DOWN < $0.991)
TARGET_PAIR_COST=0.991
# Number of shares to buy per trade
ORDER_SIZE=5
# Order type / time-in-force:
# - FOK = Fill-or-Kill (all-or-nothing, avoids leaving one leg open)
# - FAK = Fill-and-Kill (partial allowed, remainder cancelled)
# - GTC = Good-Til-Cancelled (can leave one leg open)
ORDER_TYPE=FOK
# Simulation mode (true = no real orders, false = live trading)
DRY_RUN=true
# Extra diagnostic logging (true = more logs)
VERBOSE=false
# Simulated balance for dry run mode
SIM_BALANCE=100
# Minimum seconds between executions (prevents repeated rapid-fire executions)
COOLDOWN_SECONDS=10
# Optional: Market slug (leave empty for auto-discovery)
POLYMARKET_MARKET_SLUG=
# Optional: Use CLOB WebSockets (Market channel) instead of polling
# true = realtime order book updates via WSS, false = HTTP polling
USE_WSS=false
# Optional: WebSocket base URL (defaults to Polymarket CLOB subscriptions)
POLYMARKET_WS_URL=wss://ws-subscriptions-clob.polymarket.com