← 返回 Skills 市场
joelchance

Polymarket

作者 joelchance · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ✓ 安全检测通过
232503
总下载
145
收藏
46
当前安装
7
版本数
在 OpenClaw 中安装
/install polymarket-trade
功能描述
Query Polymarket prediction markets. Check odds, find trending markets, search events, track price movements.
使用说明 (SKILL.md)

Step-by-Step Guide

https://telegra.ph/How-Building-a-Weather-Polymarket-Bot-with-OpenClaw-Skill-and-turn-100--8000-Step-by-Step-Guide-02-28-2

Polymarket

Query Polymarket prediction markets. Check odds, find trending markets, search events, track price movements.

Quick Start

# Trending markets
python3 {baseDir}/scripts/polymarket.py trending

# Search
python3 {baseDir}/scripts/polymarket.py search "trump"

# Biggest movers
python3 {baseDir}/scripts/polymarket.py movers

# What's resolving soon
python3 {baseDir}/scripts/polymarket.py calendar

After Install — Suggested Setup

1. Add to Morning Briefing

Add Polymarket to your daily cron:

polymarket featured + polymarket movers --timeframe 24h

2. Watch Markets You Care About

# Watch with price target alert
python3 {baseDir}/scripts/polymarket.py watch add trump-2028 --alert-at 60

# Watch with change alert (±10% from current)
python3 {baseDir}/scripts/polymarket.py watch add bitcoin-100k --alert-change 10

3. Set Up Hourly Alerts (Cron)

# Check watchlist every hour, only notify on alerts
python3 {baseDir}/scripts/polymarket.py alerts --quiet

4. Weekly Category Digests

# Every Sunday: politics digest
python3 {baseDir}/scripts/polymarket.py digest politics

5. Paper Trade to Track Predictions

python3 {baseDir}/scripts/polymarket.py buy trump-2028 100  # $100 on Trump
python3 {baseDir}/scripts/polymarket.py portfolio           # Check P&L

Commands

Core

# Trending markets (by 24h volume)
python3 {baseDir}/scripts/polymarket.py trending

# Featured/high-profile markets
python3 {baseDir}/scripts/polymarket.py featured

# Search markets
python3 {baseDir}/scripts/polymarket.py search "giannis"

# Get event by slug
python3 {baseDir}/scripts/polymarket.py event trump-2028

# Browse by category
python3 {baseDir}/scripts/polymarket.py category politics

Watchlist + Alerts (NEW)

# Add to watchlist
python3 {baseDir}/scripts/polymarket.py watch add trump-2028
python3 {baseDir}/scripts/polymarket.py watch add bitcoin-100k --alert-at 70
python3 {baseDir}/scripts/polymarket.py watch add fed-rate-cut --alert-change 15

# Watch specific outcome in multi-market
python3 {baseDir}/scripts/polymarket.py watch add giannis-trade --outcome warriors

# List watchlist with current prices
python3 {baseDir}/scripts/polymarket.py watch list

# Remove from watchlist
python3 {baseDir}/scripts/polymarket.py watch remove trump-2028

# Check for alerts (for cron)
python3 {baseDir}/scripts/polymarket.py alerts
python3 {baseDir}/scripts/polymarket.py alerts --quiet  # Only output if triggered

Resolution Calendar (NEW)

# Markets resolving in next 7 days
python3 {baseDir}/scripts/polymarket.py calendar

# Markets resolving in next 3 days
python3 {baseDir}/scripts/polymarket.py calendar --days 3

# More results
python3 {baseDir}/scripts/polymarket.py calendar --days 14 --limit 20

Momentum Scanner (NEW)

# Biggest movers (24h)
python3 {baseDir}/scripts/polymarket.py movers

# Weekly movers
python3 {baseDir}/scripts/polymarket.py movers --timeframe 1w

# Monthly movers with volume filter
python3 {baseDir}/scripts/polymarket.py movers --timeframe 1m --min-volume 50

Category Digests (NEW)

# Politics digest
python3 {baseDir}/scripts/polymarket.py digest politics

# Crypto digest
python3 {baseDir}/scripts/polymarket.py digest crypto

# Sports digest
python3 {baseDir}/scripts/polymarket.py digest sports

Categories: politics, crypto, sports, tech, business

Paper Trading (NEW)

# Buy $100 of a market
python3 {baseDir}/scripts/polymarket.py buy trump-2028 100

# Buy specific outcome
python3 {baseDir}/scripts/polymarket.py buy giannis-trade 50 --outcome warriors

# View portfolio
python3 {baseDir}/scripts/polymarket.py portfolio

# Sell position
python3 {baseDir}/scripts/polymarket.py sell trump-2028

Starts with $10,000 paper cash. Track your predictions without real money.


Data Storage

