Skip to main content
aifinhub
Market Microstructure Explainer

Bid-Ask Spread

Quoted spread = ask − bid. Effective spread = 2 × |trade_price − midpoint| at the moment of the trade — captures price-improvement and sub-penny execution. Realized spread = 2 × |trade_price − midpoint_T_after| measures the spread net of post-trade midpoint drift, which estimates the market-maker's actual revenue. The three differ by a lot, especially in fast markets.

By Orbyd Editorial · AI Fin Hub Team

On This Page

Definition

Bid-ask spread

Quoted spread = ask − bid. Effective spread = 2 × |trade_price − midpoint| at the moment of the trade — captures price-improvement and sub-penny execution. Realized spread = 2 × |trade_price − midpoint_T_after| measures the spread net of post-trade midpoint drift, which estimates the market-maker's actual revenue. The three differ by a lot, especially in fast markets.

Why it matters

Quoted spread is what your screen shows; effective spread is what you actually pay; realized spread is what the liquidity provider actually earns. Backtests that use the quoted spread overstate profitability for liquid, fast venues (where price improvement is common) and understate it for illiquid ones (where the displayed touch is rarely actually executable in size).

How it works

Sample the order book at trade time. Compute quoted, effective, and realized spread for each trade. Aggregate by venue, time-of-day, and trade size. Use realized spread as the cost input for any strategy whose holding period is long relative to the spread-decay window — for shorter holding periods, effective spread is the relevant cost.

Example

AAPL 100-share buy at 9:35am

Bid

$192.10

Ask

$192.12

Quoted spread

$0.02

Trade price

$192.115

Midpoint

$192.11

Effective spread

$0.01

Quoted touch is 2 cents; effective spread paid is 1 cent due to mid-quote price improvement. Backtests that subtract 2 cents per round-trip overstate cost by 50% on this venue.

Key Takeaways

1

Quoted spread is a worst-case cost; effective spread is closer to the actual cost.

2

Realized spread tells you what the liquidity provider keeps after adverse selection.

3

Spread is highly time-of-day dependent — open and close have wider spreads than mid-session.

Try These Tools

Run the numbers next

FAQ

Questions people ask next

The short answers readers usually want after the first pass.

Because midpoint moves after the trade. If the midpoint moves toward the trade direction, the market-maker is on the wrong side of an informed trade — adverse selection — and earns less than the effective spread. Realized spread captures this.

Sources & References

Related Content

Keep the topic connected

Planning estimates only — not financial, tax, or investment advice.