Sports Arbitrage Scanner
A ClawHub automaton skill that continuously monitors sports betting odds from multiple
bookmakers, identifies arbitrage opportunities, and reports guaranteed-profit trade setups.
How Arbitrage Works
An arbitrage opportunity exists when the sum of implied probabilities across all outcomes
of a match (using the best available odds from any bookmaker) is less than 1.0. This means
you can stake proportionally on all outcomes and lock in a profit no matter who wins.
Implied probability of outcome = 1 / decimal_odds
Arb exists when: sum(1/odds_i for all outcomes) < 1.0
Profit % = (1 - sumofimpliedprobs) / sumofimpliedprobs * 100
Stake for outcome i = (totalstake / oddsi) / sumofimplied_probs
Environment Variables
ODDSAPIKEY (optional)
API key for The Odds API (https://the-odds-api.com).
Free tier allows ~500 requests/month. If not set, the skill falls back to
built-in sample/demo data so it can still demonstrate functionality.
MINPROFITPCT (optional, default: 0.5)
Minimum profit percentage to report. Arbs below this threshold are silently
filtered out. Increase to reduce noise, decrease to surface more marginal arbs.
TOTAL_STAKE (optional, default: 1000)
Hypothetical total stake amount (in your currency) used to compute the
concrete stake split per outcome. Purely illustrative — adjust to your bankroll.
SPORTS (optional, default: soccerepl,basketballnba,americanfootball_nfl)
Comma-separated list of sport keys to scan. Valid sport keys are documented at
https://the-odds-api.com/sports-odds-data/sports-apis.html
RESULTSFILE (optional, default: /tmp/sportsarb_results.json)
Path where the JSON results file is written after each scan run.
Output
Each detected arbitrage opportunity is logged to stdout and appended to the JSON
results file. The JSON schema per opportunity:
{
"match": "Team A vs Team B",
"sport": "soccer_epl",
"commence_time": "2026-03-21T15:00:00Z",
"profit_pct": 1.23,
"totalimpliedprob": 0.9879,
"outcomes": [
{
"name": "Team A",
"bookmaker": "pinnacle",
"odds": 2.10,
"implied_prob": 0.4762,
"stake": 476.19,
"potential_return": 1000.00
},
...
],
"total_stake": 1000,
"guaranteed_return": 1012.30,
"detected_at": "2026-03-21T03:00:00Z"
}
体育套利扫描器
一个ClawHub自动化技能,持续监控来自多家博彩公司的体育投注赔率,识别套利机会,并报告保证盈利的交易方案。
套利原理
当一场比赛所有结果的隐含概率之和(使用任何博彩公司提供的最佳赔率)小于1.0时,就存在套利机会。这意味着你可以按比例对所有结果进行投注,无论谁获胜都能锁定利润。
结果的隐含概率 = 1 / 小数赔率
套利存在条件:所有结果的(1/赔率)之和 < 1.0
利润率 = (1 - 隐含概率之和) / 隐含概率之和 * 100
结果i的投注额 = (总投注额 / 赔率i) / 隐含概率之和
环境变量
ODDSAPIKEY(可选)
The Odds API的API密钥(https://the-odds-api.com)。
免费套餐每月约500次请求。如果未设置,技能将回退到内置的示例/演示数据,以便仍能演示功能。
MINPROFITPCT(可选,默认值:0.5)
要报告的最低利润率百分比。低于此阈值的套利机会将被静默过滤掉。增大可减少噪音,减小可发现更多边缘套利机会。
TOTAL_STAKE(可选,默认值:1000)
用于计算每个结果具体投注金额的假设总投注额(以你的货币计)。仅用于说明——请根据你的资金进行调整。
SPORTS(可选,默认值:soccerepl,basketballnba,americanfootball_nfl)
要扫描的体育项目键列表,以逗号分隔。有效的体育项目键请参见https://the-odds-api.com/sports-odds-data/sports-apis.html
RESULTSFILE(可选,默认值:/tmp/sportsarb_results.json)
每次扫描运行后写入JSON结果文件的路径。
输出
每个检测到的套利机会都会记录到标准输出,并追加到JSON结果文件中。每个机会的JSON模式:
{
match: A队 vs B队,
sport: soccer_epl,
commence_time: 2026-03-21T15:00:00Z,
profit_pct: 1.23,
totalimpliedprob: 0.9879,
outcomes: [
{
name: A队,
bookmaker: pinnacle,
odds: 2.10,
implied_prob: 0.4762,
stake: 476.19,
potential_return: 1000.00
},
...
],
total_stake: 1000,
guaranteed_return: 1012.30,
detected_at: 2026-03-21T03:00:00Z
}