← 返回 Skills 市场
diagnostikon

Kalshi F1 Race Momentum Trader

作者 diagnostikon · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
95
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install kalshi-f1-race-momentum-trader
功能描述
Trades F1 Drivers Championship markets on Kalshi using recent race results weighted by recency. Hot streaks boost championship probability, cold streaks redu...
使用说明 (SKILL.md)

\r \r

Kalshi F1 Race Momentum Trader\r

\r

This is a template.\r The default signal uses static recent results -- remix it with live F1 API data for automatic momentum recalculation after each race weekend.\r The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.\r \r

Strategy Overview\r

\r Recent form matters in F1. A driver on a hot streak (wins, podiums in the last 3 races) has demonstrably higher championship probability than their season-long average suggests. Markets are slow to fully price in momentum shifts -- they anchor to pre-season expectations and lag behind recent performance changes.\r \r Key advantages:\r

  • Recency bias is real and quantifiable -- last 3 races predict next-race performance better than season average\r
  • Markets anchor to narratives -- "Verstappen always wins" persists even during cold streaks\r
  • Weighted recency -- most recent race gets 3x weight, capturing acceleration/deceleration in form\r
  • Hot/cold classification -- simple trend labels (HOT/COLD/FLAT) identify tradeable regimes\r \r

Signal Logic\r

\r

Momentum Model\r

\r

  1. Collect last 3 race results per driver (position finished)\r
  2. Convert positions to performance scores: P1=1.0, P20=0.0\r
  3. Apply recency weights: [3x, 2x, 1x] for [most recent, second, third]\r
  4. Compute momentum score: normalized to [-1.0, +1.0]\r
  5. Adjust base probability: adjusted = base + momentum * SCALE * base\r
  6. Compare adjusted probability to Kalshi market price\r
  7. Trade when |adjusted - market| >= entry_edge\r \r

Momentum Categories\r

\r | Momentum Score | Category | Meaning |\r |---------------|----------|---------|\r | > +0.3 | HOT | Driver outperforming, probability should be higher |\r | -0.3 to +0.3 | FLAT | Stable form, no momentum edge |\r | \x3C -0.3 | COLD | Driver underperforming, probability should be lower |\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 | 10% | Min model-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 | 5 | 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-f1-race-momentum-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_F1_RACEMOM_ENTRY_EDGE` | `0.10` | Min divergence to trigger trade |\r
| `SIMMER_F1_RACEMOM_EXIT_THRESHOLD` | `0.45` | Sell position when price reaches this level |\r
| `SIMMER_F1_RACEMOM_MAX_POSITION_USD` | `5.00` | Max USDC per trade |\r
| `SIMMER_F1_RACEMOM_MAX_TRADES_PER_RUN` | `5` | Max trades per execution cycle |\r
| `SIMMER_F1_RACEMOM_SLIPPAGE_MAX` | `0.15` | Max slippage before skipping trade |\r
| `SIMMER_F1_RACEMOM_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
安全使用建议
This package appears to be a coherent trading skill: it will run in dry-run by default and only place real trades when you run it with --live. Before enabling live mode, do the following: (1) verify the simmer-sdk PyPI package and its maintainer (install in an isolated environment); (2) do not put your primary Solana wallet key in the environment — create a trade-only key and fund only the amount you are willing to risk; (3) test thoroughly in dry-run or a sandbox/testnet to confirm behavior; (4) note that the registry metadata omitted required env vars (SIMMER_API_KEY, SOLANA_PRIVATE_KEY) so rely on the package's SKILL.md/clawhub.json for required permissions; (5) rotate any keys you expose during testing. If you are not comfortable providing a private key, do not enable --live.
功能分析
Type: OpenClaw Skill Name: kalshi-f1-race-momentum-trader Version: 1.0.1 The skill is a functional trading bot template for F1 Drivers Championship markets on Kalshi, using a momentum-based strategy. The code in trader.py implements the logic described in SKILL.md, including market discovery, probability adjustment based on recent race results, and trade execution via the simmer-sdk. While it requires sensitive credentials (SIMMER_API_KEY and SOLANA_PRIVATE_KEY), their use is justified by the integration with the DFlow/Solana-backed Simmer platform. The script includes appropriate safety safeguards such as a default dry-run mode, slippage limits, and position size caps. No evidence of malicious intent, data exfiltration, or prompt injection was found.
能力标签
cryptorequires-wallet
能力评估
Purpose & Capability
The skill is a trading bot for Kalshi using the Simmer SDK and (optionally) Solana for live execution — the code imports simmer_sdk and references live trading. One minor inconsistency: the registry metadata at the top of the report listed no required environment variables, while SKILL.md, clawhub.json, and trader.py require SIMMER_API_KEY and SOLANA_PRIVATE_KEY; this appears to be a metadata omission rather than a functional mismatch.
Instruction Scope
SKILL.md and the code limit actions to market discovery, computing momentum signals, and executing trades via the Simmer SDK/DFlow/Solana. The instructions do not direct the agent to read unrelated system files. The SKILL.md explicitly defaults to dry-run and requires an explicit --live flag to execute real trades.
Install Mechanism
There is no install spec that downloads arbitrary external code; dependencies are limited to the simmer-sdk PyPI package. The skill is instruction-only for install but does include a local Python file (trader.py).
Credentials
The skill requires SIMMER_API_KEY and SOLANA_PRIVATE_KEY for live trading, which is proportionate to its stated purpose. The code also reads optional environment variables (e.g., TRADING_VENUE, AUTOMATON_MAX_BET). Because SOLANA_PRIVATE_KEY is a high-value secret, users should treat it cautiously and use a segregated/trade-only key and/or testnet funds for evaluation.
Persistence & Privilege
The skill does not request always:true and autostart is false. clawhub.json marks the entrypoint for automaton management but does not force always-on inclusion. The skill may write or update its own config via simmer_sdk.skill functions (expected behavior) and does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kalshi-f1-race-momentum-trader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kalshi-f1-race-momentum-trader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Rescan
v1.0.0
Initial release
元数据
Slug kalshi-f1-race-momentum-trader
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Kalshi F1 Race Momentum Trader 是什么?

Trades F1 Drivers Championship markets on Kalshi using recent race results weighted by recency. Hot streaks boost championship probability, cold streaks redu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 Kalshi F1 Race Momentum Trader?

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

Kalshi F1 Race Momentum Trader 是免费的吗?

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

Kalshi F1 Race Momentum Trader 支持哪些平台?

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

谁开发了 Kalshi F1 Race Momentum Trader?

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

💬 留言讨论