Learn › Glossary › Bid-Ask Spread

Bid-Ask Spread

The gap between the highest price buyers will pay (bid) and the lowest sellers will accept (ask). Crossing the spread is the immediate cost of a market order. Liquid ETFs trade with penny spreads; thin instruments can cost many times more — a real hurdle for strategies that trade frequently.

The bid-ask spread is the gap between the highest price a buyer will pay, the bid, and the lowest price a seller will accept, the ask. A market order to buy fills at the ask and a market order to sell fills at the bid, so each time a strategy buys and later sells with market orders it crosses the spread twice. The spread is the immediate cost of trading. On a liquid ETF it is a penny. On a thin fund it can be many times that.

The spread matters in proportion to how often a strategy trades. A rule that makes one trade in five years pays the cost once on the way in and once on the way out. A rule that makes a trade every few days pays it hundreds of times. In the 12 strategy templates on this site, the median round trips across 59 ETFs range from 2 for the dip buyer to 166 for the RSI(2) snapback. Those two rules sit at opposite ends of how much spread they pay.

The spread is one part of slippage, which is the difference between the price a strategy expected and the price it received. The slippage entry covers the whole of it, including market impact and delay. The liquidity entry covers why some funds have tight spreads and others do not. This entry covers the spread itself: what it is, how an order meets it, which funds are liquid enough that it barely matters, and what a backtest does and does not charge for it.

The headline backtests on this site run with no fees and no slippage. They also report two cost runs that charge 5 and 10 basis points on every fill, where a basis point is one hundredth of a percent. Those runs are a stand-in for the spread. The numbers on this page come from the same minute data, from 2021-01-04 to 2026-10-02, and none of them are quotes of an actual spread, because the data here is trade prices and volumes, not the order book. All results are hypothetical.

How an order meets the spread

A quote has two sides. The bid is what the best buyer offers, and the ask is what the best seller wants. The spread is the distance between them. A market order takes whichever side is waiting. A buyer pays the ask and a seller receives the bid, and the difference is the cost of getting the trade done now. Some traders think of the midpoint between the two as the fair price, and of half the spread as the cost of each trade. That is one convention, and none of the data here depends on it.

A limit order works the other way. It names a price and waits. A buy limit at the bid joins the line of buyers and fills only if a seller comes down to it. If it fills, the trader has not paid the spread and may have earned a small part of it. If the market moves away, it does not fill at all. The trade-off is a lower cost per fill against a risk of no fill, and a rule that needs to be in the market on a given day cannot always afford to wait.

The weekly 7% target is a rule that mixes the two. It buys at the first open of the week and rests a limit order at 7% above the entry, so the exit at the target is a limit order that waits for the market to come to it. The Thursday 2:00pm exit for a losing position is a market exit. The product reference adds that price bands refuse limit orders priced too far from the market, which guards against an order placed far outside the quote.

Spreads are not constant. They are wider when few participants are quoting, such as at the open or in a fast market, and narrower when many are. A backtest that fills at a bar price does not see this. It sees the price at which the minute's trades happened and nothing about the quotes behind them, so the spread is invisible to it unless the test adds a charge.

Which funds trade with tight spreads

The data on this site does not record quotes, so it cannot measure a spread. It does record how much trading each fund attracts, and a fund that trades a lot is usually a fund with a tight spread. Average daily dollar volume over the window is a rough guide. SPY traded $30,453,859,411 a day and QQQ traded $18,772,024,579. IWM traded $5,885,548,447, TQQQ traded $4,150,045,180 and TLT traded $2,159,787,473. UVXY traded $458,284,172.

The median minute volume tells the same story at a finer scale. SPY had 107,870 shares in the median minute, QQQ had 77,976, IWM had 46,034 and TLT had 35,636. TQQQ had 285,786.5. UVXY had 1,145. A strategy that sends an order in a single minute into UVXY is competing with far fewer shares than one that sends the same dollar amount into SPY, and the spread it meets is likely to reflect that. The SPY page and the UVXY page give the full behaviour of each.

Dollar volume is not the same as spread, and a fund with a large volume can still have a wide spread in a fast market. It is also not the whole of the cost. An order large enough to take more than the quoted size moves the price, and that is market impact, which the slippage entry covers. For the account sizes this site models, which start at $10,000, market impact on the large ETFs is small. The strategy pages note that thin funds deserve extra care, and the TECS page shows an example of a thin leveraged fund.

Volatility also feeds into the spread. UVXY had annualized volatility of 103.95% and an average intraday range of 7.03%. TQQQ had 67.11% and 4.74%. QQQ had 22.39% and 1.58%, IWM had 22.35% and 1.75%, SPY had 16.41% and 1.15%, and TLT had 15.33% and 0.94%. The funds with the widest daily ranges are the ones where a market order can land far from the last price in a short time. When the average day moves several percent, a fill that is a fraction of a percent worse than the quote is easy to overlook, and it is also easy to underestimate.

The opening gap and the spread

Rules that decide once a day and trade at the open meet the spread at the moment it is often at its widest. The open follows a night of news, and the first prints of the day carry the overnight gap. The average overnight gap was 0.44% for SPY, 0.59% for QQQ, 0.61% for IWM, 0.54% for TLT, 1.78% for TQQQ and 2.53% for UVXY. The gap is not the spread, since a gap is a change from the previous close and a spread is the difference between bid and ask. Both show up at the open.

Most of the strategy templates on this site trade at the open. Their entries and exits come at the first bar of the day, and the backtest fills at that bar's price. A fill at the open of a volatile fund can be worse than the backtest suggests. That is one reason the cost runs matter more for UVXY and TQQQ than for SPY, and the strategy pages for those funds give the 5 and 10 basis point results next to the headline.

