返回 Skill 列表
extension
分类: 开发与工程无需 API Key

polymarket-references

当用户提到Polymarket、预测市场、CLOB交易、py-clob-client、条件代币或Gamma API时激活。提供构建机器人、工具和集成的基础知识。

person作者: jakexiaohubgithub

Polymarket Reference Documentation

Core knowledge base for Polymarket development.

Quick Reference

| Topic | File | |-------|------| | Getting started | resources/quickstart.md | | Terms & definitions | resources/glossary.md | | API endpoints | resources/api-reference.md | | Order placement | resources/order-guide.md | | SDK setup | resources/clients.md |

APIs

| API | Purpose | Base URL | |-----|---------|----------| | CLOB | Trading, orders | https://clob.polymarket.com | | Gamma | Market discovery | https://gamma-api.polymarket.com | | Data | Positions, history | https://data-api.polymarket.com | | WebSocket | Real-time data | wss://ws-subscriptions-clob.polymarket.com |

Reference Files

Load as needed:

Getting Started

  • resources/quickstart.md - First order, client init, signature types
  • resources/glossary.md - Token ID, condition ID, order types, CTF terms
  • resources/fees.md - Fee structure, maker rebates

API & SDK

  • resources/api-reference.md - All endpoints, auth, WebSocket, Subgraph
  • resources/clients.md - Python, TypeScript, Rust SDKs, contracts
  • resources/order-guide.md - GTC/GTD/FOK/FAK, parameters, lifecycle

Bot Development

  • resources/bot-patterns.md - WebSocket, reconnection, order sizing
  • resources/troubleshooting.md - Common errors and solutions

Advanced Topics

  • resources/neg-risk.md - Winner-take-all events, conversion
  • resources/ctf.md - Split/merge/redeem operations
  • resources/builders.md - Builder program, gasless transactions
  • resources/market-makers.md - MM setup, liquidity rewards, RFQ

Market Mechanics

  • resources/market-theory.md - Prediction market fundamentals
  • resources/market-lifecycle.md - Creation, pricing, resolution, disputes
  • resources/uma.md - UMA oracle, DVM voting, dispute resolution