-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
62 lines (53 loc) · 2.21 KB
/
Copy pathconfig.yaml
File metadata and controls
62 lines (53 loc) · 2.21 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
# BetUpset Prediction Market Arbitrage Bot Configuration
# Strategy parameters
strategy:
min_gap: 0.03 # Minimum gap (3 cents) to enter a trade
max_reject_prob: 0.25 # Never reject an outcome above 25% implied prob
bet_fraction: 0.10 # Risk 10% of current bankroll per trade
# Risk limits
risk:
max_exposure_per_match: 50 # Max USD on any single match
max_total_exposure: 3000 # Max USD across all open trades
max_matchday_exposure_pct: 0.15 # Max 15% of bankroll on any single matchday
# Scan settings
scanner:
interval_seconds: 60
# Execution safeguards for the web flow
execution:
dry_run_only: false # true = block real order placement, keep simulation/tracking only
max_stake_per_trade: 50 # Max total USD stake allowed per execution attempt
max_scan_age_seconds: 600 # Reject execution if the scan snapshot is older than this
max_liquidity_fraction: 0.05 # Allow at most 5% of covered liquidity per platform
# Web server settings
web:
host: "0.0.0.0"
port: 8000
# Platform credentials (use environment variables in production)
platforms:
polymarket:
enabled: true
wallet_address: "${POLY_WALLET}"
private_key: "${POLY_PRIVATE_KEY}"
private_key_path: "${POLYMARKET_PEM_PATH}"
kalshi:
enabled: true
api_key_id: "${KALSHI_API_KEY}"
private_key_path: "${KALSHI_PEM_PATH}"
# Alerts
alerts:
console: true
telegram_bot_token: "${TELEGRAM_TOKEN}"
telegram_chat_id: "${TELEGRAM_CHAT_ID}"
# Output
output:
csv_path: "opportunities.csv"
db_path: "trades.db"
# Third-party bookmaker odds for SCORE calibration (The Odds API)
# Docs: https://the-odds-api.com/ — free tier: ~500 req/month
# 11 sport keys × 2 fetches/day × 30 days = ~660 req/month at 43200s TTL
odds_api:
enabled: false # set to true once ODDS_API_KEY is configured
api_key: "${ODDS_API_KEY}" # export ODDS_API_KEY=your_key_here
cache_ttl_seconds: 43200 # cache per-sport for 12 hours (~660 req/month)
regions: "eu" # eu = Pinnacle, Betsson, Unibet; us/uk/au also valid
fallback_to_market_prob: true # graceful degradation when no bookmaker match found