1. Valmy
  2. Learn
  3. Testing ideas
  4. X7

How do I paper trade without fooling myself?

Intermediate 12 min read

Short answerPaper trading runs a rule forward on a market feed with virtual money. It tests whether the rule makes the decisions you expect and what happens under assumed trading costs. An optimistic fill can turn a loss into an apparent gain. In the synthetic 30-day example below, the same 44 round trips earned 8.3% when booked at the line on the chart, earned 1.6% at the signal candle’s close and lost 2.8% at the next open with slippage.

Before the first paper order, write down the version, virtual allocation, test period and stop rules. At the end, compare the paper decisions and fills with a backtest over the same dates. Use the gaps you can explain, and those you still cannot, to decide whether to continue, pause or revise the paper experiment.

In the private paper beta, balances and orders are simulated. The market feed supplies prices and the simulator applies its fill and fee assumptions. The next-open model below is the lesson’s chosen comparison. Record the assumptions used for your own run. This exercise needs no exchange credential or deposit.

What paper trading tests, and what it cannot#

A paper run is a test on data the strategy has never seen, so it is a form of out-of-sample test that you run forward in time. It is good at catching problems with the rules and the routine, and poor at measuring execution.

What it can test:

  • whether the rules are unambiguous: every signal leads to one clear action;
  • whether signals arrive when the backtest says they should, at the same frequency;
  • whether orders pass the exchange's size rules and the account has the funds;
  • whether you can follow the plan day after day without overriding it.

What it cannot test, unless the simulator models it:

  • The price you would really get. A real order trades at the ask or bid, not the last price, and a larger order walks the book. Why did I pay more than the price on screen? explains spreads and slippage.
  • The queue. A resting limit order waits behind earlier orders at the same price, as What actually happens when I place a buy order? explains. A trade printed at your price doesn't mean your order filled.
  • Market impact. A paper order removes no liquidity, so it never pushes the price against you.
  • Delay. A rule evaluated on a closed candle can only act after the close, and an order takes time to reach the exchange.
  • Emotions. A paper loss doesn't hurt. Paper can't show whether you would follow the rule after five real losses in a row.

Fill assumptions that flatter a paper record#

Most of the gap between paper and real results comes from how fills are booked. Three habits make a paper record look better than any real account could.

Booking at the signal candle's close#

A rule that acts on a closed candle only knows its signal once the candle has closed. The earliest real fill is the next available price, such as the next candle's open, plus the spread and slippage. Writing down the signal candle's close as the fill price skips those costs on every trade. On a continuously traded crypto pair the next open is usually close to the previous close, so the main loss is slippage, but it applies twice per round trip.

Booking at the touch#

Booking at the touch means recording the price at which the chart crossed a line or level as your fill. For a rule that waits for a candle to close beyond a line, price is already past the line when the decision is made, so the line price was never available. For a resting limit order, the touch is optimistic in another way: when price only touches your level and turns back, your order may not have filled at all, because others were ahead of you in the queue. Valmy's v1 engineering proposal uses market orders (as of 26 November 2026), so its strategies face the spread and slippage rather than a queue.

Leaving out costs, sizes and partial fills#

A paper record without fees overstates every round trip. Exchanges also reject or trim orders that break their size rules. On Binance Spot, for example, the LOT_SIZE filter sets a minimum, maximum and step for the quantity, and the NOTIONAL filter sets limits on an order's value (as documented on 26 November 2026). A large order can fill in parts at several prices. A simulator that ignores these rules books trades that could not have happened as written.

Worked example: one rule, three paper records (synthetic data)#

This example books the same signals three ways over the same 30 days, to show how much the booking alone changes the result. The same 44 round trips returned +8.3% booked at the line, +1.6% at the signal close and −2.8% at the next open with slippage, while holding returned +0.8%. The market and the trades are invented.

