AI Prediction MarketsModule 1

1.2How Polymarket Works — Orders, Shares & Resolution

25 min 9 code blocks Practice Lab Quiz (4Q)

How Polymarket Works — Orders, Shares & Resolution

Agar aap pehli baar prediction markets dekh rahe hain, to Polymarket thoda confusing lag sakta hai. Stocks jaisi? Gambling jaisi? Neither. Polymarket is a decentralized information market where you buy and sell shares representing probabilities. Understanding the mechanics is essential before a single dollar of yours touches it. This lesson breaks down every component — from order types to resolution traps to the Pakistani funding path.

The Basic Mechanics

Every market on Polymarket is a binary question — it resolves to YES or NO. Example: "Will Pakistan's policy rate drop below 15% before December 31, 2026?"

code
HOW BINARY MARKETS WORK:

If you believe YES → Buy YES shares
If you believe NO  → Buy NO shares

Each share costs between $0.01 and $0.99
If your prediction is CORRECT  → share pays $1.00
If your prediction is WRONG    → share pays $0.00

YOUR PROFIT = $1.00 − (price you paid)

Example:
├── You buy 100 YES shares at $0.35 each
├── Cost: $35.00
├── Event happens (YES resolves correct)
├── Payout: 100 × $1.00 = $100.00
├── Profit: $100 − $35 = $65.00 (186% return)
│
├── OR: Event doesn't happen (NO resolves correct)
├── Payout: 100 × $0.00 = $0.00
└── Loss: $35.00 (100% of investment)

The Probability Connection

The current price of a YES share IS the market's implied probability. This is the most important concept to internalize:

code
PRICE → PROBABILITY TRANSLATION:

YES price = $0.10 → Market says 10% chance of happening
YES price = $0.35 → Market says 35% chance
YES price = $0.50 → Market says 50/50 (coin flip)
YES price = $0.72 → Market says 72% chance
YES price = $0.95 → Market says almost certain (95%)

YOUR EDGE:
If market says 35% but YOUR analysis says 60%...
→ YES shares are UNDERPRICED → BUY
→ Expected value: (0.60 × $1) − $0.35 = +$0.25 per share

If market says 72% but YOUR analysis says 50%...
→ YES shares are OVERPRICED → BUY NO shares instead
→ NO shares cost $0.28, your expected value: (0.50 × $1) − $0.28 = +$0.22

This "wisdom of crowds" pricing mechanism is why prediction markets are often more accurate than polls or pundits. When real money is at stake, people think carefully before trading.

The Order Book (CLOB)

Polymarket uses a Central Limit Order Book (CLOB) — the same mechanism used by stock exchanges like the KSE/PSX. Understanding order types determines whether you profit or get taken.

Order Types

code
LIMIT ORDER:
├── You specify exact price: "Buy 100 YES at $0.60 or better"
├── Your order sits in the book until someone sells at your price
├── YOU set the terms
├── Pro: You control your entry price
├── Con: May never get filled if price moves away
└── Use when: You have a target price and patience

MARKET ORDER:
├── You accept current best available price immediately
├── No waiting — instant execution
├── Pro: Guaranteed fill
├── Con: You may pay more than expected (especially in thin markets)
└── Use when: Breaking news — you need to get in NOW

WHICH TO USE?
├── 90% of the time: LIMIT ORDERS (patience = profit)
├── 10% of the time: MARKET ORDERS (breaking news edge)
└── NEVER: Market orders in low-liquidity markets (you'll get crushed)

Understanding the Spread

code
THE SPREAD — YOUR HIDDEN COST:

Best bid (highest buy offer):  $0.58  ← Buyers willing to pay up to here
Best ask (lowest sell offer):  $0.62  ← Sellers willing to sell from here
Spread:                        $0.04  (4 cents)

If you MARKET BUY: you pay $0.62 (the ask)
If you IMMEDIATELY SELL: you get $0.58 (the bid)
Instant loss: $0.04 per share (6.5% of your entry)

SPREAD GUIDE:
$0.01-0.02 spread → High liquidity → Safe to market order
$0.03-0.05 spread → Medium liquidity → Use limit orders
$0.06-0.10 spread → Low liquidity → ONLY limit orders
$0.10+ spread     → Illiquid → DANGER — hard to exit

Volume and Liquidity

code
VOLUME TELLS YOU EVERYTHING:

$1M+ volume    → Major market, tight spreads, safe to trade size
$100K-1M       → Active market, moderate spreads, limit orders recommended
$10K-100K      → Thin market, wide spreads, small positions only
<$10K          → Ghost town — avoid unless you have extreme conviction

How Resolution Works

When the event's resolution date arrives, a designated Oracle (Polymarket's UMA-based dispute resolution system) determines the outcome based on pre-specified resolution criteria.

