← 返回 Skills 市场
diagnostikon

Kalshi Eth Btc Beta Trader

作者 diagnostikon · GitHub ↗ · v1.0.8 · MIT-0
cross-platform ⚠ suspicious
122
总下载
0
收藏
0
当前安装
9
版本数
在 OpenClaw 中安装
/install kalshi-eth-btc-beta-trader
功能描述
Trades ETH price markets on Kalshi by exploiting the 1.3x beta relationship between ETH and BTC. When BTC odds shift, ETH markets lag behind -- this skill ca...
使用说明 (SKILL.md)

\r \r

Kalshi ETH-BTC Beta Trader\r

\r

This is a template.\r The default signal uses a static 1.3x beta factor between ETH and BTC -- remix it with live correlation calculations, on-chain data feeds, or options-implied volatility surfaces.\r The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.\r \r

Strategy Overview\r

\r ETH historically moves approximately 1.3x BTC on a percentage basis. When Kalshi BTC price markets shift, the corresponding ETH markets often lag by several hours. This skill detects the BTC shift, computes the expected ETH fair price using the beta multiplier, and trades when the ETH market has not yet caught up.\r \r Key advantages:\r

  • Statistically documented beta relationship -- ETH/BTC correlation is well-studied\r
  • Lag window is exploitable -- Kalshi ETH markets update slower than BTC markets\r
  • Conviction-based sizing -- larger edge = larger position\r \r

Signal Logic\r

\r

Beta Model\r

\r

  1. Fetch active BTC and ETH price markets from Kalshi\r
  2. Detect recent BTC probability shifts (>2% moves)\r
  3. Apply beta factor: ETH_expected_move = BTC_move * 1.3\r
  4. Compare expected ETH price to current ETH market price\r
  5. Trade when |fair - market| >= entry_edge\r \r

Example (with defaults)\r

\r | BTC Shift | ETH Expected | ETH Market | Edge | Action |\r |-----------|-------------|------------|------|--------|\r | +5% | +6.5% | +2% | +4.5% | BUY YES |\r | -3% | -3.9% | -1% | -2.9% | BUY NO |\r | +1% | +1.3% | +1% | +0.3% | Hold |\r \r

Conviction-Based Sizing\r

\r

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

Remix Ideas\r

\r

  • Live correlation API: Replace static beta with rolling 30-day correlation\r
  • Options-implied vol: Use BTC/ETH options skew for better beta estimates\r
  • On-chain flows: Track large ETH/BTC exchange deposits for directional signals\r
  • Multi-timeframe: Use 1h, 4h, and 24h beta windows for different market regimes\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 | 4 | Rate limiting |\r | Max slippage | 15% | Skip if slippage exceeds |\r | Min liquidity | $0 | Disabled by default |\r | Beta factor | 1.3 | ETH/BTC beta multiplier |\r | Lag window | 6h | Hours to look back for BTC shifts |\r \r

Installation & Setup\r

\r

