prediction-trader
AI-powered prediction market analysis across Polymarket and Kalshi with social signals
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-12
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- prediction-trader
- homepage
- https://github.com/your-repo/trading
- metadata
- { "moltbot": { "emoji": "?", "requires": { "env": [ "UNIFAI_AGENT_API_KEY", "GOOGLE_API_KEY" ] }, "primaryEnv": "UNIFAI_AGENT_API_KEY" } }
- description
- AI-powered prediction market analysis across Polymarket and Kalshi with social signals
- user-invocable
- true
02 资源文件 1
- 脚本scripts/trader.py8.0 KB
03 SKILL.md 正文
Prediction Trader
AI-powered prediction market analysis assistant that aggregates data from multiple platforms and social signals.
Supported Platforms
- Polymarket: Offshore prediction market on Polygon (crypto, politics, sports, world events)
- Kalshi: CFTC-regulated US prediction market (Fed rates, GDP, CPI, economics)
Commands
Compare Markets
python3 {baseDir}/scripts/trader.py compare "[topic]"
Compare prediction markets across both platforms for a given topic.
Get Trending
python3 {baseDir}/scripts/trader.py trending
Get trending prediction markets from both platforms.
Analyze Topic
python3 {baseDir}/scripts/trader.py analyze "[topic]"
Full analysis including market data and social signals.
Platform-Specific
# Polymarket
python3 {baseDir}/scripts/trader.py polymarket trending
python3 {baseDir}/scripts/trader.py polymarket crypto
python3 {baseDir}/scripts/trader.py polymarket search "[query]"
# Kalshi
python3 {baseDir}/scripts/trader.py kalshi fed
python3 {baseDir}/scripts/trader.py kalshi economics
python3 {baseDir}/scripts/trader.py kalshi search "[query]"
Output Format
Results include:
- Market question/title
- YES/NO prices (probability)
- Trading volume
- Platform source
- Resolution date (if available)
Requirements
UNIFAI_AGENT_API_KEY- UnifAI SDK key for Polymarket tools and social signalsGOOGLE_API_KEY- Gemini API key for LLM analysis
Example Usage
User: "Compare Bitcoin prediction markets"
Assistant: I'll compare Bitcoin markets across Polymarket and Kalshi.
python3 {baseDir}/scripts/trader.py compare "bitcoin"
User: "What are the Fed rate predictions?"
Assistant: Let me fetch the Federal Reserve interest rate markets from Kalshi.
python3 {baseDir}/scripts/trader.py kalshi fed
Notes
- Polymarket data accessed via UnifAI tools (may have rate limits)
- Kalshi data accessed via direct public API (no auth for read)
- This tool is read-only; trading requires platform authentication
- All prices shown as decimals (0.75 = 75% probability)
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.