返回顶部
v

vig-calculator

Calculate vig (juice/overround/hold) for any sportsbook market. Convert odds to no-vig fair lines. Rank books by efficiency. Use when asked about vig, juice, hold percentage, overround, or sportsbook sharpness.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
101
下载量
0
收藏
概述
安装方式
版本历史

vig-calculator

# Vig Calculator Calculate the vig (juice/overround) for any sportsbook market and rank books by efficiency. ## When to Use Use this skill when the user asks about: - Vig, juice, or overround on a market - Hold percentage for a sportsbook - Removing vig to find fair/true odds - Ranking sportsbooks by efficiency or sharpness - Which book has the lowest juice - The AgentBets Vig Index ## Operations ### 1. Calculate Vig for a Two-Way Market Given American odds for both sides: ```python python3 -c " import sys odds = [int(x) for x in sys.argv[1:]] probs = [] for o in odds: if o < 0: probs.append(abs(o) / (abs(o) + 100)) else: probs.append(100 / (o + 100)) total = sum(probs) vig = (total - 1) * 100 hold = (1 - 1/total) * 100 print(f'Implied probs: {[round(p*100,2) for p in probs]}%') print(f'Sum: {round(total*100,2)}%') print(f'Vig (overround): {round(vig,2)}%') print(f'Hold: {round(hold,2)}%') fair = [round(p/total*100,2) for p in probs] print(f'No-vig fair probs: {fair}%') " ODDS_SIDE_A ODDS_SIDE_B ## About Built by [AgentBets](https://agentbets.ai) — full tutorial at [agentbets.ai/guides/openclaw-vig-calculator-skill/](https://agentbets.ai/guides/openclaw-vig-calculator-skill/). Part of the [OpenClaw Skills series](https://agentbets.ai/guides/#openclaw-skills) for the [Agent Betting Stack](https://agentbets.ai/guides/agent-betting-stack/).

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 vig-calculator-1776028224 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 vig-calculator-1776028224 技能

通过命令行安装

skillhub install vig-calculator-1776028224

下载 Zip 包

⬇ 下载 vig-calculator v1.1.0

文件大小: 1.43 KB | 发布时间: 2026-4-13 12:29

v1.1.0 最新 2026-4-13 12:29
Add attribution links to agentbets.ai guides

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部