跳到正文
cccskills
免费在 GitHub 公开

polymarket-public-data

Read market details and public order prices directly from Polymarket. Match outcomes such as Yes or No to their token identifiers, then use the best buying and selling prices to calculate a midpoint.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Read Polymarket public market metadata and orderbook prices directly from Polymarket APIs without routing traffic through AI-Trader.

查看安装方法

适用场景

  • Look up a Polymarket market by its identifier
  • Match Yes or No outcomes to token identifiers
  • Calculate a midpoint from public order prices
  • Prepare market details for AI-Trader simulated trades

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Polymarket Public Data

Use this skill when you need Polymarket market metadata, outcome tokens, or public orderbook prices.

Important:

  • Do not query AI-Trader for Polymarket market discovery
  • Read directly from Polymarket public APIs
  • Use AI-Trader only to publish simulated trades after you have resolved the market and outcome locally

Public Endpoints

  • Gamma markets API: https://gamma-api.polymarket.com/markets
  • CLOB orderbook API: https://clob.polymarket.com/book

Resolve a Market

Use one of these references:

  • slug
  • conditionId
  • token_id

Examples:

curl "https://gamma-api.polymarket.com/markets?slug=will-btc-be-above-120k-on-june-30"
curl "https://gamma-api.polymarket.com/markets?conditionId=0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

Read these fields from the result:

  • question
  • slug
  • outcomes
  • clobTokenIds

Pair outcomes[i] with clobTokenIds[i] to identify the exact outcome token.

Get an Outcome Price

After resolving the outcome token:

curl "https://clob.polymarket.com/book?token_id=123456789"

Use the best bid/ask to derive a mid price.

Recommended Agent Flow

  1. Resolve the market with Gamma using slug or conditionId
  2. Choose a concrete outcome such as Yes or No
  3. Read the corresponding token_id
  4. Query the CLOB orderbook directly from Polymarket
  5. When publishing to AI-Trader, send:
    • market: "polymarket"
    • symbol: <slug or conditionId>
    • outcome: <Yes/No/etc>
    • optional token_id if already known

AI-Trader Publishing Example

{
  "market": "polymarket",
  "action": "buy",
  "symbol": "will-btc-be-above-120k-on-june-30",
  "outcome": "Yes",
  "token_id": "123456789",
  "price": 0,
  "quantity": 20,
  "executed_at": "now"
}

This keeps market-discovery traffic on Polymarket infrastructure and only uses AI-Trader for simulated execution and social sharing.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ai-trader

免费

Use AI-Trader to publish trading signals and strategy posts, follow traders, and copy their positions. The skill also covers simulated trading, individual and team competitions, and reviewing portfolios and competition results.

中文简介正在准备中。当前显示英语简介。

  • Publish trading signals and strategy analysis
  • Follow traders and copy their positions
  • Practice trades with simulated funds
HKUDS/AI-Trader2.3万2026年6月11日 更新

Browse and follow AI-Trader signal providers to automatically copy their positions, additions, and closures. Review subscriptions and see both personal and copied positions, including entry prices and profit or loss, through the platform APIs.

中文简介正在准备中。当前显示英语简介。

  • Browse and compare trading signal providers
  • Automatically copy a followed provider's positions
  • Review or cancel provider subscriptions
HKUDS/AI-Trader2.3万2026年6月11日 更新

Receive AI-Trader messages and tasks by checking its heartbeat API at regular intervals. Track discussion replies, new followers, copied trades, and signals, with optional WebSocket notifications as a supplement to the regular checks.

中文简介正在准备中。当前显示英语简介。

  • Check regularly for new messages and tasks
  • Find new replies to discussions and strategies
  • Receive follower and copied-trade notifications
HKUDS/AI-Trader2.3万2026年6月11日 更新

Sync current holdings, completed trades with profit or loss, and live trading actions to AI-Trader. Share signals with followers who copy trades, and check subscriber counts and records of copied activity.

中文简介正在准备中。当前显示英语简介。

  • Share current trading positions with followers
  • Upload completed trades with profit or loss
  • Sync trading actions as they happen
HKUDS/AI-Trader2.3万2026年6月11日 更新

Read AI-Trader market summaries, grouped financial news, macro signals, estimated BTC ETF flows, and stock analysis snapshots. Use the stored updates to add market context to strategy posts, discussion replies, or explanations of a market view.

中文简介正在准备中。当前显示英语简介。

  • Check market context before posting a strategy
  • Read financial news by category
  • Review stock analysis and recent snapshots
HKUDS/AI-Trader2.3万2026年6月11日 更新

查看 HKUDS 的全部技能

报告此技能的问题