clawhub install kalshi-eth-btc-beta-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_ETH_BTCBETA_ENTRY_EDGE` | `0.10` | Min divergence to trigger trade |\r
| `SIMMER_ETH_BTCBETA_EXIT_THRESHOLD` | `0.45` | Sell position when price reaches this level |\r
| `SIMMER_ETH_BTCBETA_MAX_POSITION_USD` | `5.00` | Max USDC per trade |\r
| `SIMMER_ETH_BTCBETA_MAX_TRADES_PER_RUN` | `4` | Max trades per execution cycle |\r
| `SIMMER_ETH_BTCBETA_SLIPPAGE_MAX` | `0.15` | Max slippage before skipping (15%) |\r
| `SIMMER_ETH_BTCBETA_MIN_LIQUIDITY` | `0` | Min market liquidity USD (0 = disabled) |\r
| `SIMMER_ETH_BTCBETA_BETA` | `1.3` | ETH/BTC beta multiplier |\r
| `SIMMER_ETH_BTCBETA_LAG_HOURS` | `6.0` | Hours to look back for BTC shifts |\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
安全使用建议
This package mostly looks like what it claims — a trading skill that needs an API key and a Solana private key to place live trades. Before installing: (1) do not provide live credentials unless you trust the simmer-sdk publisher and have reviewed its source; (2) verify why a Solana private key is required (are trades signed locally or sent to a third-party service?); (3) fix or ask the publisher about the metadata inconsistency (the registry claims no required env vars while SKILL.md and clawhub.json require two secrets); (4) test in dry-run only and review logs, and (5) audit the simmer-sdk package code (and any network endpoints it calls) if you plan to run with --live or store your private key on the machine. If you are uncomfortable auditing the SDK, avoid providing SOLANA_PRIVATE_KEY or SIMMER_API_KEY for live use.
能力标签
cryptorequires-wallet
能力评估
Purpose & Capability
The name/description match the code: trader.py uses simmer-sdk to discover Kalshi markets and execute trades based on an ETH-vs-BTC beta. Requesting a Simmer API key and a Solana private key is consistent with a bot that can execute on-chain orders via the Simmer SDK. However, the registry summary at the top claims 'Required env vars: none' while SKILL.md and clawhub.json both require SIMMER_API_KEY and SOLANA_PRIVATE_KEY — an internal metadata mismatch.
Instruction Scope
SKILL.md and trader.py confine runtime actions to market discovery, signal computation, and trade execution via the simmer-sdk. The skill defaults to dry-run and only executes real trades with an explicit --live flag. No instructions in SKILL.md ask the agent to read unrelated system files or exfiltrate data.
Install Mechanism
This is instruction-only with a dependency on the public PyPI package 'simmer-sdk' (declared in SKILL.md and clawhub.json). There are no downloads from arbitrary URLs or archive extraction steps in the package files provided.
Credentials
The skill requires high-value secrets (SIMMER_API_KEY and SOLANA_PRIVATE_KEY) which are plausible and proportional for a live trading bot. The concern is the inconsistency between the registry's 'Required env vars: none' and the SKILL.md/clawhub.json that declare the credentials. That metadata mismatch could lead users to install without noticing they must supply private keys. Also verify why both an API key and a private key are needed and whether the Simmer SDK actually requires direct private-key signing (rather than server-side execution).
Persistence & Privilege
The skill is not always-on (always:false) and autostart is false. The automaton entrypoint is set so the platform can run it, but it won't start automatically on install. It does not request system-wide settings or modify other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kalshi-eth-btc-beta-trader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kalshi-eth-btc-beta-trader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.8
Rescan attempt
v1.0.7
Rescan attempt
v1.0.6
Rescan attempt
v1.0.5
Rescan attempt
v1.0.4
Rescan attempt
v1.0.3
Fix registry metadata: correct requires.env and pip declaration
v1.0.2
- Updated clawhub.json file; no user-facing changes to documentation or logic. - No visible modifications to strategy description, parameters, or usage details.
v1.0.1
- No code or documentation changes in this version. - Version bump only; functionality and documentation remain unchanged.
v1.0.0
Initial release of Kalshi ETH-BTC Beta Trader. - Trades ETH price markets on Kalshi by exploiting the historical 1.3x beta relationship between ETH and BTC. - Detects significant BTC market shifts and enters trades when ETH markets lag behind the expected move. - Includes conviction-based position sizing and multiple configurable risk parameters (entry edge, slippage, position size, etc.). - Requires SIMMER_API_KEY and simmer-sdk; supports dry-run and live trading modes with explicit --live flag. - Default mode is paper trading; cron/autostart is disabled until configured in the Simmer UI.
元数据
Slug kalshi-eth-btc-beta-trader
版本 1.0.8
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 9
常见问题

Kalshi Eth Btc Beta Trader 是什么?

Trades ETH price markets on Kalshi by exploiting the 1.3x beta relationship between ETH and BTC. When BTC odds shift, ETH markets lag behind -- this skill ca... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 122 次。

如何安装 Kalshi Eth Btc Beta Trader?

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

Kalshi Eth Btc Beta Trader 是免费的吗?

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

Kalshi Eth Btc Beta Trader 支持哪些平台?

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

谁开发了 Kalshi Eth Btc Beta Trader?

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

💬 留言讨论