prediction-market-watcher

Monitor, analyze, and trade on Kalshi and Polymarket prediction markets. Use when the user wants to check open positions, scan for value bets, place bets, check settlement status, or get a portfolio summary on Kalshi or Polymarket. Also use proactively when a bet is approaching settlement time.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "prediction-market-watcher" with this command: npx skills add m-lwatcher/prediction-market-watcher

Prediction Market Watcher

Connects to Kalshi (and Polymarket) to track positions, scan markets, and place bets.

Setup

Kalshi (live trading, US):

  • API key + RSA private key required
  • Config lives at kalshi-agent/config.json in the workspace
  • Key file: kalshi-agent/kalshi.key
  • Scripts use kalshi_client.py with RSA-PSS signed requests

Polymarket (coming soon — read-only via public API for now)

Common Tasks

Check portfolio / open positions

cd ~/workspace/kalshi-agent && python3 kalshi_agent.py --status
cd ~/workspace/kalshi-agent && python3 kalshi_agent.py --positions

Check a specific market

from kalshi_client import KalshiClient
import json
c = KalshiClient('KEY_ID', 'kalshi.key')
market = c.get('/trade-api/v2/markets/TICKER_HERE')
print(json.dumps(market, indent=2))

Key fields: yes_bid_dollars, yes_ask_dollars, floor_strike, cap_strike, close_time, rules_primary

Check BTC/crypto price vs bet range

  • Fetch live price via web search or Brave API
  • Compare against floor_strike / cap_strike from market data
  • Settlement uses CF Benchmarks RTI (60s avg before close) — not Coinbase/Google price

Scan for opportunities

cd ~/workspace/kalshi-agent && python3 kalshi_agent.py --scan

Place a bet (manual)

order = c.create_order(ticker="TICKER", side="yes", action="buy", count=N, limit_price=CENTS)
  • limit_price is in cents (e.g. 8 = $0.08)
  • count = number of $1 contracts
  • Always check risk_state.json limits before placing

Settlement reminders

  • Use a cron job scheduled ~15 min before close_time
  • Message Katie on Telegram with: current price, range, whether we're in/out, time remaining

Risk Rules (from risk.py)

  • Max $20/day budget
  • Max 5 open positions
  • Max single bet: $5 (high confidence), $3 (medium), $1 (low)
  • Check can_bet() before any auto-place

API Base URL

https://api.elections.kalshi.com/trade-api/v2/

Key endpoints:

  • GET /portfolio/positions → open positions (use /trade-api/v2/portfolio/positions)
  • GET /markets/{ticker} → single market detail
  • GET /markets?status=open&limit=100 → scan markets
  • GET /portfolio/balance → balance + portfolio value
  • POST /portfolio/orders → place order

See references/kalshi-api.md for full endpoint reference.

Polymarket (read-only)

Public REST API — no auth needed for reads:

GET https://gamma-api.polymarket.com/markets?active=true&limit=20

See references/polymarket-api.md for details.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Multi Edge-TTS CN

Edge-TTS 在线语音合成 skill。基于微软 Edge TTS 引擎,生成速度快(1-2秒),支持多种音色和输出格式。同时支持飞书(OGG/Opus)和企业微信(AMR)。默认音色 xiaoxiao_lively。需联网。

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated
General

One Person Company OS

Build a visual operating cockpit for an AI-native one-person company across promise, buyer, product, delivery, cash, learning, and assets. / 为 AI 一人公司建立可视化经营...

Registry SourceRecently Updated
General

健康追踪

健康追踪技能 - 追踪饮水、睡眠、步数等健康数据,JSON存储。

Registry SourceRecently Updated