kalshi-politics-random-buyer

Dry-run Kalshi skill that finds politics-related markets, picks a valid candidate at random, runs Simmer context checks, and proposes a trade plan without placing a real order.

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 "kalshi-politics-random-buyer" with this command: npx skills add GitHub Copilot/kalshi-politics-random-buyer

Kalshi Politics Random Buyer

This skill scans Kalshi for politics-related markets, randomizes the candidate pool, checks Simmer context safeguards, and prints a dry-run trade plan for one valid candidate.

This is a template. The default signal is intentionally simple: find a politics market at random, then only keep it if context and edge checks still pass. Remix the query set, side logic, price filters, and sizing model with your own thesis.

What It Does

On each run, the skill:

  1. Searches Kalshi importable markets using politics-related queries.
  2. Falls back to a global Kalshi scan when keyword searches return nothing.
  3. Filters for politics candidates with usable tickers and URLs.
  4. Ignores markets outside a configurable price band.
  5. Randomizes the candidate list.
  6. Ensures each candidate is indexed in Simmer using check-then-import.
  7. Fetches Kalshi market context and skips risky candidates.
  8. Picks YES or NO using a simple fair-probability edge rule.
  9. Sizes the hypothetical trade with simmer_sdk.sizing.size_position().
  10. Prints a dry-run plan and reasoning.

Important Limitation

This template is intentionally dry-run only.

  • Passing --live is rejected.
  • No real order is sent.
  • No wallet private key is needed for the default workflow.

Required Files

  • SKILL.md
  • clawhub.json
  • trade_skill.py

Environment Variables

Credentials

  • SIMMER_API_KEY (required): Your Simmer API key.

Strategy Config

  • SEARCH_QUERIES: Comma-separated politics search terms. Default: election,president,presidency,senate,house,governor,politics,campaign,ballot,nominee,party
  • MAX_MARKETS_PER_QUERY: Maximum Kalshi results to inspect per query. Default: 50
  • MIN_PRICE: Minimum YES price allowed. Default: 0.02
  • MAX_PRICE: Maximum YES price allowed. Default: 0.98
  • FAIR_PROBABILITY: Fair YES probability for edge checks. Default: 0.55
  • MIN_EDGE: Minimum edge required to produce a plan. Default: 0.02
  • MAX_SLIPPAGE_PCT: Skip candidates with excessive slippage. Default: 0.15
  • RANDOM_SEED: Optional integer seed for reproducible selection.

Safety Model

  • Dry-run only.
  • Uses Simmer context before proposing a trade.
  • Skips severe flip-flop, HOLD/SKIP recommendations, resolved markets, and excessive slippage.
  • Uses bankroll-aware sizing instead of a hard-coded stake.
  • Avoids publishing wallet identifiers in reasoning.

Local Usage

Default dry-run:

export SIMMER_API_KEY="sk_live_..."
python trade_skill.py

Deterministic test run:

export RANDOM_SEED="7"
python trade_skill.py

Custom politics search:

export SEARCH_QUERIES="president,election,governor"
export FAIR_PROBABILITY="0.60"
python trade_skill.py

Remix Ideas

  • Replace random candidate selection with volume or liquidity ranking.
  • Add event-level filters for US elections only.
  • Add position-awareness to avoid repeat exposure.
  • Convert the dry-run plan into a proposal file instead of stdout.

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 Site Health Monitor

Monitor dozens of websites with configurable health checks, auto-restart alerts, and intelligent alert routing. Use when the user needs uptime tracking, perf...

Registry SourceRecently Updated
General

summarizer for school

Processes any supported file type to extract key information and produce concise, structured summaries tailored for school study needs.

Registry SourceRecently Updated
General

instruction-web

生成包含截图占位符和操作步骤的美观Web界面操作指南HTML页面,介绍软件功能及导入智能体教程。

Registry SourceRecently Updated
General

Cross Platform Content Syncer

Publish content once, distribute everywhere—sync WordPress, Substack, Medium, and LinkedIn automatically. Use when the user needs multi-channel publishing, c...

Registry SourceRecently Updated