Binance Spot Testnet vs OKX Demo Trading
The first useful sandbox test checks whether the client can read price and quantity rules before it submits an order. The platforms configure demo traffic differently.
| Check | Binance Spot Testnet | OKX Demo Trading |
|---|---|---|
| REST | testnet.binance.vision |
API host for the account region with x-simulated-trading: 1 |
| Instrument | BTCUSDT |
BTC-USDT |
| Market rules | PRICE_FILTER, LOT_SIZE and notional filters in exchangeInfo |
tickSz, lotSz and minSz in public instruments |
| Private calls | Spot Test Network credentials | Demo credentials, demo header and private demo WebSocket |
Reproduce the public check
Download sandbox-preflight.py and run python sandbox-preflight.py. It makes two public GET requests. One goes to Binance’s testnet exchange information, the other to OKX public instruments with the demo header. Signed order submission and account events need separate tests with demo credentials.
On December 3, 2026, both endpoints returned the requested instrument. Binance reported a 0.01 price increment and a 0.00001 BTC lot increment. OKX reported 0.1 and 0.00000001 BTC. Read the metadata fresh for each run, including minimum order value and any order-specific filters.
Use the same scenarios on both
- Enter a price between ticks. Check that the client explains the rejected input and preserves the quantity.
- In demo, submit an admissible limit order. Save the client ID, acknowledgement and final status. Cancel a resting order and resolve a possible fill during cancellation.
- Replay a dropped connection after acknowledgement. Reconcile the order and its fills before resuming. Begin each run with known virtual balances and no working orders.
Compare how the client handles the events. The execution prices and frequency depend on each simulated book. Binance Spot Testnet · OKX Demo Trading API