get started — trade in 4 steps
- Ask a club admin for your API key (it looks like
pm_paper_…). You start with $25,000 of paper money. - Download the one-file client:⬇ predlab.py
- Install its only dependency:
pip install requests - Drop in your key and trade:
from predlab import PolymarketClient poly = PolymarketClient(api_key="pm_paper_…") # your key print(poly.markets(limit=5)) # browse markets yes_token = poly.markets(limit=1)[0]["clobTokenIds"][0] poly.place_order(token_id=yes_token, side="BUY", price=0.55, size=10) print(poly.positions()) # what you now hold
paper trading only · full step-by-step guide → github.com/teddytennant/predlab