Skip to main content
Paper trading lets you run a strategy against today’s real market without risking money. A paper account trades on a paper host: a simulation of a real host that matches your orders against the venue’s live order book and public trades, charges trading fees, pays and receives perpetual funding, and keeps positions and balances, all with simulated funds. Use it as the step between your own backtests and live trading. Your backtests tell you how a strategy behaved on history; paper trading shows how it behaves in the market as it is now, with live depth, real queues and real funding. When you are ready, you switch the same code to a connected account. See From paper to live.
Plurex does not replay history or run backtests. Paper accounts trade forward, in real time, on live data.

Paper hosts

A paper host is a host like any other. You find it with List hosts, and these fields mark it out: Paper markets take their order rules from the model host: the same instruments, price and size increments, minimums, value floors, and the same order types and order options where paper can simulate them. Paper simulates spot, linear perpetual and inverse perpetual markets, so its market list can be smaller than the model host’s. Always read the paper host’s own markets with List host markets rather than assuming they match. A paper host publishes its own capabilities. In some places it offers more than the model host (for example extra order queries, time in force options or fill details on the order stream) and in some places less (no leverage control, for one). Read the paper host’s capabilities while you paper trade, and the model host’s before you go live.
Host IDs such as bybit-paper and valr-paper appear in examples, but discover the paper hosts available to you with List hosts instead of hard-coding them.

The same API as a real account

Once created, a paper account is an ordinary account. It uses:
  • every /hosts operation: orders, fills, wallets, positions, margin states, market state, position mode and transactions, as the paper host’s capabilities allow;
  • both account streams, order changes and transactions, where the host supports them;
  • the account operations List, Get, Rename and Delete.
The only operations specific to paper are Create a paper account, Deposit and the three fee tier operations.

Create and fund an account

1

Create the account

Call Create a paper account with your tenant ID, a name and the paper host’s ID (not the model host’s).
The response is the new account, with isPaper: true. It starts with no balances and with the default fee tier; see Fees and funding to choose another.Creating an account is not safe to repeat: a repeat creates a second account. If the outcome is unclear, check List accounts before retrying. If your plan’s paper-account limit is reached, the call returns 422 AccountLimit.
2

Deposit simulated funds

Call Deposit with the account ID, a positive amount and the asset. The response is the resulting wallet.
Each deposit posts a Deposit transaction. Deposits are not safe to repeat. If the outcome is unclear, check List transactions where the paper host’s accountTransactions.listTransactions is supported, or compare the balance from List wallets, before retrying.
Deposit the asset your orders will spend or post as collateral: There are no withdrawals and no reset. To start again from a clean slate, create a new paper account. You can also deposit and create paper accounts in the web app.

How orders fill

Paper fills your orders against what the venue is actually showing. Every paper account is matched on its own: paper orders never use up each other’s liquidity, and no paper order touches the real market. Each account sees what its orders would have done if it were the only one trading alongside the real market.

Taking liquidity

A market order, or a limit order that crosses the book when it arrives, takes liquidity immediately. It walks the opposite side of the live book level by level, as far as the visible depth allows, and is reported as one fill at the volume-weighted average price of the levels it took. Large orders therefore see realistic slippage across the visible depth.
  • IOC: whatever the visible depth cannot fill is cancelled. A partly filled order ends Cancelled with sizeTraded above zero.
  • FOK: all or nothing. If visible depth cannot fill the whole size (at or better than the limit price, for a limit order), the order is cancelled with nothing filled.
  • GTC limit: the remainder rests on the book at the limit price.

Resting orders

When a limit order rests, it joins the back of the queue: paper notes the size already visible at its price on its side of the book. Public trades at that price work through the queue ahead first; once that size has traded, further trades fill your order. A trade at a better price than yours, or opposite liquidity in the book at or through your price, fills the order directly. A resting order always fills at its own limit price, as maker, and is charged the maker rate. It can fill over many trades; each fill arrives on the order stream with its details.

