Methods noteMarket data

Measuring bid-ask spreads from trades and quotes

Effective spread vs realized spread: one measures a trade against the quote midpoint at arrival, the other against a later midpoint. Both need trades matched to quotes and signed.

Cover of the full report: Measuring bid-ask spreads from trades and quotes
The research behind this article, with every source listed. 19 pages.

Key points

From the Summary of the full report

  1. SEC Rule 605 defines the average effective spread as double the difference between the execution price and the midpoint of the national best bid and national best offer (NBBO) at order receipt, and the average realized spread as the same difference from the midpoint at a set interval after execution [1, 2].
  2. Effective spread minus realized spread is price impact, which the SEC reads as a measure of adverse selection. The SEC also states that realized spreads do not measure the actual trading profits of liquidity providers [1].
  3. Realized spreads depend on the horizon. Amended Rule 605 reports them at 50 milliseconds, 1 second, 15 seconds, 1 minute and 5 minutes, and an SEC analysis of 2023 data found them tending to fall as the horizon lengthened [1, 3].
  4. Public trade and quote records carry no order receipt time and no trade side, so researchers match trades to quotes and infer direction. In a 2008 sample, NYSE trade and quote (TAQ) files stamped to the second gave percent effective spreads 54% larger than files stamped to the millisecond [4].

Measuring bid-ask spreads from trades and quotes starts with three definitions. The quoted spread is the best offer minus the best bid. Effective and realized spreads both compare a trade's price with the quote midpoint: the effective spread with the midpoint when the order arrived, the realized spread with the midpoint a set interval after the trade [2]. Effective spread vs realized spread is a question of timing, and the difference between the two is price impact [1]. Public trade and quote records carry neither the order's arrival time nor its side, so the researcher picks a benchmark quote and signs each trade, and both choices move the result [8].

Under SEC Rule 605, market centers, brokers and dealers publish these statistics from their own order records [11]. The 2024 amendments time orders to the millisecond and add realized spreads at several horizons [1]. The compliance date moved to 1 August 2026, and reports covering August 2026 were due by the end of September 2026 [11]. This note follows Rule 605's convention: full spreads, twice the distance from the midpoint, with a sign D of +1 for a buy and -1 for a sell [2, 4]. Bessembinder and Venkataraman write half-spreads in percent instead [8].

The effective spread formula under Rule 605

The rule defines the average effective spread, for buy orders, "as double the amount of difference between the execution price and the midpoint of the national best bid and national best offer at the time of order receipt", and the mirror for sells [2]. Its average quoted spread is the share-weighted gap between the national best offer and the national best bid, together the NBBO, at receipt, and each percentage version divides by the average midpoint [2, 3].