Resolution Criteria — The Fine Print

The resolution criteria are EVERYTHING. This is where most traders lose money — not because their prediction was wrong, but because they didn't read the rules.

code
EXAMPLE OF WELL-SPECIFIED CRITERIA:

"This market resolves YES if the State Bank of Pakistan's official
policy rate announcement, as reported on sbp.org.pk, shows a rate
below 15% on or before December 31, 2026."

CRITICAL ELEMENTS:
├── Source: sbp.org.pk (not Reuters, not Bloomberg, not Dawn)
├── Timing: "on or before December 31" (includes Dec 31)
├── Threshold: "below 15%" (15.00% exactly = NO resolution)
└── Specificity: "official policy rate" (not repo rate, not discount rate)

Resolution Traps That Catch Traders

TrapExampleHow Traders Lose
Timing ambiguity"before Dec 31" vs "by Dec 31"One day difference changes resolution
Source specificityResolution uses AP, trader read ReutersDifferent sources, different wording
Partial outcomes"Will Pakistan join BRICS?" — invited but not ratifiedUsually resolves NO
Technicalities"Rate cut" — cut from 17% to 16.5% but criteria says "below 15%"Correct prediction, wrong market
Timezone"By March 1" — UTC? EST? PKT?Markets often default to UTC
Rounding"Above 50%" — is 50.0% above?Usually NO (need strictly above)

Golden Rule: Read the full resolution criteria before EVERY trade. If the criteria are ambiguous, reduce your position size or skip the market entirely.

The Dispute Process

code
IF RESOLUTION IS DISPUTED:

1. Initial resolution proposed by Oracle
2. 2-hour dispute window opens
3. Anyone can stake UMA tokens to dispute
4. If disputed → goes to UMA token holder vote
5. UMA holders vote based on resolution criteria
6. Final resolution = majority vote

PRACTICAL IMPACT:
├── Most markets resolve without dispute
├── Disputed markets may take 24-72 hours to finalize
├── Your funds are locked during dispute
└── Edge case: some markets have been resolved incorrectly
    and successfully disputed — always watch for disputes

Funding Your Account — The Pakistani Path

Polymarket requires USDC (a USD-pegged stablecoin) on the Polygon blockchain. Here's the step-by-step Pakistani path:

code
STEP 1: Create a MetaMask Wallet (5 minutes, free)
├── Install MetaMask browser extension (metamask.io)
├── Create new wallet
├── WRITE DOWN your 12-word seed phrase on PAPER
├── Store it securely (not digitally, not in a screenshot)
└── This is your ONLY recovery mechanism — lose it = lose everything

STEP 2: Buy USDC on Binance P2P (15 minutes)
├── Log into Binance (most Pakistani traders already have accounts)
├── Go to P2P Trading → Buy → USDC
├── Payment method: Bank transfer (HBL, UBL, Meezan) or JazzCash/EasyPaisa
├── Current rate: ~PKR 280-285 per USDC (varies)
├── Buy PKR 5,000-10,000 worth to start ($18-36)
└── USDC arrives in your Binance spot wallet

STEP 3: Transfer USDC to Polygon Network (5 minutes)
├── In Binance: Withdraw → USDC
├── Paste your MetaMask wallet address
├── SELECT NETWORK: Polygon (MATIC) — NOT Ethereum!
│   (Ethereum gas fees = $5-20, Polygon gas = <$0.01)
├── Confirm withdrawal
└── Arrives in MetaMask within 5-10 minutes

STEP 4: Connect to Polymarket (2 minutes)
├── Go to polymarket.com
├── Click "Connect Wallet" → Select MetaMask
├── Approve connection
├── Your USDC balance appears on Polymarket
└── You're ready to trade

TOTAL SETUP TIME: ~30 minutes
TOTAL COST: ~PKR 50-100 in transfer fees

VPN Note

Polymarket may be geo-restricted in Pakistan. Most Pakistani traders use a VPN set to US or European servers. NordVPN and Windscribe both work reliably. Set the VPN BEFORE connecting to Polymarket — do not switch mid-session.

Paper Trading — The 2-Week Training Ground

Before any real money, run at least 2 weeks of paper trading. This is non-negotiable.

code
PAPER TRADING SPREADSHEET:

