kalshi-econ-bin-sum-trader

Trades CPI range bin markets on Kalshi using the constraint that mutually exclusive bins must sum to ~100%. Normalizes and trades the most mispriced bin when deviation exceeds tolerance. Requires SIMMER_API_KEY and simmer-sdk.

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-econ-bin-sum-trader" with this command: npx skills add Diagnostikon/kalshi-econ-bin-sum-trader

Kalshi Econ Bin Sum Trader

This is a template.
The default signal uses the fundamental constraint that mutually exclusive outcome bins must sum to 100% -- remix it with Bayesian priors, consensus forecasts, or cross-event correlation models.
The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.

Strategy Overview

CPI range bin markets on Kalshi price each outcome bin independently. Since exactly one bin must resolve YES, the probabilities must sum to 100%. When the market sum deviates beyond tolerance, at least one bin is mispriced. This skill normalizes the distribution and trades the most mispriced bin.

Key advantages:

  • Mathematical certainty -- bins MUST sum to 100%, any deviation is a guaranteed mispricing
  • No forecasting needed -- the strategy is model-free, relying purely on arbitrage math
  • Self-correcting -- as the sum approaches 100%, signals disappear (no stale trades)
  • Works across any bin-style market -- CPI, GDP, unemployment, any mutually exclusive set

Signal Logic

Bin Sum Normalization

  1. Group CPI bin markets by event (e.g., "March 2026 CPI")
  2. Sum all bin prices in the group
  3. If |sum - 1.0| > sum_tolerance, normalize: fair_prob = price / sum
  4. Compute edge per bin: edge = fair_prob - market_price
  5. Trade the bin with the largest absolute edge

Example

BinMarket PriceFair (normalized)EdgeAction
CPI < 2.0%5%4.8%-0.2%Hold
CPI 2.0-2.5%25%23.8%-1.2%Hold
CPI 2.5-3.0%35%33.3%-1.7%BUY NO
CPI 3.0-3.5%30%28.6%-1.4%Hold
CPI > 3.5%10%9.5%-0.5%Hold
Sum105%100%

Conviction-Based Sizing

  • conviction = min(|edge| / deviation, 2.0) / 2.0
  • size = max($1.00, conviction * MAX_POSITION_USD)
  • Larger edge relative to total deviation = larger position

Remix Ideas

  • Cross-event sum: Apply same logic to GDP, unemployment, or Fed rate bins
  • Consensus prior: Weight normalization toward consensus CPI forecasts
  • Multi-bin arbitrage: Trade multiple bins simultaneously for hedged positions
  • Rolling rebalance: Re-run as market moves to capture dynamic mispricing

Risk Parameters

ParameterDefaultNotes
Sum tolerance5%Min deviation from 100% before trading
Exit threshold45%Sell when position price reaches this
Max position size$5.00 USDCPer market
Max trades per run3Rate limiting
Max slippage15%Skip if slippage exceeds
Min liquidity$0Disabled by default

Installation & Setup

clawhub install kalshi-econ-bin-sum-trader

Requires: SIMMER_API_KEY and SOLANA_PRIVATE_KEY environment variables.

Cron Schedule

Cron is set to null -- the skill does not run on a schedule until you configure it in the Simmer UI.

Safety & Execution Mode

The skill defaults to dry-run mode. Real trades only execute when --live is passed explicitly.

ScenarioModeFinancial risk
python trader.pyDry runNone
Cron / automatonDry runNone
python trader.py --liveLive (Kalshi via DFlow)Real USDC

The automaton cron is set to null -- it does not run on a schedule until you configure it in the Simmer UI. autostart: false means it won't start automatically on install.

Required Credentials

VariableRequiredNotes
SIMMER_API_KEYYesTrading authority. Treat as a high-value credential.
SOLANA_PRIVATE_KEYYesBase58-encoded Solana private key for live trading.

Tunables (Risk Parameters)

All risk parameters are declared in clawhub.json as tunables and adjustable from the Simmer UI without code changes.

VariableDefaultPurpose
SIMMER_ECON_BINSUM_SUM_TOLERANCE0.05Min deviation from 100% sum before trading
SIMMER_ECON_BINSUM_EXIT_THRESHOLD0.45Sell position when price reaches this level
SIMMER_ECON_BINSUM_MAX_POSITION_USD5.00Max USDC per trade
SIMMER_ECON_BINSUM_MAX_TRADES_PER_RUN3Max trades per execution cycle
SIMMER_ECON_BINSUM_SLIPPAGE_MAX0.15Max slippage before skipping (0.15 = 15%)
SIMMER_ECON_BINSUM_MIN_LIQUIDITY0Min market liquidity USD (0 = disabled)

Dependency

simmer-sdk is published on PyPI by Simmer Markets.

Review the source before providing live credentials if you require full auditability.

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

通义晓蜜 - 智能外呼

触发阿里云晓蜜外呼机器人任务,自动批量拨打电话。适用于批量外呼、客户回访、满意度调查、简历筛查约面试等场景。可从前置工具或节点获取外呼名单。

Registry SourceRecently Updated
General

Letterboxd Watchlist

Scrape a public Letterboxd user's watchlist into a CSV/JSONL list of titles and film URLs without logging in. Use when a user asks to export, scrape, or mirror a Letterboxd watchlist, or to build watch-next queues.

Registry SourceRecently Updated
General

Seedance Video Generation

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame, first+last frame, reference images), or (3) query/manage video generation tasks. Supports Seedance 1.5 Pro (with audio), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite models.

Registry SourceRecently Updated
4.2K17jackycser
General

Universal Skills Manager

The master coordinator for AI skills. Discovers skills from multiple sources (SkillsMP.com, SkillHub, and ClawHub), manages installation, and synchronization...

Registry SourceRecently Updated