Polymarket Trade Agent Skill
Overview
A fully functional Polymarket trading agent that can research markets, analyze opportunities, and execute trades.
Configuration Required
- POLYMARKET_PRIVATE_KEY: Your Polygon wallet private key (starts with 0x...)
- POLYMARKET_FUNDER_ADDRESS: Optional funder address for transfers (starts with 0x...)
- This key controls your Polymarket account and must have USDC balance
Setup
Step 1: Get Your Private Key
- Go to polymarket.com
- Connect your wallet (MetaMask)
- Go to Settings → API Keys or find your wallet address
- Get the private key for the wallet that has USDC on Polymarket
Step 2: Configure
export POLYMARKET_PRIVATE_KEY=0xYOUR_PRIVATE_KEY_HERE
Step 3: Check Balance
polymarket balance
Commands
Research & Analysis
polymarket markets- List top marketspolymarket search <query>- Search marketspolymarket analyze <market_id>- Get AI analysis
Trading
polymarket balance- Check USDC balancepolymarket buy <token_id> <price> <size>- Place buy orderpolymarket sell <token_id> <price> <size>- Place sell orderpolymarket positions- View open positions
Utility
polymarket doctor- Health checkpolymarket address- Show your wallet address
Trading Strategy
Finding Opportunities
- Run
polymarket marketsto see trending markets - Research the underlying events via web search
- Compare market odds to your own probability estimate
- Calculate edge:
Edge = Your_Probability - Market_Probability
Example Analysis
Market: "Will Iran regime fall by June 30?"
Current Price: Yes = $0.42 (42% implied)
My Research: Given Khamenei killed, power vacuum exists
My Estimate: 60% probability
Edge: +18% → BUY YES
Position Sizing
- Never risk more than 5% of bankroll on single trade
- Recommended: 2-5% per trade
- Diversify across uncorrelated events
Risk Rules
- Always verify balance before trading
- Start with small positions (test the waters)
- Don't bet more than you can afford to lose
- Set mental stop-loss at 50% of position
Notes
- All trades are on Polygon network
- Minimum trade size typically $1
- Fees are small but apply to each trade