polymarket-trading

Prediction Markets Open source · MIT Executes trades 7 commands 144 installs

High-risk Polymarket trading operations — configure wallet-backed CLOB access, place limit/market orders, cancel orders, and view account-specific orders/trades.

View source

About

High-risk Polymarket trading operations — configure wallet-backed CLOB access, place limit/market orders, cancel orders, and view account-specific orders/trades. Requires py-clob-client-v2 and a user-controlled wallet. Use only when the user explicitly asks to trade or manage orders in the current session. Do not use for read-only odds, probabilities, market search, or event discovery — use the polymarket skill instead. Do not ask the user to paste private keys into chat. Do not place or cancel orders without explicit confirmation of token_id, side, price/amount, and size.

Commands 7

configure
[--signature_type][--funder]

Configure wallet metadata for this process; do not pass secrets through chat

create_order
--token_id--side--price--size[--order_type]

Place a limit order

market_order
--token_id--side--amount

Place a market order

cancel_order
--order_id

Cancel one order

cancel_all_orders

Cancel all open orders

get_orders
[--market]

View open orders

get_user_trades

View account-specific trades

Quick Start

# CLI
sports-skills polymarket-trading configure
# Python
from sports_skills import polymarket
polymarket.configure()