polymarket-public-data
Read Polymarket public market metadata and orderbook prices directly from Polymarket APIs without routing traffic through AI-Trader.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=hkuds-ai-trader-skills-polymarket-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name polymarket-public-data description Read Polymarket public market metadata and orderbook prices directly from Polymarket APIs without routing traffic through AI-Trader. 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 Resolve the market with Gamma using slug or conditionId Choose a concrete outcome such as Yes or No Read the corresponding token_id Query the CLOB orderbook directly from Polymarket 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.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |