trading-polymarket

Place and manage Polymarket orders via the py_clob_client library.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/shreed27/DAIN --skill trading-polymarket-shreed27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trading-polymarket
Source: https://github.com/shreed27/DAIN/tree/main/CloddsBot-main/src/skills/bundled/trading-polymarket
Command: npx skills add https://github.com/shreed27/DAIN --skill trading-polymarket-shreed27

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires py-clob-client, requests, websocket-client, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive programmatic access to Polymarket's Central Limit Order Book (CLOB), enabling sophisticated automated trading strategies on prediction markets.

Core Features & Use Cases

  • Full API Access: Execute trades, manage orders, and access real-time market data via the py_clob_client library.
  • Advanced Order Types: Supports limit orders (GTC, FOK, GTD, FAK), market orders, and post-only orders.
  • Use Case: Develop an AI agent that monitors market sentiment and automatically places limit buy orders on specific outcomes when prices drop below a predefined threshold, aiming to capture arbitrage opportunities.

Quick Start

Use the trading-polymarket skill to place a limit buy order for 100 shares of token 'YOUR_TOKEN_ID' at a price of 0.45.

Frequently Asked Questions about trading-polymarket

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I place automated trades on Polymarket prediction markets?

You can place automated trades on Polymarket using a Python client library to access the Central Limit Order Book (CLOB). This enables programmatic order placement, real-time market data retrieval, and direct account management through API calls.

What advanced order types can I use when trading on Polymarket via API?

When trading on Polymarket via API, you can use advanced order types including limit orders (GTC, FOK, GTD, FAK), market orders, and post-only orders. This allows for sophisticated automated trading strategies and precise execution control.

Can I build an AI agent to monitor Polymarket CLOB and execute arbitrage opportunities?

Yes, the Python CLOB client allows you to build AI agents that monitor Polymarket sentiment and automatically place limit buy orders when prices drop below predefined thresholds, capturing arbitrage opportunities without manual intervention.

Do I need Python to automate my Polymarket trading strategies?

Yes, Python is required to automate Polymarket trading strategies using the py-clob-client library. You also need the requests and websocket-client dependencies to handle API connections and real-time market data streaming.

How do I check my on-chain balance for Polymarket trading automation?

You can check your on-chain balance for Polymarket trading automation directly through the Python client library. This feature supports comprehensive account management by verifying available funds before executing trades.

What's the best way to manage and cancel orders on Polymarket programmatically?

The best way to manage and cancel orders on Polymarket programmatically is through the py-clob-client library, which provides full API access for order cancellation, real-time market data retrieval, and direct on-chain account balance checks.