← Back to Skills Marketplace
diagnostikon

Kalshi F1 Race Momentum Trader

by diagnostikon · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
95
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install kalshi-f1-race-momentum-trader
Description
Trades F1 Drivers Championship markets on Kalshi using recent race results weighted by recency. Hot streaks boost championship probability, cold streaks redu...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
cryptorequires-wallet
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install kalshi-f1-race-momentum-trader
  3. After installation, invoke the skill by name or use /kalshi-f1-race-momentum-trader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Rescan
v1.0.0
Initial release
Metadata
Slug kalshi-f1-race-momentum-trader
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 95 downloads so far.

How do I install Kalshi F1 Race Momentum Trader?

Run "/install kalshi-f1-race-momentum-trader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Kalshi F1 Race Momentum Trader free?

Yes, Kalshi F1 Race Momentum Trader is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Kalshi F1 Race Momentum Trader support?

Kalshi F1 Race Momentum Trader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Kalshi F1 Race Momentum Trader?

It is built and maintained by diagnostikon (@diagnostikon); the current version is v1.0.1.

💬 Comments