Kalshi Crypto Index Markets 标志

Kalshi Crypto Index Markets

社区
agiprolabs
kalshi-crypto-index-markets

Kalshi 加密货币价格(BTC、ETH)和股票指数(S&P 500、Nasdaq-100)的每日及每小时区间市场:区间档位结构、基于价格和波动率的高斯 P(YES) 建模、临近收盘时的决策时机,以及有充分证据边界支撑的冷门选项卖出优势

Add to TypingMind

概览

发布者agiprolabs
代码仓库claude-trading-skills
技能名称kalshi-crypto-index-markets
星标数
434
复刻数
85
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 agiprolabs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Kalshi Crypto Index Markets AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/kalshi-crypto-index-markets
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git /tmp/claude-trading-skills
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills/skills/kalshi-crypto-index-markets .claude/skills/kalshi-crypto-index-markets
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Kalshi Crypto Index Markets,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Kalshi Crypto Index Markets。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Kalshi Crypto Index Markets 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Kalshi Crypto & Index Range Markets

Kalshi lists daily (and for crypto, hourly) range bracket markets on the level of four liquid underlyings: S&P 500, Nasdaq-100, Bitcoin, and Ethereum. The math is the same partition-and-Gaussian framework as weather brackets — the variable is just price/return and σ comes from the underlying's realized or implied volatility, not a temperature model.

Cross-references: for Kalshi API mechanics see kalshi-api; for the strategy, sizing, and backtesting framework see prediction-market-strategy; for the temperature counterpart see kalshi-weather-markets; for the shared bracket/overround formulas see prediction-markets/references/brackets-and-settlement.md.


Series & Market-Type Mapping

python
SERIES_MARKET = {
    "KXINX":       "index",   # S&P 500 index level
    "KXNASDAQ100": "index",   # Nasdaq-100 index level
    "KXBTC":       "crypto",  # Bitcoin price (USD)
    "KXETH":       "crypto",  # Ethereum price (USD)
}
  • market_type = "index" — daily range only; underlying is the index points level at the official market close.
  • market_type = "crypto" — daily and hourly range markets; BTC and ETH each have multiple hourly events running in parallel with the daily.

Cadence is higher than weather: crypto hourlies open and settle throughout the day; daily markets open the prior session and settle at the reference close.


Bracket Structure

Each event is a mutually exclusive, collectively exhaustive partition of the underlying's possible values at settlement:

  • An interior bracket B<center> covers a contiguous price band (floor to cap, both-ends-inclusive). Bracket widths are set per-market — read the event's market list; do not assume a fixed width.
  • Two open-tail markets anchor the partition: a less-than (below the lowest bracket floor) and a greater-than (above the highest bracket cap).
  • At settlement exactly one bracket is YES; all others are NO.

The overround (sum of all YES prices) is typically > 1.0. The excess is concentrated in the cheap tails — the same favorite–longshot bias seen in weather markets. See prediction-markets/references/brackets-and-settlement.md for the overround formula.


Gaussian P(YES) on Price/Vol

Given a price forecast distribution N(μ, σ) for the underlying at settlement, with bracket covering [floor, cap]:

# interior bracket
P(YES) = Φ((cap − μ) / σ) − Φ((floor − μ) / σ)

# open-tail, "greater than cap"
P(YES) = 1 − Φ((cap − μ) / σ)

# open-tail, "less than floor"
P(YES) = Φ((floor − μ) / σ)

Φ is the standard normal CDF. Unlike temperature brackets (which settle on integers), price brackets settle on a continuous reference price — the half-integer continuity correction used for weather is not applicable here. Do not add ±0.5.

Sourcing σ

  • Realized vol: rolling 5- or 20-day realized volatility of the underlying, scaled to the settlement horizon.
  • Implied vol: the ATM IV from listed options (SPX/NDX for index, CME/Deribit for crypto) is a forward-looking σ that already embeds the market's distributional view for the horizon.
  • Hourly markets: for BTC/ETH hourlies, σ is the 1-hour IV or intraday realized vol. Σ shrinks rapidly — even small absolute moves land in a different bracket. Sensitivity is high; prefer IV-derived σ.

For daily markets, a simple log-return diffusion gives σ_daily ≈ σ_annual / √252 for index, or the equivalent annualized vol / √365 for crypto. Express in price units (not %) before inserting into the formula.


Decision Timing — Close-Offset, Not a City Hour

This is the key difference from weather markets.

Weather settles on a daily extreme that occurs at some unknown intraday time. The decision book is read near the likely peak/trough (a city-local hour).