Time in force and order options

Which options each market accepts is in its order rules. Read them from List host markets and see Order rules.

What is not modelled

  • Latency. Submissions, cancels and triggers act instantly against the latest data paper has observed.
  • Market impact beyond the visible book. Paper does not deplete the book after your order takes from it, so orders in quick succession each see the same visible liquidity until the venue’s book updates.
  • Hidden liquidity and venue-specific queue rules. Queue position is estimated from visible size and public trades.
  • Fills per level. A sweep across several levels is reported as one fill at the average price, where a live venue may report several.
  • Amending orders. Cancel and resubmit instead.

Trigger orders

Paper supports trigger limit and trigger market orders on markets where the model host offers them. A trigger watches one reference price (last trade, best bid, best ask, mark or index) and fires when it crosses your trigger price in the direction of the condition, RefPriceGTE or RefPriceLTE.
  • Paper offers only the reference prices it can evaluate from the venue’s live data, and evaluates exactly the kind the order uses. Read the trigger section of the paper market’s triggerLimit and triggerMarket order rules to see which kinds are offered and whether you choose one (UserSelectable) or the host fixes it (HostSelected).
  • Every live value is checked in order, so a brief cross is not missed. A trigger whose condition is already met when you place it fires immediately.
  • A fired trigger market order fills against the book like a market order. A fired trigger limit order crosses or rests like a limit order.
  • Funds are held from submission. A waiting trigger order reserves the funds or collateral it needs, so it counts against your available balance before it fires.
Reduce-only trigger orders on perpetuals make stop-loss and take-profit orders.

Positions, collateral and balances

Spot. A buy holds quote and a sell holds base while the order is open; a cancel releases the hold. Fills move the balances. Spot trades do not post Settlement transactions; their fees post as TradingFee. Perpetuals. Paper trades perpetuals at 1×, without leverage:
  • Opening risk needs collateral equal to the position’s value. An order that needs more collateral than is available is rejected with 422 Rejected. (On spot, an order the balance cannot cover returns 422 InsufficientFunds.)
  • Collateral can be several assets. Non-stable assets such as BTC count at a discount to their value. Unrealised losses reduce what you can open; unrealised profit does not add to it. Read List margin states and Get market state for the current total and available collateral.
  • There is no liquidation. Losses, fees and funding can take a balance negative. A negative balance blocks new risk but never blocks reducing or closing a position: a closing order is never refused for lack of funds.
  • Realised profit and loss posts as Settlement transactions.
Position mode. New perpetual positions start in netting mode. Where a market offers hedging, switch with Set position mode while the market is flat and has no open orders. In netting mode, an order larger than the position closes it and opens the other way. In hedging mode, long and short legs are independent, each with its own entry price, profit and loss, fees and funding. In hedging mode every order must set positionEffect: Open adds to the leg on the order’s side, and Close reduces the opposite leg. Paper rejects an order without it with 422 Rejected. Get leverage and Set leverage are not supported on paper hosts, every paper market’s settings.leverage is null, and market state reports the leverage setting as Disabled.

Continuity

Your paper account is kept safe across restarts. Balances, positions, fills, fees and funding already posted, open orders and waiting triggers all survive, with their original prices and fee terms. Resting orders and triggers resume from fresh live data. Paper never invents activity for periods without live data: no fills or trigger crossings are made up for a gap, and trades a venue re-sends after a reconnect are not counted twice. Two things to plan for:
  • While a paper host is starting, its operations return 503 Unavailable. Retry after a short wait.
  • Paper does not pause when a venue’s feed is interrupted, so it may accept orders during an interruption.
If a command’s outcome is unclear, reconcile as you would on a live venue: Get an order or List open orders for orders, List transactions (where supported) or List wallets for deposits, and List accounts for account creation.

What paper does not simulate

Next steps

Fees and funding

Choose a fee tier and follow funding payments.

From paper to live

What stays the same and what to plan for.

Quickstart

Place your first paper order in a few minutes.