Execution Lag and Bid-Ask Bounce: Why a Signal Scored at the Close Cannot Trade at That Close

November 11, 2026 · Guides · 7 min read

Published by , founder of Equity Rank

A closing price does two jobs in a typical backtest. It is an input to the signal, and it is also the price at which the backtest assumes the trade happened. Those two jobs conflict. The close is only known once the market has closed, so a real investor cannot both observe it and trade at it. And a recorded close is not the "true" price of the stock: it is the last trade, which happened at either the bid or the ask.

This guide explains the two problems this creates, execution lag and bid-ask bounce, shows their combined size in a hypothetical simulation, and lists what to check in any backtest of a short-term stock signal.


Key Points


Two problems in one closing price

1. Execution lag. A score computed from the 4:00 p.m. close is available only after the close. The earliest realistic trade is the next session: the next open, a price during the next day, or the next close. A backtest that books the trade at the same close that produced the score is using information before it could have been acted on. This is the same family of error as using financial statements before they were filed. (See Point-in-Time Data and Reporting Lag.)

2. Bid-ask bounce. Every stock has a bid, the highest price a buyer is offering, and an ask, the lowest price a seller will take. The recorded close is whichever side the last trade happened to land on. If the stock's underlying value does not change at all, its recorded close can still go from the bid one day to the ask the next and back again. Each of those moves looks like a real return in the data, and they tend to reverse: a close at the ask is more likely to be followed by a lower close than a higher one. Richard Roll described this effect in the 1980s and used it to estimate spreads from price changes alone.

Either problem alone is manageable. Combined, they let a backtest profit from a pattern no one could trade.


How the false signal forms

Consider a short-term reversal signal: score each stock by the negative of its last one-day move, so the stocks that fell most score highest. A stock whose recorded close landed at the bid today looks as if it fell. It scores highly. Tomorrow its close is equally likely to land at the bid or the ask, so on average it bounces back up. The backtest buys it at today's bid-side close and marks it at tomorrow's average close, and records a gain.

That gain did not come from predicting the company. It came from buying at the bid, which a buyer cannot normally do, using a price the buyer could not have seen in time. In practice a buyer pays the ask. The "profit" is approximately the spread that the real trade would have cost.

Signals built on slower information, such as quarterly earnings or valuation ratios, are much less exposed because one day's bounce is small relative to the information they use. Signals built on the last few days of prices are the most exposed, and the effect is larger for stocks with wider spreads, which usually means smaller and less frequently traded stocks. (See Stock Market Liquidity Explained.)


A hypothetical simulation

We simulated 1,000 stocks over one year of 252 trading days, repeated 200 times. Each stock's underlying value followed a random walk with a shared market move (daily spread 1%) and its own move (daily spread 2%). The recorded close was the underlying value plus or minus a half-spread of 0.5%, landing on the bid or the ask at random each day. Nothing in the underlying values was predictable, so the signal had no skill by construction.

Each day we ranked stocks on the negative of their recorded one-day return and measured the top-fifth minus bottom-fifth spread over the following day three ways.

How the trade was measured Average spread per day Typical t-statistic Histories with abs(t) above 2
Trade at the same close used for the signal, recorded closes 0.33% 24.6 100%
Trade at the next day's close (one-day lag), recorded closes 0.00% -0.1 2.0%
Trade at the same close, midpoint prices instead of recorded closes 0.00% -0.1 3.0%

Hypothetical simulation from the stated assumptions; it does not represent any real security, index, strategy or Equity Rank output, and does not indicate future results.

With a narrower half-spread of 0.15%, closer to a large, heavily traded stock, the same-close spread fell to about 0.03% a day but still crossed the significance threshold in 69% of histories. The one-day lag again showed about zero, with 3.5% of histories crossing.

Three things stand out.

The false signal was not marginal. At a 0.5% half-spread, every single history produced a highly significant result. A real signal of that strength would be extraordinary; here there was nothing to find.

Either fix removed it. Waiting one day removed the overlap between the price that formed the signal and the price that started the trade. Using midpoints removed the bounce. Each alone was enough in this setup.

Narrow spreads did not make the problem go away. A smaller bounce still produced a significant result in most histories, because the error is systematic rather than random, and a full year of daily data makes even a small systematic error look precise. (See Overlapping Returns and Newey-West for a related way daily data overstates precision.)


Why the result is approximately the spread

In the simulation, the average same-close gain per day was about two-thirds of the half-spread. That is not a coincidence. A stock whose last close landed at the bid gains about a half-spread the next day on average, simply because its next close is equally likely to land on either side; a stock whose close landed at the ask loses about the same. A perfect sort on bid versus ask would therefore measure a gap of one full spread. The reversal signal sorts imperfectly, because real price moves also drive the ranking, and it captured about a third of that full spread. Either way, what is being measured is the bid-ask spread, not any information in the signal.

That is also why trading costs cannot be added afterwards as a separate correction. A backtest that books the bounce as profit and then subtracts an estimated spread is subtracting the same thing it has already counted the wrong way. (See Options Bid-Ask Spread Costs and Signal Decay and Turnover Costs.)


What to check in a backtest

  1. Find the gap between signal time and trade time. It should be stated. If a signal uses the close of day t, the earliest trade should be on day t+1.
  2. Check which price the trade assumes. Recorded closes, opens and last trades all carry bounce. Midpoint prices, or prices taken a short time after the signal, are cleaner for measuring short-term signals.
  3. Be most skeptical of short-horizon price signals. One-day and one-week reversal signals are the most exposed. A result that disappears with a one-day lag was never available to an investor.
  4. Look at the result by spread or size. If most of the measured effect sits in the stocks with the widest spreads, bounce is a likely explanation.
  5. Include realistic costs in the trade itself. Assume purchases at the ask and sales at the bid, or use a measured spread, rather than subtracting a flat cost from a return computed at the close.
  6. Count the evidence honestly. A very large t-statistic from daily data is not proof on its own. (See Backtest Biases Explained and Multiple Testing and the False Discovery Rate.)

This content is for educational and informational purposes only and does not constitute investment advice. Equity Rank is not a registered investment adviser. All figures in this article are hypothetical illustrations computed from stated assumptions; they do not represent any real fund, security, strategy or Equity Rank output, and they do not indicate future results.