Paper Trading
Paper mode lets you practice trading workflows against real, live order books without ever touching your wallet, the CLOB authenticated endpoints, or any on-chain operation.
How paper state works
- All paper orders, fills, and positions are stored in a local file under your config directory.
- No HTTP requests with credentials are ever made.
- A failing safety gate cannot accidentally promote a paper command to live — the paper code path simply has no signer wired in.
See Safety Model for the full guarantee.
A typical workflow
1. Find a market
polygolem discover search --query "btc 5m" --limit 5Note the tokenID of the outcome you want to bet on. For neg-risk Yes/No
markets there are two token IDs (one per outcome); pick whichever side you want.
2. Place a paper buy
polygolem paper buy \ --token-id 71321045679252212594626385532706912750332728571942134274583709853755746957851 \ --price 0.52 \ --size 10Output:
{ "order_id": "paper-1746625200-abc", "status": "filled", "filled_price": "0.52", "filled_size": "10"}3. Inspect positions
polygolem paper positions[ { "token_id": "713210...", "side": "BUY", "avg_price": "0.52", "size": "10", "unrealized_pnl": "0.00" }]4. Close it out with a paper sell
polygolem paper sell \ --token-id 71321045679252212594626385532706912750332728571942134274583709853755746957851 \ --price 0.55 \ --size 105. Reset between experiments
Wipes all paper state — positions, fills, history:
polygolem paper resetWhat paper mode does not do
- It does not call
clob create-order,clob cancel-order, or any L2 endpoint. - It does not require, read, or accept
POLYMARKET_PRIVATE_KEY. - It does not trigger preflight, builder-API checks, or deposit-wallet flows.
- Paper PnL is not tax-reportable or reconciled against any external system.
Reference
polygolem paper --help— every flagdocs/COMMANDS.md— canonical command list- Safety Model — paper vs read-only vs live