How much spread each template pays

The strategy templates differ more in how often they trade than in anything else, and that decides how much spread they pay. The median round trips across the 59 funds were 166 for the RSI(2) snapback, 106 for the weekly 7% target and 69 for the monthly cycle. The EMA 12/26 trend had 22, the 200-day regime filter had 18, the SMA 10/50 trend had 17 and the RSI mean reversion rule had 15. The 3-month momentum rule had 12, the momentum breakout had 6 and the trend plus trailing stop had 4. The golden cross had 3 and the dip buyer had 2.

Every round trip crosses the spread twice if both legs use market orders. The RSI(2) snapback's median of 166 round trips means that rule crossed the spread far more often than the golden cross. The median CAGR for the RSI(2) snapback was 4.74% and for the golden cross 2.05%, so the high-turnover rule earned more before costs. Whether it earns more after costs depends on the spread of each fund, and the cost runs on each strategy page show it. On a penny-spread ETF the cost of 166 round trips can be small. On a thin fund it can erase the edge.

The weekly 7% target had the highest median CAGR of the 12, at 6.61%, with a median of 106 round trips. The monthly cycle had a median CAGR of 5.46% with 69. Both trade often enough that the spread is a real cost against their results. The strategy pages for the funds with the widest ranges and the thinnest volume, such as UVXY and TECS, show the largest drops between the headline and the cost runs.

Counting round trips overstates and understates at the same time. A strategy that holds a position for months makes one crossing in and one out, and the cost is spread over a long hold. A strategy that holds for days pays the same two crossings over a much shorter hold, so the cost per day in the market is higher. The turnover table gives a rough ranking and does not replace the cost runs.

What a backtest charges

The headline run on each strategy page fills at the bar price and charges nothing. That choice keeps the headline number simple and shows what the rule does before frictions. It also flatters high-turnover rules the most. The cost runs add 5 and 10 basis points on every fill, and they show how much of the result survives. A flat charge per fill is a rough model of the spread. It does not vary with the fund or the time of day, and it does not model the size of the order.

The two charges can be read as a range. A fund with a penny spread on a high share price is likely to cost less than 5 basis points a side, and a thin fund can cost more than 10. The data on this page cannot say which side of that range a given fund falls on, because it holds trades and volumes and not quotes. A reader who plans to trade a rule should check the live spread of the fund in the broker they use, and should treat the cost runs as a sensitivity test and not as a forecast.

Paper trading and live trading use the same real-time consolidated market feed as the backtests, according to the product reference. A paper account fills against that feed, so a paper run is a closer test of how orders meet the market than a backtest at bar prices. It still does not replace a small live order, since a live order meets the actual quote in the broker's routing. The product connects to Webull, Charles Schwab and Alpaca for live trading, and Alpaca for paper trading as well. Paper trading on DeployQuant needs no broker account.

How to read a page when the spread matters

On any strategy page, compare the headline CAGR with the 5 and 10 basis point rows. A small drop means the rule trades rarely or the fills are cheap. A large drop means the result leans on frictionless fills. The RSI(2) snapback on SOXX is a high-turnover case where the cost rows fall well below the headline. The 3-month momentum rule on XLF trades far less, and its cost rows sit close to the headline. The difference between those two pages is the number of fills.

The same read applies to a fund's own page. The TQQQ page shows a fund with a very large volume and a very large daily range at the same time. The QQQ page shows a fund with tight spreads and moderate swings. The TLT page shows a bond fund whose total return was negative 40.49% over the window and whose volume was lower than the equity funds. A reader who wants to know how a spread would affect a strategy should look at fill counts first, volume second and volatility third.

The limits of this entry follow from the data. The window is 5.74 years of trade prices and volumes. It holds no bid or ask. The cost runs are flat charges. The strategy medians are across 59 funds and hide wide differences between them. None of this forecasts what any strategy will pay in the future.

Frequently asked questions

What is the bid-ask spread?

It is the gap between the highest price buyers will pay, the bid, and the lowest price sellers will accept, the ask. A market order buys at the ask and sells at the bid, so crossing the spread is the immediate cost of a market order. Liquid ETFs trade with penny spreads.

How does the spread affect a trading strategy?

A strategy pays it on every market order, so the cost grows with the number of trades. Median round trips across 59 ETFs range from 2 for the dip buyer to 166 for the RSI(2) snapback. The high-turnover rules are the ones most affected.

How do these backtests account for the spread?

The headline runs charge no fees or slippage. Two cost runs add 5 and 10 basis points on every fill as a stand-in. The data holds trade prices and volumes, not quotes, so the actual spread is not measured.

Which funds have the tightest spreads?

The data holds no quotes, so volume is the guide. SPY traded $30,453,859,411 a day on average and QQQ traded $18,772,024,579. UVXY traded $458,284,172 with a median minute volume of 1,145 shares, so it is far thinner.

Is the spread the same as slippage?

No. The spread is one part of slippage. Slippage is the difference between the price a strategy expected and the price it got, and it also includes market impact and delay. The [slippage entry](/learn/glossary/slippage/) covers all of it.

Do limit orders avoid the spread?

A limit order that fills at the bid or better avoids crossing the spread, and it may also never fill. The weekly 7% target uses a resting limit order for its profit target and a market exit for losing positions on Thursday at 2:00pm.

Run a strategy that uses this yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Related terms

SlippageThe difference between the price a strategy expected and the price it …LiquidityHow much of an asset can be traded quickly without moving its price. D…

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.