trading-polymarket

Execute trades on Polymarket prediction markets via its CLOB API.

650|137|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/alsk1992/CloddsBot --skill trading-polymarket
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trading-polymarket
Source: https://github.com/alsk1992/CloddsBot/tree/main/src/skills/bundled/trading-polymarket
Command: npx skills add https://github.com/alsk1992/CloddsBot --skill trading-polymarket

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive programmatic access to Polymarket's prediction markets, enabling automated trading, market analysis, and position management.

Core Features & Use Cases

  • Execute Trades: Place limit and market orders with various types (GTC, FOK, FAK, GTD).
  • Market Data: Access real-time orderbooks, prices, and market metadata.
  • Position Management: Query open orders, cancel trades, and check balances.
  • Use Case: Automate a strategy to buy "Yes" shares on a market if the price drops below $0.40 and sell if it rises above $0.70, all without manual intervention.

Quick Start

Use the trading-polymarket skill to buy 10 shares of token ID 'YOUR_TOKEN_ID' at a price of 0.65.

Frequently Asked Questions about trading-polymarket

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

FAQPage Schema
How do I automate trading on Polymarket prediction markets?

You can automate trading on Polymarket prediction markets by using this Skill to programmatically execute trades via the CLOB API. It supports placing limit and market orders, retrieving orderbook data, and managing positions without manual intervention.

Does py-clob-client support placing different types of orders like FOK and FAK?

Yes, py-clob-client supports placing various order types including GTC, FOK, FAK, and GTD. This allows you to execute limit and market orders with specific time-in-force constraints directly on Polymarket.

What do I need to set up to execute trades on Polymarket via API?

To execute trades on Polymarket via API, you need to configure environment variables for your API credentials and private keys. These are required for authentication levels and authorizing on-chain operations through the py_clob_client library.

Can I check balances and cancel open orders on Polymarket programmatically?

Yes, you can check balances and cancel open orders on Polymarket programmatically. The Skill provides position management capabilities to query open orders, cancel active trades, and monitor your account balances across markets.

What's the best way to retrieve real-time market data from Polymarket?

The best way to retrieve real-time market data from Polymarket is by using this Skill to access the CLOB API. It enables you to fetch real-time orderbooks, current prices, and market metadata for analysis and automated strategy execution.

Are there limitations when automating crypto prediction market strategies?

Limitations when automating crypto prediction market strategies include the requirement for proper private key management and valid API credentials. Operations depend on Polymarket's CLOB API availability and your configured authentication levels for on-chain transactions.