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
累計下載
3570
星標
3
全站排名
#3,062
全站前 61% · 「資料分析」前 59%
平台累計安裝累計下載星標評論
ClawHub ↗11535653-
SkillHub ↗14735703—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

公開市場資料無需身份認證;檢視帳戶持倉和餘額需要本地 API 憑據與私鑰。技能不會執行交易,但其“機會”分析可能被誤當作投資建議。應把結果視為資訊參考,保護憑據並獨立評估市場風險,不能據此自動下單或保證收益。 需要 Python、requests、cryptography,並需訪問外部 API。

資料釋出於 2026-10-29

可以用來做什麼

  • 瀏覽活躍市場並按主題搜尋
  • 檢視市場價格、成交量和訂單簿深度
  • 在配置憑據後檢視帳戶持倉或餘額

什麼時候用

  • 需要只讀檢視預測市場資料時
  • 只有在確有需要且私鑰得到安全保管時才啟用帳戶查詢
  • 投資決策仍由使用者獨立評估並承擔風險時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

只讀比較指定 Kalshi 市場的價格和流動性,並指出分析限制;不要建議執行交易或讀取帳戶私鑰。

月度資料趨勢

累計下載3570
2355300836602026-03 · 累計下載 24452026-05 · 累計下載 29192026-06 · 累計下載 30582026-07 · 累計下載 32952026-08 · 累計下載 34582026-09 · 累計下載 357026-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093570—3
2026-083458+4.9%3
2026-073295+7.8%3
2026-063058+4.8%3
2026-052919—3
2026-032445—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),按月更新。口徑說明見資料方法。