← 返回 Skills 市场
diagnostikon

Kalshi Econ Seasonal Trader

作者 diagnostikon · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
85
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install kalshi-econ-seasonal-trader
功能描述
Trades CPI/inflation markets on Kalshi using documented seasonal patterns in CPI data. Energy costs spike summer, housing adjustments January. Requires SIMME...
使用说明 (SKILL.md)

\r \r

Kalshi CPI Seasonal Trader\r

\r

This is a template.\r The default signal uses static seasonal adjustment factors for CPI bins -- remix it with real-time BLS data feeds, energy futures curves, or housing indices for live seasonal calibration.\r The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.\r \r

Strategy Overview\r

\r CPI has well-documented seasonal patterns that retail traders ignore. Energy costs spike in summer (June peak), housing OER resets in January, and holiday demand lifts December. This skill biases CPI bin probabilities based on the current month's historical seasonal adjustment, then trades when Kalshi market prices diverge from the seasonally-adjusted fair value.\r \r Key advantages:\r

  • Seasonal patterns are persistent -- decades of BLS data confirm monthly CPI biases\r
  • Energy dominance -- summer energy spikes are the strongest and most predictable signal\r
  • January housing reset -- OER annual adjustment creates a reliable January hot-print bias\r
  • Bin structure exploitable -- Kalshi CPI bins create discrete mispricings when seasonal effects shift probability mass\r \r

Signal Logic\r

\r

Seasonal Adjustment Model\r

\r

  1. Look up current month's seasonal adjustment factor (+/- percentage points)\r
  2. Classify each CPI market into a bin category (low, low_mid, mid, high_mid, high)\r
  3. Shift probability mass: positive adj -> higher bins more likely, negative -> lower bins\r
  4. Compare adjusted fair value to Kalshi market price\r
  5. Trade when |fair_value - market| >= entry_edge\r \r

Monthly Adjustments\r

\r | Month | Adj | Reason |\r |-------|-----|--------|\r | Jan | +0.10 | Housing OER annual reset |\r | Feb | -0.05 | Post-holiday normalization |\r | Mar | 0.00 | Neutral transition |\r | Apr | +0.05 | Spring demand, gasoline blend switch |\r | May | +0.05 | Summer driving begins |\r | Jun | +0.10 | Peak summer energy |\r | Jul | +0.05 | Continued summer, moderating |\r | Aug | 0.00 | Back-to-school offsets energy |\r | Sep | -0.05 | Summer demand fade |\r | Oct | -0.05 | Autumn deflation |\r | Nov | 0.00 | Pre-holiday neutral |\r | Dec | +0.05 | Holiday demand |\r \r

Conviction-Based Sizing\r

\r

  • conviction = min(|edge| / entry_edge, 2.0) / 2.0\r
  • size = max($1.00, conviction * MAX_POSITION_USD)\r
  • Larger edge = larger position, capped at MAX_POSITION_USD\r \r

Risk Parameters\r

