henrik-openclaw

Kalshi

数据分析v1.1.0
作者:henrik-openclaw更新于 2026-05-11共 2 个版本 · 最新版本发布于 2026-02-01kalshi@clawhub_henrik-openclaw/kalshi
数据洞察指标监控

据 AlphaMoat 统计,截至 2026-09,Kalshi 累计下载 3,570 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 3,062 位,在「数据分析」分类(399 个)中排名第 233 位。

累计安装
147
累计下载
3,570
星标
3
全站排名
#3,062
全站前 61% · 「数据分析」前 59%
平台累计安装累计下载星标评论
ClawHub ↗1153,5653-
SkillHub ↗1473,5703—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

公开市场数据无需身份认证;查看账户持仓和余额需要本地 API 凭据与私钥。技能不会执行交易,但其“机会”分析可能被误当作投资建议。应把结果视为信息参考,保护凭据并独立评估市场风险,不能据此自动下单或保证收益。 需要 Python、requests、cryptography,并需访问外部 API。

资料发布于 2026-10-29

可以用来做什么

  • 浏览活跃市场并按主题搜索
  • 查看市场价格、成交量和订单簿深度
  • 在配置凭据后查看账户持仓或余额

什么时候用

  • 需要只读查看预测市场资料时
  • 只有在确有需要且私钥得到安全保管时才启用账户查询
  • 投资决策仍由用户独立评估并承担风险时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

只读比较指定 Kalshi 市场的价格和流动性,并指出分析限制;不要建议执行交易或读取账户私钥。

月度数据趋势

累计下载3,570
2,3553,0083,6602026-03 · 累计下载 2,4452026-05 · 累计下载 2,9192026-06 · 累计下载 3,0582026-07 · 累计下载 3,2952026-08 · 累计下载 3,4582026-09 · 累计下载 3,57026-0326-09
星标3
2342026-03 · 星标 32026-05 · 星标 32026-06 · 星标 32026-07 · 星标 32026-08 · 星标 32026-09 · 星标 326-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,570—3
2026-083,458+4.9%3
2026-073,295+7.8%3
2026-063,058+4.8%3
2026-052,919—3
2026-032,445—3

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.8 KB · ClawHub v1.1.0
---
name: kalshi
description: Read-only Kalshi prediction market integration. Use for viewing markets, checking portfolio positions, analyzing prediction opportunities, and finding high-payoff/high-certainty trades. Triggers on Kalshi, prediction markets, event contracts, or trading recommendations.
---

# Kalshi Prediction Markets

Read-only integration with Kalshi's prediction market API.

## Capabilities
展开全部(共 112 行)

- **Browse markets**: List active events and markets by category
- **Market analysis**: Get prices, volumes, orderbook depth
- **Portfolio view**: Check positions and P&L (requires API key)
- **Trade recommendations**: Find high-certainty, high-payoff opportunities

## Setup

Install dependencies:
```bash
pip install requests cryptography
```

For portfolio access (RSA key signing required):

1. Go to [kalshi.com/account/profile](https://kalshi.com/account/profile)
2. Create new API key → save the **Key ID** and download the **private key**
3. Store credentials:

```bash
mkdir -p ~/.kalshi
mv ~/Downloads/your-key-file.txt ~/.kalshi/private_key.pem
chmod 600 ~/.kalshi/private_key.pem
```

4. Create `~/.kalshi/credentials.json`:
```json
{
  "api_key_id": "your-key-id-here",
  "private_key_path": "~/.kalshi/private_key.pem"
}
```

Or run interactive setup:
```bash
python scripts/kalshi_portfolio.py setup
```

## Scripts

### Market Data (No Auth Required)

```bash
# List trending markets
python scripts/kalshi_markets.py trending

# Search markets by query
python scripts/kalshi_markets.py search "bitcoin"

# Get specific market details
python scripts/kalshi_markets.py market TICKER

# Find high-value opportunities
python scripts/kalshi_markets.py opportunities
```

### Portfolio (Auth Required)

```bash
# View positions
python scripts/kalshi_portfolio.py positions

# View balance
python scripts/kalshi_portfolio.py balance

# Trade history
python scripts/kalshi_portfolio.py history
```

## Opportunity Analysis

The `opportunities` command identifies markets where:
- **High certainty**: Price ≥85¢ YES or ≤15¢ YES (implies 85%+ confidence)
- **Meaningful payoff**: Potential return ≥10% on capital
- **Sufficient liquidity**: Orderbook depth supports reasonable position size

Formula: `expected_value = probability * payoff - (1 - probability) * cost`

A good opportunity has: `EV / cost > 0.1` (10%+ expected return)

## Categories

Kalshi markets span:
- Politics & Elections
- Economics (Fed rates, inflation, GDP)
- Weather & Climate
- Finance (stock prices, crypto)
- Entertainment & Sports
- Science & Tech

## API Reference

See `references/api.md` for endpoint details.

## Important Notes

- This skill is READ-ONLY — no trade execution
- Public endpoints don't require authentication
- Portfolio/balance requires API credentials
- Markets settle in cents (100¢ = $1)
- All times in UTC

「数据分析」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。