-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
97 lines (76 loc) · 2.98 KB
/
.env.example
File metadata and controls
97 lines (76 loc) · 2.98 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# ClawPoly — Polymarket Trading Bot Configuration
# Copy this file to .env and fill in your values
# NEVER commit .env to git!
# === Wallet ===
# Your EOA private key (without 0x prefix)
PRIVATE_KEY=your_private_key_here
# Your wallet address (the address that holds USDC on Polygon)
FUNDER_ADDRESS=your_wallet_address_here
# === Trading ===
# Risk level: conservative, moderate, aggressive
RISK_LEVEL=conservative
# Signature type: 0 = EOA (MetaMask/hardware), 1 = email/Magic, 2 = browser proxy
SIGNATURE_TYPE=0
# Execution mode: paper or live (CLI --mode overrides)
TRADING_MODE=paper
# Execution safety guards
MAX_DAILY_LOSS_USD=25
# Proxy fraction for worst-case loss from live notional (1.0 = 100%)
DAILY_LOSS_PROXY_PCT=1.0
# Reject order if estimated slippage exceeds this ratio (0.02 = 2%)
MAX_SLIPPAGE_PCT=0.02
# Minimum cooldown seconds between live orders
TRADE_COOLDOWN_SEC=20
# Optional hard cap per trade in USD (0 disables absolute cap)
MAX_POSITION_USD=0
# Kill switch state file (relative to repo root)
KILL_SWITCH_STATE_PATH=execution_state.json
# === Filters ===
# Comma-separated market categories to scan (leave empty for all)
# Options: sports, politics, crypto, pop-culture, science, economics
MARKET_CATEGORIES=
# === Strategy ===
# Enabled strategies (comma-separated): value_betting, market_making, cross_arb, momentum, fusion_4layer, weather_trader, fast_loop
ENABLED_STRATEGIES=value_betting,market_making
# Optional per-strategy provider/model overrides (comma-separated key:value)
# Example: fusion_4layer:opencode,weather_trader:claude,fast_loop:kilocode
STRATEGY_PROVIDER_OVERRIDES=
# Example: fusion_4layer:trinity-large-preview-free,fast_loop:gpt-5-codex
STRATEGY_MODEL_OVERRIDES=
# AI provider profile for fusion_4layer: claude, codex, opencode, kilocode
AI_PROVIDER=claude
# Optional provider model label for logs/metadata
AI_PROVIDER_MODEL=
# Enable real live API scoring for fusion_4layer
AI_PROVIDER_LIVE=false
# Timeout and budget for live provider calls per scan cycle
AI_PROVIDER_TIMEOUT_SEC=8
AI_PROVIDER_MAX_LIVE_CALLS=25
# --- Provider API blocks (use the block matching AI_PROVIDER) ---
# Claude => Anthropic Messages API
ANTHROPIC_API_KEY=
AI_CLAUDE_BASE_URL=https://api.anthropic.com/v1/messages
# Codex => OpenAI-compatible API
OPENAI_API_KEY=
AI_CODEX_BASE_URL=https://api.openai.com/v1
# OpenCode => OpenCode Zen API
OPENCODE_API_KEY=
AI_OPENCODE_BASE_URL=https://opencode.ai/zen/v1
# Kilocode => OpenAI-compatible API (vendor endpoint)
KILOCODE_API_KEY=
AI_KILOCODE_BASE_URL=https://openrouter.ai/api/v1
# Require markets with fee/rebate program enabled (recommended)
ONLY_FEE_REBATE_MARKETS=true
# Minimum signal confidence (0.0 - 1.0)
MIN_SIGNAL_CONFIDENCE=0.25
# Add extra edge buffer on fee-enabled markets
FEE_AWARE=true
# Minimum spread required before considering a trade
MIN_SPREAD=0.02
# === Scan ===
# Scan interval in seconds
SCAN_INTERVAL=60
# Minimum market liquidity (USDC) to consider
MIN_LIQUIDITY=500
# Minimum 24h volume (USDC) to consider
MIN_VOLUME=1000