Measure Formula (full spread) Benchmark
Quoted spread Offer - Bid NBBO at order receipt
Effective spread 2D(P - M) Midpoint at order receipt
Realized spread 2D(P - M') Midpoint a set interval after execution
Price impact 2D(M' - M) Change in the midpoint over that interval

Sources: [1, 2, 4]. P is the execution price, M the midpoint at the benchmark time and M' the later midpoint.

The SEC staff's own example shows the arithmetic. A market order to buy 3,000 shares arrives with the NBBO at $25.30 bid and $25.60 offer, a $25.45 midpoint [13]. It fills 400 shares at $25.50, 1,000 at $25.55 and 1,600 at $25.60, for effective spreads of $0.10, $0.20 and $0.30 [13]. The share-weighted average is $0.24, or 80% of the $0.30 quoted spread (derived) [13]. Rule 605 reports that ratio as E/Q, where 100% means a buy filled at the offer and 0% a fill at the midpoint [1].

Effective spread vs quoted spread

The quoted spread "measures the cost of completing a round trip (buy and sell), if trades are executed at the quoted prices" [8]. Trades also happen inside the quotes, through price improvement or hidden size, and large orders walk up the book to prices outside them [8]. Studies cited by Ardia, Guidotti and Kroencke found that the quoted spread overestimates the effective spread traders pay by up to 100% [9]. All three measures need only the best bid and offer, the top of the book described in the explainer on level 1, 2 and 3 market data. A large order's cost depends on the depth beyond it [8].

The midpoint carries a bias of its own. Hagströmer finds that the effective spread measured from the midpoint overstates the true effective spread in markets with discrete prices and elastic liquidity demand, by 13% to 18% on average for S&P 500 stocks and up to 97% for low-priced stocks [24].

Effective spread vs realized spread

The realized spread formula swaps the benchmark: 2D(P - M'), with M' the midpoint some interval after execution. Effective spread minus realized spread is price impact, 2D(M' - M) [1, 4]. The SEC reads price impact as "a measure of adverse selection", and the realized spread as "the portion of the spread that liquidity providers earn in excess of adverse selection" [1]. It also states that "Realized spreads do not measure the actual trading profits that liquidity providers earn from supplying liquidity", in part because they leave out rebates, fees and payment for order flow [1].

In Rule 605 reports the decomposition is not exact, because the effective spread starts from order receipt and the realized spread from execution [1]. Studies built from trade records start both measures from the trade itself, so the identity holds there [4].

Pick the benchmark quote and the horizon

Before the trade, a Rule 605 reporter working in milliseconds uses "the NBBO that was in effect at the start of that millisecond" in which the order arrived [13]. Trade records show only the trade time. Bessembinder and Venkataraman report that prices move against even small trades in the seconds before they execute, and that Bessembinder (2003) recommends the midpoint five seconds before the trade report [8]. Holden and Jacobsen recommend matching Daily TAQ trades to the NBBO one millisecond earlier [4].

After the trade, amended Rule 605 reports realized spreads at 50 milliseconds, 1 second, 15 seconds, 1 minute and 5 minutes, where the original rule used five minutes alone [1, 3]. The SEC's analysis of 400 stocks in the first quarter of 2023 found realized spreads tending to fall as the horizon lengthened, except at five minutes for stocks over $10 billion in market value [1]. Conrad and Wahal found that most price impact in 2010 to 2017 took place within 15 seconds in large stocks and 60 seconds in small ones [15].

Sign each trade or read its side

The Lee and Ready rule calls a trade a buy above the midpoint and a sell below it, and uses the tick test at the midpoint [4]. On Nasdaq data with known directions, Ellis, Michaely and O'Hara found it classified 81.05% of trades correctly, and that the algorithms did "a mediocre job when used for calculating effective spreads" [26]. In a Bank of England staff working paper on 2011 Nasdaq data, traditional algorithms classified about 98% of volume correctly at nanosecond timestamps and about 90% at second timestamps, against 95% for the paper's own method [5]. A trade signed the wrong way enters 2D(P - M) with its sign reversed [4].

Some feeds report the side. CME's MDP 3.0 trade summary carries tag 5797 AggressorSide [16]. Coinbase's match messages give the maker's side, so the trade's sign is the opposite [17].

Timestamps decide which quote a trade meets

Holden and Jacobsen compared NYSE's Monthly TAQ, stamped to the second, with Daily TAQ, stamped to the millisecond, for 100 stocks in 2008 [4]. On Monthly TAQ, the percent effective spread was 54% larger, the percent realized spread 12% larger and percent price impact 109% larger [4]. Trades outside the NBBO were 26.3% of trades on unadjusted Monthly TAQ, eight times the 3.3% in Daily TAQ, and 17.6% once withdrawn quotes were accounted for and each trade was matched to the prior second's quote [4].

Rules for locked quotes differ too. Rule 605 keeps a locked NBBO, while Holden and Jacobsen delete locked and crossed states [4, 13]. The explainer on TAQ data covers the timestamp history, sale conditions and round lot changes behind these files.

Spread estimators from daily prices

Where trade and quote data are missing, daily estimators fill in [9]. With at least one trade each period, the closing-price estimator of Ardia, Guidotti and Kroencke reduces to Roll's: twice the square root of minus the covariance of successive price changes (derived) [9]. In their simulation of a 1% spread, Roll's estimator returned zero about 40% of the time even with a year of daily data [9]. Corwin and Schultz work from daily high and low prices [20], and Hasbrouck's Gibbs estimate from daily closing prices correlated 0.965 with a transaction-level estimate in a validation sample [31].

Rillor's study of price discovery between crude futures and an on-chain perpetual measured that perpetual's spread from its own trade tape. Roll's estimator overstated it by about two times, and a figure from another venue's top-of-book feed understated it by about three times [6].

Round lots, odd lots and the NBBO

The NBBO is built from round-lot quotes [2]. Since 3 November 2025, round lots are 100 shares up to $250, 40 shares to $1,000, 10 shares to $10,000 and one share above [7]. In Cboe's own analysis, the average NBBO spread for stocks priced $1,000 to $10,000 fell from about 53 basis points in July to October 2025 to about 35 in November 2025 to March 2026 [7]. For stocks above $250, a spread series that crosses that date mixes two definitions of the best quote [2, 7]. From 1 November 2026, Rule 605 also reports price improvement against the best available displayed price, which can be set by the best odd-lot order, while effective and realized spreads keep the NBBO midpoint [2, 13].

Every measure here rests on trades and quotes matched in time. Rillor's market data holds U.S. stock and futures trade and quote history from 2018, with every trade and quote on the same UTC clock as the on-chain order books and the source's own timestamp kept beside capture time [18].

Read the full report

The full report quotes Rule 605's spread definitions, works through the decomposition and its limits, sets out the evidence on quote timing, trade signing and daily estimators, and lists the choices a spread study can state.

The full report

Measuring bid-ask spreads from trades and quotes

The research behind this article, with every source listed. 19 pages.

  1. Summary
  2. Background
  3. Method
  4. Findings
  5. Implications
  6. Limits of this analysis
  7. Sources

Sources

  1. Disclosure of Order Execution Information, Final Rule, Release No. 34-99679. U.S. Securities and Exchange Commission, 6 March 2024, viewed 13 November 2026. https://www.sec.gov/files/rules/final/2024/34-99679.pdf
  2. 17 CFR 242.600, NMS security designation and definitions. Electronic Code of Federal Regulations, viewed 13 November 2026. https://www.ecfr.gov/current/title-17/section-242.600
  3. 17 CFR 242.605, Disclosure of order execution information. Electronic Code of Federal Regulations, viewed 13 November 2026. https://www.ecfr.gov/current/title-17/section-242.605
  4. Holden and Jacobsen. Liquidity Measurement Problems in Fast, Competitive Markets: Expensive and Cheap Solutions. Journal of Finance 69(4), August 2014, viewed 13 November 2026. https://host.kelley.iu.edu/cholden/Holden%20and%20Jacobsen%20(2014).pdf
  5. Jurkatis. Inferring trade directions in fast markets, Staff Working Paper No. 896. Bank of England, December 2020, viewed 13 November 2026. https://www.bankofengland.co.uk/-/media/boe/files/working-paper/2020/inferring-trade-directions-in-fast-markets.pdf
  6. Cross-venue price discovery: regulated crude futures and on-chain perpetuals (report). Rillor, 9 October 2026, viewed 13 November 2026. https://rillor.com/insights/cross-venue-price-discovery-crude-perps/report
  7. The Impact Round Lot Reform Had on U.S. Equities Market Quality. Cboe Global Markets, 28 April 2026, viewed 13 November 2026. https://www.cboe.com/insights/posts/the-impact-round-lot-reform-had-on-u-s-equities-market-quality
  8. Bessembinder and Venkataraman. Bid-Ask Spreads: Measuring Trade Execution Costs in Financial Markets (author copy). Southern Methodist University, March 2009, viewed 13 November 2026. https://cpb-us-w2.wpmucdn.com/people.smu.edu/dist/6/414/files/2020/07/Bid-Ask-Spreads-Measuring-Trade-Execution-Costs-in-Financial-Markets-2010.pdf
  9. Ardia, Guidotti and Kroencke. Efficient Estimation of Bid-Ask Spreads from Open, High, Low, and Close Prices (working paper, published in the Journal of Financial Economics, 2024). INSEAD, 1 February 2022, viewed 13 November 2026. https://sites.insead.edu/facultyresearch/research/file.cfm?fid=68847
  10. Extension of Compliance Date for Disclosure of Order Execution Information, Release No. 34-104147. U.S. Securities and Exchange Commission, 30 September 2025, viewed 13 November 2026. https://www.sec.gov/files/rules/final/2025/34-104147.pdf
  11. Frequently Asked Questions: Rule 605 of Regulation NMS. U.S. Securities and Exchange Commission, Division of Trading and Markets, updated 1 April 2026 (Q40 modified 8 July 2026), viewed 13 November 2026. https://www.sec.gov/rules-regulations/staff-guidance/trading-markets-frequently-asked-questions/frequently-asked-questions-rule-605-regulation-nms
  12. Conrad and Wahal. The term structure of liquidity provision. Journal of Financial Economics 136(1), 2020, viewed 13 November 2026. https://ideas.repec.org/a/eee/jfinec/v136y2020i1p239-259.html
  13. MDP 3.0 - Trade Summary. CME Group Client Systems Wiki, 12 May 2026, viewed 13 November 2026. https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457418925/MDP+3.0+-+Trade+Summary
  14. Exchange WebSocket Feed: Channels. Coinbase Developer Documentation, viewed 8 November 2026. https://docs.cdp.coinbase.com/exchange/websocket-feed/channels
  15. Market data. Rillor, viewed 8 November 2026. https://rillor.com/markets/market-data
  16. Corwin and Schultz. A Simple Way to Estimate Bid-Ask Spreads from Daily High and Low Prices. Journal of Finance 67(2), April 2012, viewed 13 November 2026. https://ideas.repec.org/a/bla/jfinan/v67y2012i2p719-760.html
  17. Hagströmer. Bias in the effective bid-ask spread. Journal of Financial Economics 142(1), 2021, viewed 13 November 2026. https://ideas.repec.org/a/eee/jfinec/v142y2021i1p314-337.html
  18. Ellis, Michaely and O'Hara. The Accuracy of Trade Classification Rules: Evidence from Nasdaq. Journal of Financial and Quantitative Analysis 35(4), December 2000, viewed 13 November 2026. https://ideas.repec.org/a/cup/jfinqa/v35y2000i04p529-551_00.html
  19. Hasbrouck. Trading Costs and Returns for U.S. Equities: Estimating Effective Costs from Daily Data. Journal of Finance 64(3), June 2009, viewed 13 November 2026. https://ideas.repec.org/a/bla/jfinan/v64y2009i3p1445-1477.html

Notices

Rillor is not a registered investment adviser or commodity trading advisor and does not provide investment or trading advice. Research, forecasts, data and software described on this site are for research and engineering use. Nothing here is an offer or recommendation to buy or sell any security, commodity interest or digital asset. Past or simulated results do not indicate future results.

Tell us the instruments and history you need.

Send the instruments, the history window, the delivery format and the intended use.

Request market data