360 Secure SkillHub
360 安全技能中心

CLV Tracker — Closing Line Value

核心功能是通过对比投注时的赔率与收盘线测量投注优势,支持记录投注、计算CLV、生成绩效报告、导出投注历史等操作。典型场景:用户需记录投注用于CLV追踪、查看投注的收盘线价值、验证投注优势真实性、生成CLV绩效报告时使用。输入为投注相关参数,输出为CLV计算结果、绩效报告,数据存储在本地SQLite数据库,需配置The Odds API Key。

rsquaredsolutions2026
rsquaredsolutions2026
热度 39.40
最近更新 2026-05-11 17:36:07
分类:数据依赖:代码执行 / 第三方 API / 读写文件应用场景:数据处理 / 报告撰写 / 财务 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clv-tracker
Metadata
name
clv-tracker
description
Track Closing Line Value — the gold standard for measuring betting edge. Log placement odds, fetch closing lines, compute CLV, and generate performance reports. Use when asked about CLV, closing line, edge tracking, or bet performance.
metadata
{"openclaw":{"emoji":"📈","requires":{"bins":["sqlite3","curl","jq","python3"]},"credentials":[{"id":"odds-api-key","name":"The Odds API Key","description":"Free API key from https://the-odds-api.com/","env":"ODDS_API_KEY"}]}}

CLV Tracker — Closing Line Value

Track and measure your betting edge by comparing placement odds against closing lines.

When to Use

Use this skill when the user asks about:

  • Logging a bet with placement odds for CLV tracking
  • Checking closing line value for recent bets
  • Generating a CLV performance report
  • Whether their betting edge is real or variance
  • Exporting bet history for analysis
  • "Am I beating the close?"

Database Location

All bet data is stored in: ~/.openclaw/data/clv.db

Operations

1. Log a Bet

Record a new bet with placement odds for future CLV calculation. Replace the values in caps:

python3 -c "
odds = PLACEMENT_ODDS
prob = abs(odds)/(abs(odds)+100) if odds < 0 else 100/(odds+100)
print(f'{prob:.6f}')
" | xargs -I{} sqlite3 ~/.openclaw/data/clv.db \
  "INSERT INTO clv_bets (game_id, sport, selection, bet_type, placement_odds, placement_prob)
   VALUES ('GAME_ID', 'SPORT_KEY', 'TEAM_OR_SELECTION', 'BET_TYPE', PLACEMENT_ODDS, {});"

## About

Built by [AgentBets](https://agentbets.ai) — full tutorial at [agentbets.ai/guides/openclaw-clv-tracker-skill/](https://agentbets.ai/guides/openclaw-clv-tracker-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/).