Watchlist and portfolio stored in ~/.polymarket/:

  • watchlist.json — Watched markets and alert thresholds
  • portfolio.json — Paper positions and trade history

Cron Examples

Hourly Alert Check

0 * * * * python3 ~/.../polymarket.py alerts --quiet

Daily Morning Brief

0 7 * * * python3 ~/.../polymarket.py movers && python3 ~/.../polymarket.py calendar --days 1

Weekly Digests

0 10 * * 0 python3 ~/.../polymarket.py digest politics
0 10 * * 0 python3 ~/.../polymarket.py digest crypto

Output Features

Markets show:

  • Current odds (Yes/No prices)
  • Price momentum (24h/1wk/1mo changes with arrows)
  • Volume (total + 24h activity)
  • Time remaining
  • Bid/ask spread

API

Uses the public Gamma API (no auth required for reading):


Security & Permissions

No API key or authentication required. This skill uses Polymarket's public Gamma API.

What this skill does:

  • Makes HTTPS GET requests to gamma-api.polymarket.com (public, unauthenticated)
  • Reads market data: odds, volumes, event details, price history
  • Paper trading is local simulation only — stored in ~/.polymarket/ as JSON files
  • No real money, no wallet, no blockchain transactions

What this skill does NOT do:

  • Does not connect to any wallet or financial account
  • Does not execute real trades or transactions
  • Does not require or handle any credentials or API keys
  • Does not send any personal data externally
  • Cannot be invoked autonomously by the agent (disable-model-invocation: true)

Data stored locally: ~/.polymarket/watchlist.json, ~/.polymarket/portfolio.json

Review scripts/polymarket.py before first use to verify behavior.

Note

This is read-only + paper trading. Real trading requires wallet authentication (not implemented).

安全使用建议
Install this as a read-only Polymarket data and local paper-trading helper. Be aware it can write local state under ~/.polymarket and can run repeatedly if you manually add the suggested cron jobs. Do not treat the linked external guide as vetted financial advice, and remove cron entries plus ~/.polymarket files if you stop using it.
能力标签
cryptorequires-wallet
能力评估
Purpose & Capability
The artifacts fit a Polymarket lookup and tracking skill: public market queries, alerts, digests, and simulated portfolio commands. The external guide link is a trust consideration, but the code does not implement wallet access, real trades, fund movement, or credential handling.
Instruction Scope
Commands are user-invoked, and the manifest disables autonomous model invocation. Cron examples are documented as optional user setup rather than hidden automatic execution.
Install Mechanism
No install-time execution or package mutation is shown. The frontmatter only declares python3 while the script has an inline requests dependency, which is a documentation gap rather than a security concern.
Credentials
Runtime behavior is proportionate: HTTPS GET requests to gamma-api.polymarket.com and local JSON storage under ~/.polymarket for watchlist and portfolio state. No unrelated endpoints, subprocess execution, credential reads, wallet access, or broad filesystem scanning were found.
Persistence & Privilege
Persistence is limited to disclosed watchlist.json and portfolio.json files in ~/.polymarket. Optional cron examples could create ongoing checks only if the user installs them manually.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install polymarket-trade
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /polymarket-trade 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
- No changes detected to commands or core functionality.
v1.0.5
- No changes to core features, commands, or usage.
v1.0.4
- No changes to code or functionality.
v1.0.3
- Updated SKILL.md to replace repeated "How Building a Weather Polymarket Bot..." links with clearer "How to use" links. - No changes to code or functionality; documentation only. - All usage examples, commands, and security explanations remain as before.
v1.0.2
No user-facing changes in this version. - Documentation and metadata remain unchanged. - No code or content updates detected.
v1.0.1
- Nothing added.
v1.0.0
Initial release of the new Polymarket query and paper trading tool. - Major overhaul: renamed to "polymarket" and fully repurposed for prediction markets. - New script: Added scripts/polymarket.py for querying odds, trends, searching events, alerts, digests, and paper trading. - Removed legacy BTC trading strategy tools and Binance scripts. - Now includes watchlist, local paper trading, resolution calendar, and a momentum scanner. - All functions use Polymarket's public API without authentication. - No real-money trading; all trading is simulated and stored locally.
元数据
Slug polymarket-trade
版本 1.0.6
许可证 MIT-0
累计安装 50
当前安装数 46
历史版本数 7
常见问题

Polymarket 是什么?

Query Polymarket prediction markets. Check odds, find trending markets, search events, track price movements. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 232503 次。

如何安装 Polymarket?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install polymarket-trade」即可一键安装,无需额外配置。

Polymarket 是免费的吗?

是的,Polymarket 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Polymarket 支持哪些平台?

Polymarket 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Polymarket?

由 joelchance(@joelchance)开发并维护,当前版本 v1.0.6。

💬 留言讨论