
Market Data
kalshi
Kalshi Prediction Markets is a read-only integration that surfaces exchange-grade prediction market data and portfolio views for research, monitoring, and idea generation.
總覽
Kalshi Prediction Markets is a read-only integration that surfaces exchange-grade prediction market data and portfolio views for research, monitoring, and idea generation.
Kalshi Prediction Markets is a read-only integration that surfaces exchange-grade prediction market data and portfolio views for research, monitoring, and idea generation. Core features include browsing active events and markets by category, retrieving live prices, volumes and orderbook depth, and viewing authenticated portfolio positions and P&L (requires RSA-signed API credentials). Built-in opportunity analysis flags high-certainty, high-payoff trades using thresholds (e.g., price ≥85¢ or ≤15¢ YES), expected-value calculations, minimum return filters (≥10%) and liquidity checks to ensure feasible position sizing. Use it for event-driven research, scouting asymmetric bets, monitoring exposure, and feeding signal generation into trading workflows. Setup is lightweight (pip install requests cryptography) and supports scripted commands for market discovery, search, detailed market views, and portfolio inspection.
Skill.md
這個 Skill 如何運作
Kalshi Prediction Markets is a read-only integration that surfaces exchange-grade prediction market data and portfolio views for research, monitoring, and idea generation.
Kalshi Prediction Markets
Read-only integration with Kalshi's prediction market API.
Capabilities
- 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:
pip install requests cryptography
For portfolio access (RSA key signing required):
- Go to kalshi.com/account/profile
- Create new API key → save the Key ID and download the private key
- Store credentials:
mkdir -p ~/.kalshi
mv ~/Downloads/your-key-file.txt ~/.kalshi/private_key.pem
chmod 600 ~/.kalshi/private_key.pem
- Create
~/.kalshi/credentials.json:
{
"api_key_id": "your-key-id-here",
"private_key_path": "~/.kalshi/private_key.pem"
}
Or run interactive setup:
python scripts/kalshi_portfolio.py setup
Scripts
Market Data (No Auth Required)
# 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)
# 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
最適合用於
何時使用
Kalshi Prediction Markets is a read-only integration that surfaces exchange-grade prediction market data and portfolio views for research, monitoring, and idea generation.

01 · 會前準備
準備決策簡報
在投資委員會開會前,把零散證據整理成結構化的論據。

02 · 團隊協作
統一交接標準
讓分析師、投資組合經理與 Agent 產出一致的研究結果。

03 · 即時更新
更新投資邏輯
出現新催化劑、KPI 發布或財報結果後,更新情境假設。
社群回饋
越用越好用。
隨著 Skill 被使用與評審,回饋將顯示在這裡。
探索更多
相關 Skills
查看全部gmgn-market
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched…
crypto-price
This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI. Invoke the script with a token symbol and optional duration (e.g., 30m, 3h, 12h, 2d) to…
cmc-api-crypto
This skill documents the CoinMarketCap (CMC) Cryptocurrency REST API for programmatic access to market and token data. It details authentication (API key via X-CMC_PRO_API_KEY), base URL, and…