Assumptions.

  • The market is 30 days of synthetic five-minute candles (8,640 candles): five six-day trends of about +5%, −4%, +5%, −3% and +3%, with random noise of 0.12% per candle. Each candle opens at the previous close.
  • The rule buys when the close crosses above a line 0.3% above the 96-candle (8-hour) simple moving average, and sells when the close crosses below a line 0.3% below it. As specified, Valmy's v1 language offers constants, arithmetic, the SMA and cross-above and cross-below, so it can express these lines.
  • The account starts with 1,000 virtual USDT allocated to this rule. Every simulated fill pays a 0.10% fee in all three records.
  • The three records book the same 44 round trips at different prices: at the line, as a trader watching the chart might note them; at the signal close; and at the next candle's open plus an assumed 0.05% slippage, the convention Valmy's specified backtests use (earliest execution on a later bar, with the configured spread, slippage and fee model).
Same 44 round trips At the line At the signal close Next open + slippage Holding
Ending equity 1,082.98 USDT 1,015.62 USDT 971.90 USDT 1,008.35 USDT
Return +8.3% +1.6% −2.8% +0.8%
Winning round trips 16 15 13 n/a
Maximum drawdown 5.9% 6.8% 8.3% 9.8%
Equity of a 1,000 USDT paper allocation over 30 days of synthetic five-minute candles, with three lines for the same 44 round trips. Booked at the band line (dashed) it ends at about 1,083 USDT (+8.3%), booked at the signal close (dotted) at about 1,016 USDT (+1.6%), and booked at the next open with slippage (solid) at about 972 USDT (−2.8%). A thin gray line for holding ends near 1,008 USDT (+0.8%). The three lines start together and drift apart a little with every trade.
Figure 1. Synthetic data. The same signals look like a winning strategy or a losing one depending only on how the fills were booked. Notice that the lines separate a little at every trade, not in one jump.

The line-price record beat holding by 7.5 percentage points. With the same signals and next-open fills plus assumed slippage, the strategy finished below its starting balance.

One round trip booked three ways#

Round trip 3 shows the mechanics. Price crossed the upper line during the signal candle, the candle closed a little above it, and the next candle opened at that close.

Round trip 3 At the line At the signal close Next open + slippage
Buy price 97.12 97.22 97.27
Sell price 97.48 97.42 97.38
Return after 0.10% fees on each side +0.17% +0.01% −0.09%

A small gain at the line became a small loss under the next-open assumption.

Where the 11.1 points went#

The line record finished 11.1 points above the next-open record, about 0.25% per round trip. Two costs explain it:

  • The close beyond the line. By the time a candle closed beyond its line, price had moved on average 0.069% past it at entries and 0.078% at exits, about 0.15% per round trip. Booking at the line instead of the close added 6.7 points.
  • Slippage. An assumed 0.05% per fill is 0.10% per round trip, which compounds to about 4.3% over 44 round trips. Booking at the close instead of the next open with slippage added 4.4 points.

Every one of the 44 round trips looked better at the line than with next-open fills. That is a bias, not noise. The simple average round trip in the next-open record was −0.05%, with a standard error of 0.22%, so random variation in this sample is about as large as the bias per trade. Noise can go either way and partly cancels over many trades. A bias points the same way every time and adds up.

Set the rules before you start#

A paper run is a test only if its rules were fixed before the first trade. Write them down in a short plan.

  • The exact version and instrument. In Valmy, as specified, every saved change creates a new immutable version, and a deployment pins one. A changed parameter is a new strategy with no paper record of its own.
  • The virtual allocation. Decide how much of the paper account’s starting balance this rule will reserve. Use the same amount in the comparison backtest.
  • The sample. Decide how long to run and how many round trips you need before judging, for example "at least 30 days and at least 40 round trips, whichever comes later". What is out-of-sample testing, and how do I set one up? shows why dozens of trades are a minimum.
  • The stop rules. Decide what ends the run early, for example a drawdown 1.5 times larger than the backtest's maximum, or signals that don't match the backtest. As specified, a Valmy deployment carries a daily loss limit and either an expiry or an explicit stop.
  • The comparison. Set a tolerance before the run. For example, pause if a paper decision differs from the matching backtest decision, or if you cannot explain a fill-price difference larger than your specified allowance.

Record every decision, not just the trades#

A record of fills alone hides the decisions that matter: the signals you skipped, the exits you took early and the times the strategy did nothing. Keep all of them.

