CryptoPerks Guide

Home › Guides › Demo trading

OKX Demo Trading (2026)

OKX referral code · 20% fee rebateAffiliate link
Join OKX ↗

You get 20% of your trading fees back with this code; the site owner earns a commission at no extra cost to you. Not for residents of restricted regions (incl. U.S., Canada). Rewards vary by region and are not guaranteed. Independent guide, not an official OKX site.

Short answer: OKX demo trading is a free simulated environment with virtual funds where you can practise spot, margin, futures and options without risking real money. Open it from the Trade menu, trade as normal, and reset your balance when you want a fresh start. It's the safest way to learn the interface, order types and your own bot or API code. It won't teach you how you'll behave with real money, and demo fills and prices aren't a reliable guide to live results.

OKX demo trading at a glance

ItemWhat OKX says
What it isSimulated trading ("paper trading") with virtual funds. Trades have no impact on your real assets.
WhereWeb: hover over Trade and choose Demo trading. App: Demo trading from the Menu or User Center.
ProductsSpot, margin, futures and options.
Cost and tiersFree, with no tiers: all users get the same full demo access.
Virtual balanceA predefined amount. The help pages we checked don't state the figure.
ResetClose all positions and pending orders first, then use Reset in Assets.
Sub-accountsYou can't create them in demo mode; ones made in live mode can be used in demo.
APISeparate Demo Trading API keys and the request header x-simulated-trading: 1. Withdrawals and deposits aren't supported.
Region noteOKX says the information may not apply to all customers, so availability can vary.

Checked against OKX's help centre and API documentation on October 22, 2026. Features and availability change by region.

How to start OKX demo trading

  1. Log in to your OKX account. Demo trading is part of it, so you need an account first. See how to sign up for OKX if you don't have one.
  2. On the web, hover over Trade and choose Demo trading. In the app, open the menu or User Center and tap Demo trading.
  3. Pick a market. For spot, choose a pair such as BTC/USDT. For futures, open the pair selector and choose a perpetual such as BTCUSDT.
  4. Place an order the way you would live: choose limit or market, set the size, then buy or sell. For futures, Buy to open long or Sell to open short.
  5. Watch your positions and balance in Assets. To start over, cancel all orders, close all positions, then use Reset.
  6. To go back, use Exit (app) or Switch to live trading (web).
Always check the mode label. Demo and live screens look alike. Before any order, confirm which mode you're in, especially if you also use a bot or script.

What demo teaches well, and what it doesn't

Demo is good forDemo can't teach you
Finding order types, the order book and the layoutHow you feel and act when real money is on the line
Practising placing, cancelling and sizing orders without a costly typoReal liquidity and slippage: simulated fills don't move a real order book
Seeing how margin, liquidation and funding behaveWhether OKX's live fees, limits and availability match what you assumed
Testing your own rules and your bot or API script safelyWhether a strategy works: a short winning streak can be luck

One caution from OKX's own pages: they say demo and live are separate and that market data can't be used as a reference between them, and they aren't consistent about how closely demo prices follow the live market. Don't treat demo prices as a signal.

Worked example: why you should still count fees

Illustrative numbers only, not OKX's fee schedule and not a forecast. Suppose you trade a $500 position and assume a 0.1% fee on each side, so about $1.00 for a round trip (0.2%). If you do 20 round trips a month, that is about $20 in fees, or 4% of the $500 before any price move. A strategy that "makes 3% a month" in a demo that ignores or understates fees would lose money here.

So when you practise, include fees in your notes, using the rates shown in your own live account. Our OKX fees guide and the fee calculator help you estimate them, including the 20% rebate with code 33746534 on trading fees.

Using demo trading with the OKX API

If you write bots or scripts, demo is where they should run first. According to OKX's API documentation:

Key-safety checklist (do this live, not just in demo): never give a bot withdraw permission; start with read-only; bind each key to your IP addresses (OKX recommends this and allows up to 20 per key, and trade or withdraw keys without an IP binding expire after 14 days of inactivity); keep keys out of code you share or upload; and never send your keys or secret to anyone, including "support" or a group admin. See the trading bots guide for how bots work and fail.

How people lose money after demo

A safer way to move from demo to live

These are our suggestions, not OKX rules:

  1. Write your rules down before you trade: what you trade, how much you risk per trade, and when you stop.
  2. Practise for long enough to see more than one kind of market, not just a lucky week.
  3. Track fees and every trade in a simple log, including the ones you regret.
  4. Go live with an amount you could lose completely, and keep leverage off while you learn.
  5. For bots and scripts, review demo orders one by one, then go live with a read-only key first, then trade permission, never withdraw.

What's not guaranteed

Official sources

Checked on October 22, 2026: OKX help articles What's demo trading and how do I use it? and How do I trade futures in demo trading?, and the OKX API documentation (demo trading, API key permissions and IP binding).

FAQ

What is OKX demo trading?

A simulated environment with virtual funds where you can practise spot, margin, futures and options trading. OKX says trades in demo mode have no impact on your real assets.

Is OKX demo trading free?

Yes, there is no charge and no tiers: OKX says every user gets the same full demo access. You need an OKX account to log in to it.

How much virtual money do I get on OKX demo trading?

OKX gives you a predefined amount but doesn't state the figure on the help pages we checked, so check it in your own demo account. You can reset your balance after closing all positions and pending orders.

How do I switch between demo and live on OKX?

Open Demo trading from the Trade menu (web) or User Center / Menu (app). To go back, use Exit or Switch to live trading. Check the mode label before every order, since demo and live look similar.

Can I use the OKX API in demo trading?

Yes. You can create a separate Demo Trading API key and must send the header x-simulated-trading: 1 on every demo request. OKX notes that some functions, such as withdrawals and deposits, aren't supported in demo.

Are demo prices and fills the same as live trading?

Not reliably. OKX says demo and live modes are separate and that market data can't be used as a reference across them, and its pages are not consistent about how real demo prices are. Simulated fills also don't face the real order book, so slippage and liquidity can be very different live.

Does profit in OKX demo trading mean I'll profit live?

No. Demo results ignore real-money emotions, real liquidity and the cost of mistakes, and a short winning streak can be luck. Treat demo as a place to learn the tools and test your rules, not as proof a strategy works.

Can I practise a trading bot or API script in demo first?

Yes, that is one of its best uses. Test your script against the demo environment with a demo key, then review every order it placed before you ever connect a live key. Even then, start small.

Last reviewed: . OKX changes its products, fees and rules by region and over time. If anything here differs from what OKX shows in your account, OKX is right. See how we check information.

Join OKX