Kalshi Econ Bin Sum Trader
/install kalshi-econ-bin-sum-trader
\r \r
Kalshi Econ Bin Sum Trader\r
\r
This is a template. \r 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. \r The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.\r \r
Strategy Overview\r
\r 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.\r \r Key advantages:\r
- Mathematical certainty -- bins MUST sum to 100%, any deviation is a guaranteed mispricing\r
- No forecasting needed -- the strategy is model-free, relying purely on arbitrage math\r
- Self-correcting -- as the sum approaches 100%, signals disappear (no stale trades)\r
- Works across any bin-style market -- CPI, GDP, unemployment, any mutually exclusive set\r \r
Signal Logic\r
\r
Bin Sum Normalization\r
\r
- Group CPI bin markets by event (e.g., "March 2026 CPI")\r
- Sum all bin prices in the group\r
- If
|sum - 1.0| > sum_tolerance, normalize:fair_prob = price / sum\r - Compute edge per bin:
edge = fair_prob - market_price\r - Trade the bin with the largest absolute edge\r \r
Example\r
\r | Bin | Market Price | Fair (normalized) | Edge | Action |\r |-----|-------------|-------------------|------|--------|\r | CPI \x3C 2.0% | 5% | 4.8% | -0.2% | Hold |\r | CPI 2.0-2.5% | 25% | 23.8% | -1.2% | Hold |\r | CPI 2.5-3.0% | 35% | 33.3% | -1.7% | BUY NO |\r | CPI 3.0-3.5% | 30% | 28.6% | -1.4% | Hold |\r | CPI > 3.5% | 10% | 9.5% | -0.5% | Hold |\r | Sum | 105% | 100% | | |\r \r
Conviction-Based Sizing\r
\r
conviction = min(|edge| / deviation, 2.0) / 2.0\rsize = max($1.00, conviction * MAX_POSITION_USD)\r- Larger edge relative to total deviation = larger position\r \r
Remix Ideas\r
\r
- Cross-event sum: Apply same logic to GDP, unemployment, or Fed rate bins\r
- Consensus prior: Weight normalization toward consensus CPI forecasts\r
- Multi-bin arbitrage: Trade multiple bins simultaneously for hedged positions\r
- Rolling rebalance: Re-run as market moves to capture dynamic mispricing\r \r
Risk Parameters\r
\r | Parameter | Default | Notes |\r |-----------|---------|-------|\r | Sum tolerance | 5% | Min deviation from 100% before trading |\r | Exit threshold | 45% | Sell when position price reaches this |\r | Max position size | $5.00 USDC | Per market |\r | Max trades per run | 3 | Rate limiting |\r | Max slippage | 15% | Skip if slippage exceeds |\r | Min liquidity | $0 | Disabled by default |\r \r
Installation & Setup\r
\r
clawhub install kalshi-econ-bin-sum-trader\r
```\r
\r
Requires: `SIMMER_API_KEY` and `SOLANA_PRIVATE_KEY` environment variables.\r
\r
## Cron Schedule\r
\r
Cron is set to `null` -- the skill does not run on a schedule until you configure it in the Simmer UI.\r
\r
## Safety & Execution Mode\r
\r
**The skill defaults to dry-run mode. Real trades only execute when `--live` is passed explicitly.**\r
\r
| Scenario | Mode | Financial risk |\r
|----------|------|----------------|\r
| `python trader.py` | Dry run | None |\r
| Cron / automaton | Dry run | None |\r
| `python trader.py --live` | Live (Kalshi via DFlow) | Real USDC |\r
\r
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.\r
\r
## Required Credentials\r
\r
| Variable | Required | Notes |\r
|----------|----------|-------|\r
| `SIMMER_API_KEY` | Yes | Trading authority. Treat as a high-value credential. |\r
| `SOLANA_PRIVATE_KEY` | Yes | Base58-encoded Solana private key for live trading. |\r
\r
## Tunables (Risk Parameters)\r
\r
All risk parameters are declared in `clawhub.json` as `tunables` and adjustable from the Simmer UI without code changes.\r
\r
| Variable | Default | Purpose |\r
|----------|---------|---------|\r
| `SIMMER_ECON_BINSUM_SUM_TOLERANCE` | `0.05` | Min deviation from 100% sum before trading |\r
| `SIMMER_ECON_BINSUM_EXIT_THRESHOLD` | `0.45` | Sell position when price reaches this level |\r
| `SIMMER_ECON_BINSUM_MAX_POSITION_USD` | `5.00` | Max USDC per trade |\r
| `SIMMER_ECON_BINSUM_MAX_TRADES_PER_RUN` | `3` | Max trades per execution cycle |\r
| `SIMMER_ECON_BINSUM_SLIPPAGE_MAX` | `0.15` | Max slippage before skipping (0.15 = 15%) |\r
| `SIMMER_ECON_BINSUM_MIN_LIQUIDITY` | `0` | Min market liquidity USD (0 = disabled) |\r
\r
## Dependency\r
\r
`simmer-sdk` is published on PyPI by Simmer Markets.\r
- PyPI: https://pypi.org/project/simmer-sdk/\r
- GitHub: https://github.com/SpartanLabsXyz/simmer-sdk\r
- Publisher: [email protected]\r
\r
Review the source before providing live credentials if you require full auditability.\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kalshi-econ-bin-sum-trader - 安装完成后,直接呼叫该 Skill 的名称或使用
/kalshi-econ-bin-sum-trader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 82 次。
如何安装 Kalshi Econ Bin Sum Trader?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kalshi-econ-bin-sum-trader」即可一键安装,无需额外配置。
Kalshi Econ Bin Sum Trader 是免费的吗?
是的,Kalshi Econ Bin Sum Trader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Kalshi Econ Bin Sum Trader 支持哪些平台?
Kalshi Econ Bin Sum Trader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kalshi Econ Bin Sum Trader?
由 diagnostikon(@diagnostikon)开发并维护,当前版本 v1.0.1。