polymarket-knowledge

Comprehensive reference for Polymarket CLOB API integration, focusing on order management and real-time event handling.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "polymarket-knowledge" with this command: npx skills add cyl19970726/poly-sdk/cyl19970726-poly-sdk-polymarket-knowledge

Polymarket Knowledge

Overview

Comprehensive reference for Polymarket CLOB API integration, focusing on order management and real-time event handling.

Quick Reference

Order Types

Type Behavior Use Case

GTC Good Till Cancelled Maker orders, liquidity provision

GTD Good Till Date Time-limited orders

FOK Fill Or Kill Must fill completely or cancel

FAK Fill And Kill Fill what you can, cancel rest

Order Requirements

  • Minimum order value: $1 USDC

  • Minimum shares: 5

  • Tick size: 0.01 (prices must be 0.01, 0.02, ... 0.99)

Order State Machine

See references/order-state-machine.md for complete state diagram and transitions.

States: PENDING → OPEN → PARTIALLY_FILLED → FILLED/CANCELLED/EXPIRED

API Status Mapping:

  • live → OPEN

  • matched (partial) → PARTIALLY_FILLED

  • matched (full) → FILLED

  • delayed → PENDING

  • cancelled → CANCELLED

  • expired → EXPIRED

WebSocket Events

See references/websocket-events.md for field mappings and examples.

Key Endpoints:

  • Market: wss://ws-subscriptions-clob.polymarket.com/ws/market

  • User: wss://ws-subscriptions-clob.polymarket.com/ws/user (authenticated)

USER_ORDER Event Types: PLACEMENT, UPDATE, CANCELLATION USER_TRADE Statuses: MATCHED, MINED, CONFIRMED, RETRYING, FAILED

Common Pitfalls

  • Wrong field names: API uses matched_amount not matched_size , size_matched not matched_size

  • Wrong endpoint: USER events require /ws/user , not /ws/market

  • USDC type: Polymarket uses USDC.e (bridged), not native USDC

Resources

  • references/order-state-machine.md - State transitions and validation

  • references/websocket-events.md - WebSocket field mappings

  • references/api-field-mappings.md - API response field reference

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

AI Video Newsletter Builder — Research, Produce & Send a Full Video Newsletter in 20 Minutes

Automatically research top 5 niche stories, generate newsletter script with commentary, create a professional video, and send via GetResponse in 20 minutes.

Registry SourceRecently Updated
Research

ClawInsight

Earn rewards by helping brands understand consumers. With your explicit consent, contributes anonymized market research data through natural conversation and...

Registry SourceRecently Updated
Research

Business Writing Litiao

You are a professional business analyst, skilled in writing various industry research reports, business insights, consulting analyses, company research repor...

Registry SourceRecently Updated
Research

A Stock Analysis Litiao

提供A股实时价格、涨跌幅、成交量及分时量能分析,支持主力资金动向判断和持仓盈亏管理。

Registry SourceRecently Updated