Crypto and index markets settle at a fixed reference close:

  • Daily S&P 500 / Nasdaq-100: the official market close (4:00 PM ET).
  • Daily BTC/ETH: a defined reference close published in the market's rulebook.
  • Hourly BTC/ETH: the close of each hour interval per the rulebook.

The practical convention used in production:

python
DECISION_OFFSET_MINUTES = 120   # read book ~2h before settlement close
decision_ts = settlement_close_ts - timedelta(minutes=DECISION_OFFSET_MINUTES)

This offset balances information freshness (IV and order-book signal) against the risk of being front-run by news that drops in the final window. Tune per-series based on your fill-rate observations.


Settlement — Verify the Rulebook Reference

Settlement is on Kalshi's own result field. Do not re-derive from an external feed. The exact reference price for each series (e.g., official SPX close vs. a crypto composite) is specified per-market in the Kalshi rulebook.

Honest caveat: the exact reference price spec was not pinned for every series during development. Before trading any new series, read the market's rulebook and confirm:

  1. The settlement price source (exchange, composite, or Kalshi-computed).
  2. The settlement time and timezone.
  3. Whether the bracket is inclusive/exclusive at the boundary.

Backtesting against a price feed that differs from the true settlement source is the primary way to manufacture fake edge in these markets.


Edge: Longshot-Sell Generalization

The favorite–longshot bias generalizes from weather to index and crypto brackets. Tail brackets are systematically overpriced relative to a Gaussian model calibrated to realized/implied vol; interior brackets near the current underlying level are fairly priced or underpriced.

Evidence (be precise about depth)

From production testing with a rotating CV approach, Kalshi-settled outcomes, fee-inclusive:

Market typeSweet bandEdge directionSampleResult
IndexMarket-implied P ∈ [0.05, 0.20]Longshot-sell (short tail brackets)~50 trades~+1.7% taker / ~+9% maker
Crypto daily——Too sparseInconclusive
Crypto hourly——Too sparseInconclusive

Interpret conservatively. ~50 trades is not a stable estimate; confidence intervals are wide. The index result is directionally consistent with the weather finding and prior literature on longshot bias, but treat it as a hypothesis to validate forward, not a confirmed edge.

The HFT Caveat (critical for hourlies)

Crypto and index markets settle on public, real-time price ticks. The underlying is continuously quoted on liquid venues with sub-millisecond latency. This means:

  • The information content of any bracket price is rapidly arbitraged by HFT and market-maker algos watching the same tick.
  • Latency front-running — buying or selling brackets based on price moves — is a colocation/HFT game. From a retail connection you will be consistently on the wrong side of news-driven bracket repricing.
  • The retail-feasible angle is the structural longshot-sell (exploiting the persistent overpricing in cheap tails that is stable across market regimes), not speed-based positioning.
  • Hourly crypto markets are the most HFT-contested of all Kalshi markets. Maker fills on tail brackets may be scarce precisely when the edge is largest.

Market Microstructure Notes

  • Overround is the primary microstructure signal. For a partition of N brackets, overround = Σ P_yes. When overround > 1.10 in the tails, the aggregate tail sell has positive expected value before fees; after Kalshi taker fees (~7 cents/$1 per leg) the bar is higher. Maker rebates change the math substantially.
  • Thin books: individual bracket markets on hourly crypto may show wide spreads and low depth. Model a realistic fill at a depth level before sizing.
  • Basket dutch: selling the complete set of tail brackets is not trivially an arb even when overround > 1.0; fees per leg plus execution uncertainty can eliminate the overround advantage. See prediction-market-strategy for the dutch/portfolio treatment.

Files

References

  • references/structure-and-modeling.md — Series details, bracket structure, σ-from-vol modeling, decision timing, settlement

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Kalshi Crypto Index Markets AI 技能有什么作用?

Kalshi 加密货币价格(BTC、ETH)和股票指数(S&P 500、Nasdaq-100)的每日及每小时区间市场:区间档位结构、基于价格和波动率的高斯 P(YES) 建模、临近收盘时的决策时机,以及有充分证据边界支撑的冷门选项卖出优势

为什么在 TypingMind 中使用 Kalshi Crypto Index Markets?

因为您只需安装一次,就能搭配任何模型使用。Kalshi Crypto Index Markets 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Kalshi Crypto Index Markets?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/kalshi-crypto-index-markets。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Kalshi Crypto Index Markets?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Kalshi Crypto Index Markets 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Kalshi Crypto Index Markets 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Kalshi Crypto Index Markets AI 技能免费吗?

是的。agiprolabs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