Paper Simulator vs Exchange Demo Environment: A Capability Table for Prediction-Market Researchers
If you research prediction-market strategies in Python, you eventually face two different test rigs that get lumped together as "paper trading": a paper simulator that fills your orders against a model, and an exchange demo environment that runs a copy of the venue's matching engine with mock funds. They answer different questions. This post lays out a concrete capability table across data source, matching rules, accounts, credentials, and the evidence each one actually produces.
This builds on the earlier discussion of paper fills versus real execution (/blog/prediction-market-paper-fills-versus-real-execution). The short version of that post: a simulated fill is a claim under a model, not a record of execution. Here we focus on how a local simulator and a venue demo differ in structure, and where each one misleads if you read it wrong.
Two tools, two questions
A paper simulator consumes market data and decides whether your order would have filled using its own fill, fee, and valuation model. No order ever reaches the venue. An exchange demo is the venue's own staging stack: you authenticate, submit real API calls, and the venue's engine matches them against a separate order book funded with mock money.
The practical split: a simulator tests your strategy logic and your assumptions about fills. A demo tests your integration against the venue's actual API, auth, and order lifecycle. Neither one proves production acceptance, and a clean run on either says nothing about real capital at a real venue.
Capability table
The rows below are the dimensions that actually change how you read a result. The columns are a paper simulator (using Banger's public paper beta as the concrete example) and the two venue demos.
- Data source. Banger runs paper strategies against current Polymarket and Kalshi market data without venue keys. Kalshi's demo is a separate environment with mock funds, reachable at the documented demo REST root external-api.demo.kalshi.co. Polymarket has no long-standing public paper API; its NEX sandbox, opened in November 2026, runs on the Polygon Amoy test network with test funds and bot-provided liquidity.
- Matching rules. A simulator applies a model, not the venue engine. Banger's public 0.1.7 forward-paper context can fill a non-crossing requested limit at that limit and logs paper.fill.resting-assumed when it does, and its reported-volume quantity cap is not full book depth. A Kalshi or Polymarket demo matches against the venue's own engine and a separate order book, so queue behavior is closer to production but still not production liquidity.
- Accounts. Simulator: a Banger account, no venue account. Kalshi demo: a separate demo account created at demo.kalshi.co. Polymarket sandbox: an Amoy signer and sandbox trading credentials provisioned during onboarding.
- Credentials. Simulator: no venue trading keys for public market observation. Kalshi: demo keys only work on demo endpoints and production keys only on production, by design. Polymarket sandbox: a sandbox signer private key plus an Amoy RPC URL.
- Evidence produced. Simulator: an inspectable paper record (simulated fills, logs, P&L, risk-gate decisions) under one data, fill, fee, and valuation model. Demo: API round-trips, order IDs, and mock-fund balances that prove your integration talks to the venue correctly. Neither proves a venue will accept or fill the same order live.
What the Kalshi demo gives you that a simulator cannot
Kalshi documents a demo environment with mock funds. The recommended demo REST root is https://external-api.demo.kalshi.co/trade-api/v2, with the older https://demo-api.kalshi.co/trade-api/v2 also supported, and a demo WebSocket at wss://external-api-ws.demo.kalshi.co/trade-api/ws/v2. Credentials are not shared between environments, so demo keys only work against demo and production keys only against production.
That separation is the point. The demo exercises your RSA auth, your order submission and cancel paths, and your reconciliation logic against the real API shapes. A local simulator skips all of that, which is exactly why it is faster to iterate on strategy logic and slower to catch integration bugs.
Polymarket is the opposite case
For a long time Polymarket had no venue-run paper or testnet surface, and third parties built mock layers to fill that gap. That changed in November 2026: Polymarket opened sandbox access to NEX, a rebuilt Rust matching engine. Its documentation describes signing orders for Protocol V2 markets on Polygon Amoy (chain ID 80002). The sandbox runs on Amoy with test funds and bot-provided liquidity, and its order books are separate from production.
Two caveats for a researcher. The sandbox is an early beta, and Polymarket has targeted a conditional mid-December 2026 release for NEX itself, so reverify availability and endpoints against the current docs before you depend on it. And bot-provided liquidity on a test network is not the real book, so a fill there is still not a production fill.
Where a simulator fits in the workflow
A paper simulator is the cheapest place to test strategy logic because it needs no venue account or keys. With Banger you install the package and run a strategy file locally:
pip install bangertrades
# write strategy.py, then run a short supervised local paper check:
banger run strategy.py --paper # creates a local paper record; Ctrl+C to stopA strategy is a Python class with an on_market_tick(self, market, tick, ctx) callback and an optional on_start(ctx). Tick prices are Decimal, bid and ask can be absent, and the timestamp is a datetime, so your logic has to handle missing quotes rather than assume a two-sided book. Hosted continuous paper runs go through a separate path, banger deploy strategy.py --paper, which is subject to admission and capacity. Hosted historical backtesting currently supports Kalshi binary markets, and that backtest uses a different model than forward paper, so do not assume the two share identical fills.
One honest note on fees: inspect the result model instead of trusting a single number. Banger's packaged standard Kalshi fee helper rounds up to a whole cent, while the current official venue fee schedule describes finer fee-plus-position-cost rounding. If exact fees matter to your edge, read the venue's own fee PDF and the actual paper result, and treat the difference as model error.
Reading results without fooling yourself
Keep four quantities distinct in any paper or demo output: marked value, a settlement claim, credited cash, and a hypothetical executable proceeds number. A simulator's P&L is marked under its own valuation model. A demo's balance is mock funds inside a staging environment. Neither is money, and neither guarantees that a real venue would fill your order at your price or at all.
Also resist universalizing payouts. Ordinary binary contracts settle at $1 or $0, but scalar, protected, or exceptional event contracts do not, and executable YES/NO offers do not always sum to a dollar at the touch. Preserve unknowns in your model rather than papering over them with a tidy assumption.
Picking the right rig
- Testing strategy logic and fill assumptions fast, no venue account: a paper simulator.
- Validating API auth, order lifecycle, and reconciliation against a venue: that venue's demo or sandbox (Kalshi demo, or Polymarket's Amoy NEX sandbox while in early beta).
- Proving production behavior: neither. Only a real venue with real capital does that, and that carries real risk.
For current Banger behavior and the exact SDK and CLI contract, read the CLI docs at https://www.bangertrades.com/docs/cli before you write integration code, since a public beta can change. If you want to try paper research without venue keys, you can explore it via /sign-up. It will not promise you fills or returns, and that is the correct expectation to bring to any paper tool.
Sources
- Test In The Demo Environment - Kalshi API Documentation
- API Environments and Endpoints - Kalshi API Documentation
- Start Trading - Polymarket Documentation
- Predictions Changelog - Polymarket Documentation
- Polymarket NEX Sandbox Opens With 100K Commands Per Second
- Polymarket opens Nex sandbox with 10x trading capacity planned
- Banger - Polymarket & Kalshi Paper Strategies
- bangertrades 0.1.7 - PyPI
- Banger CLI Documentation