\r | Parameter | Default | Notes |\r |-----------|---------|-------|\r | Entry edge | 8% | Min fair-vs-market divergence to trade |\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-seasonal-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
## 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
| Variable | Default | Purpose |\r
|----------|---------|---------|\r
| `SIMMER_ECON_SEAS_ENTRY_EDGE` | `0.08` | Min divergence to trigger trade |\r
| `SIMMER_ECON_SEAS_EXIT_THRESHOLD` | `0.45` | Sell position when price reaches this level |\r
| `SIMMER_ECON_SEAS_MAX_POSITION_USD` | `5.00` | Max USDC per trade |\r
| `SIMMER_ECON_SEAS_MAX_TRADES_PER_RUN` | `3` | Max trades per execution cycle |\r
| `SIMMER_ECON_SEAS_SLIPPAGE_MAX` | `0.15` | Max slippage before skipping trade |\r
| `SIMMER_ECON_SEAS_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
安全使用建议
Before installing or supplying credentials: - Do not hand over your main Solana private key. Use a dedicated, low-balance key for testing live trades. - Verify the simmer-sdk PyPI package and its GitHub repo (publisher, recent commits, and file contents) to ensure it is legitimate and doesn't exfiltrate secrets. - Inspect the full trader.py (the supplied file was truncated in the listing) for any network endpoints, hard-coded URLs, or code paths that transmit environment variables or files to third parties. Search for HTTP(s) requests, base64/hex encoding of env values, or subprocess calls that could leak keys. - Start in dry-run mode (default) and run locally to observe behavior and network I/O. - Confirm the discrepancy in registry metadata (registry claimed no required envs, but code and clawhub.json require SIMMER_API_KEY and SOLANA_PRIVATE_KEY) is resolved by the publisher. - If you plan to run live, limit MAX_POSITION_USD and max trades, and monitor logs & network traffic. If you can share the full trader.py and the simmer-sdk package source, I can re-evaluate with higher confidence.
功能分析
Type: OpenClaw Skill Name: kalshi-econ-seasonal-trader Version: 1.0.1 The skill is a functional trading bot designed to trade CPI inflation markets on Kalshi based on seasonal trends. The code in trader.py implements the described strategy using a seasonal adjustment model and the 'simmer-sdk' library. While it requires sensitive credentials like SIMMER_API_KEY and SOLANA_PRIVATE_KEY, their use is consistent with the stated purpose of automated financial trading, and there is no evidence of malicious behavior, data exfiltration, or prompt injection in the provided files.
能力标签
cryptorequires-wallet
能力评估
Purpose & Capability
The skill's purpose (trade CPI markets via Simmer/Kalshi) aligns with the code and the declared pip dependency (simmer-sdk). However registry-level metadata earlier claimed 'Required env vars: none' while SKILL.md and clawhub.json require SIMMER_API_KEY and SOLANA_PRIVATE_KEY. This mismatch between registry metadata and included files is an incoherence that should be corrected.
Instruction Scope
SKILL.md and trader.py keep scope to market discovery, fair-value calculation, and trade execution. The instructions explicitly default to dry-run and require an explicit --live flag to execute real trades. Points to watch: the code attempts optional integration with a 'tradejournal' module and imports 'skills.tradejournal' as a fallback (this can access other skill modules if present). The skill also uses simmer_sdk.skill helpers (load_config/update_config) which read/write the skill's config path. It references and reads additional env vars (TRADING_VENUE, AUTOMATON_MAX) that aren't consistently declared in top-level metadata.
Install Mechanism
There is no arbitrary download/install; the dependency is a PyPI package (simmer-sdk). Using pip-installed packages is expected for this purpose, but PyPI packages have inherent supply-chain risk — verify the package publisher, release source, and review the simmer-sdk code before installing.
Credentials
Requesting SIMMER_API_KEY and SOLANA_PRIVATE_KEY is proportionate to a trading skill, but SOLANA_PRIVATE_KEY is highly sensitive and grants direct custody-authority for on-chain funds. Additionally, the code references other environment variables (TRADING_VENUE, AUTOMATON_MAX) that are not consistently declared in metadata; this incomplete declaration could surprise users. Only provide private keys after verifying code and limiting funds (use a low-balance/trial key).
Persistence & Privilege
The skill is not marked 'always:true' and autostart is false. It is set as an automaton-managed entrypoint but will not run on a schedule unless configured — autonomous invocation is allowed by default (normal). The skill updates/reads its own config but does not appear to modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kalshi-econ-seasonal-trader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kalshi-econ-seasonal-trader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Rescan
v1.0.0
Initial release
元数据
Slug kalshi-econ-seasonal-trader
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Kalshi Econ Seasonal Trader 是什么?

Trades CPI/inflation markets on Kalshi using documented seasonal patterns in CPI data. Energy costs spike summer, housing adjustments January. Requires SIMME... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 Kalshi Econ Seasonal Trader?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kalshi-econ-seasonal-trader」即可一键安装,无需额外配置。

Kalshi Econ Seasonal Trader 是免费的吗?

是的,Kalshi Econ Seasonal Trader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Kalshi Econ Seasonal Trader 支持哪些平台?

Kalshi Econ Seasonal Trader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Kalshi Econ Seasonal Trader?

由 diagnostikon(@diagnostikon)开发并维护,当前版本 v1.0.1。

💬 留言讨论