As specified, Valmy records each strategy decision with its time, the input close, the version, the reason, the intended action, any linked order and fill, and any risk rejection, and paper mode shows a reason for each decision alongside the order and fill history. Add your own notes for anything you did by hand. A paper run in which you overrode the rule several times is a test of your judgment, not of the rule, so record it that way or start again.

Compare the paper record with a backtest of the same version#

When the paper period ends, run a backtest of the same version on the same instrument and dates, with the cost model you expect to pay. If the paper simulator books fills the same way, the two should agree closely, trade by trade. A gap points to the booking, to a data problem or to a change in the rule, not to skill or bad luck.

In the example, the hand-kept record booked at the line beat the backtest convention by 11.1 points over 44 round trips. That gap is the size of the costs the record left out, so the record says nothing about the rule's edge. The rule itself lost 2.8% when booked at the next open with slippage, while holding gained 0.8%.

Finish the experiment in the paper account#

Pick one eligible paper instrument and write a rule in chat. Review the resulting strategy version, its bar interval, virtual allocation and assumed costs. Run a backtest, save the dates and drawdown, then start that version in paper mode. At the first decision, compare the time, action and reason with the rule you saved. A decision to hold is a result worth recording.

At the planned review, compare the same period with a backtest. There are three useful outcomes:

  • Continue if decisions agree, differences in modeled costs are understood, and your plan calls for a further sample. Record its dates in advance.
  • Pause if data are missing, a stop rule was reached, or you cannot explain why fills or decisions differ. Find the first mismatch in the log.
  • Revise if the evidence suggests a specific change to the rule or modeling assumptions. Save what changed and start a fresh paper record so the two experiments stay distinguishable.

What could change the conclusion about a paper record?#

A better simulator narrows the gap. A paper simulator that books fills like the backtest, at the next available price with slippage, removes most of the bias shown here. Paper trading then mainly tests the rules, the plumbing and your discipline, which is still worth doing.

Real slippage can be larger than assumed. The 0.05% used here is an assumption. Thin markets, fast moves and larger orders cost more. How much do fees and slippage change a backtest? shows how quickly that adds up.

Thirty days is short. With a standard error of 0.22% per round trip, 44 round trips can't show whether the rule has a small edge. The paper run can still expose a large bias, as it did here.

Futures add funding and liquidation. On a perpetual future, funding payments and the risk of liquidation change the result. Valmy's specified paper simulator models funding and an approximate isolated liquidation using mark prices, so treat a liquidation in paper as a warning, not a precise forecast. What does leverage change, and when is a position liquidated? explains the mechanics.

Look-ahead mistakes also flatter records. A rule that, by mistake, reads a value before it was available will look better in both paper and backtest. What is look-ahead bias? explains how this happens.

Check your understanding: reading a paper record#

Question. A trader paper trades a rule for 30 days and books every fill at the signal candle's close, with 0.10% fees and no slippage. The record shows +6.0% over 60 round trips. A backtest of the same version over the same dates, with 0.05% slippage per fill, shows −1.0%.

  1. Roughly how much of the 7-point gap can 0.05% slippage per fill explain?
  2. Which record would you use to evaluate this version under the assumed costs? What would you check first?
  3. The plan says to pause whenever the records differ by more than half a percentage point after accounting for slippage. Should the trader continue, pause or revise?
Show the answers

Answer.

  1. Slippage of 0.05% on a buy and on a sell keeps about (0.9995 ÷ 1.0005) of the value per round trip, and over 60 round trips about 0.9418 of it. Applied to the paper result: 1.06 × 0.9418 − 1 ≈ −0.2%. Slippage alone explains about 6.2 of the 7 points. The remaining 0.8 points come from other differences between the two records, such as next opens that differed from the closes, and are worth checking.
  2. Use the −1.0% backtest as the comparison under its cost model. Match the first differing decision and fill by version, time and quantity. Check the signal-close price, next-open price and fee for each side.
  3. Pause. The unexplained gap is about 0.8 percentage points, above the prewritten 0.5-point tolerance. If a pricing assumption explains the gap, document it and revise the simulation. Otherwise keep it paused. With a reconciled record, the learner can schedule another paper period using the same rule.