| Date | Market | Position | Entry Price | Exit Price | P&L | Notes |
|------|--------|----------|-------------|------------|-----|-------|
| 3/15 | SBP Rate Cut | YES 100 | $0.42 | — | — | Waiting |
| 3/15 | India PM Visit | NO 50 | $0.35 | $0.52 | +$8.50 | ✅ |
| 3/16 | Cricket WC Final | YES 200 | $0.28 | $0.15 | -$26.00 | ❌ |

TRACK THESE METRICS:
├── Win rate: % of trades that profit
├── Average win: $ gained per winning trade
├── Average loss: $ lost per losing trade
├── Profit factor: (Total wins) ÷ (Total losses)
├── Edge discovery: Are you better at politics? Sports? Economics?
└── Bias check: Do you always bet on Pakistan? On dramatic outcomes?

Paper trading reveals two critical things:

  1. Your actual accuracy — most beginners discover they're 45-55% accurate (essentially random) before systematic training. This is humbling but essential.

  2. Your emotional biases — Do you always bet on Pakistan winning? Always on dramatic outcomes? Always avoid selling at a loss? AI bots don't have these biases; they execute on data. That's the edge you're building in this course.

Practice Lab

Practice Lab

Exercise 1: Explore Polymarket (no money needed) Go to polymarket.com and find three markets related to events you know well — one about Pakistan/South Asia, one about sports/cricket, one about global politics. For each, write down: current YES price (implied probability), market volume, resolution date, and the EXACT resolution criteria. Do you agree with the market's probability? Would you trade?

Exercise 2: MetaMask Setup Install MetaMask browser extension. Create a wallet. Write down your seed phrase and store it physically. Add the Polygon network to MetaMask (Settings → Networks → Add Polygon). This prepares you for when you're ready to fund with real USDC.

Exercise 3: Spread Analysis Find 5 markets with different volume levels ($10K, $50K, $100K, $500K, $1M+). Record the bid-ask spread for each. Calculate: if you bought 100 YES shares and immediately sold them in each market, how much would you lose to the spread? This is your "entry cost" — factor it into every trade decision.

Pakistan Case Study

Meet Saad — CS student at FAST Karachi, started exploring Polymarket after hearing about it on a podcast.

His first month (before this course):

  • Deposited $50 via Binance P2P
  • Traded on "gut feeling" — mostly Pakistan cricket markets
  • Win rate: 4/10 (40%)
  • P&L: -$22 (lost 44% of capital)
  • Biggest mistake: Market ordered into a thin market ($15K volume), spread ate $3 instantly
  • Second mistake: Bet on "Pakistan will win WC" without checking resolution criteria — market was "semi-final," not "final"

His second month (after paper trading + this lesson):

  • Paper traded for 2 weeks first
  • Discovered his edge: Pakistani economic policy markets (he follows SBP announcements)
  • Switched to limit orders only (except breaking news)
  • Avoided markets under $50K volume
  • Read EVERY resolution criteria before trading
  • Win rate: 6/10 (60%)
  • P&L: +$31 on $50 capital (62% return)

His key lesson: "Pehle main sirf gut feel pe trade karta tha — like cricket fan, not trader. Ab main resolution criteria pehle padhta hoon, spread check karta hoon, aur limit orders lagata hoon. Sabse important cheez jo seekhi: paper trading ke baghair real money lagana gambling hai, trading nahi."

Key Takeaways

  • Polymarket share prices = implied probabilities; a $0.65 YES share means the market estimates a 65% chance
  • Your profit edge = the difference between the market's probability and YOUR probability (based on superior analysis)
  • Always use limit orders (90% of the time) — market orders in thin markets destroy your edge
  • Check the spread before every trade: <$0.03 = safe, $0.03-0.05 = limit only, >$0.10 = avoid
  • Always read the FULL resolution criteria before trading — many losses come from correct predictions that resolve against you due to technicalities
  • The Pakistani funding path: Binance P2P (PKR → USDC) → Polygon network → Polymarket — total setup under 30 minutes
  • Run 2+ weeks of paper trading before real money to calibrate your actual accuracy vs. perceived accuracy
  • Track your biases: betting on dramatic outcomes and home-team bias are the two most common traps for Pakistani traders

Next lesson: Identifying high-value markets and building a market selection framework.

Lesson Summary

Includes hands-on practice lab9 runnable code examples4-question knowledge check below

Quiz: How Polymarket Works — Orders, Shares & Resolution

4 questions to test your understanding. Score 60% or higher to pass.