Suppose the last trade was 20, the best bid is 19.90 and the best ask is 20.10. A buyer of 100 shares may expect all 100 at the ask. The quote also has a size: if only 40 are offered there, a larger order can reach a more expensive level. The last trade may have occurred minutes earlier.
| Ask | Available shares | Used in a 100-share buy |
|---|---|---|
| 20.10 | 40 | 40 |
| 20.20 | 100 | 60 |
| 20.35 | 200 | 0 |
The average fill is (40 × 20.10 + 60 × 20.20)/100 = 20.16. The difference from the displayed best ask is 0.06 per share, or 6 in total. The quoted spread is 20.10 − 19.90 = 0.20. One comparison reflects depth used by this order, the other the gap between the best bid and ask. Quotes may also change in transit.
The two fills cost 804 and 1,212, for a total of 2,016 over 100 executed shares. If the second fill never occurs, the denominator becomes 40. Including requested but unexecuted shares in the denominator would understate the basis of the stock actually received.
A price limit leaves quantity uncertain
A buy limit for 100 at 20.10 could initially fill 40 and leave 60 waiting or expiring under its time-in-force instructions. The SEC explains how market orders seek execution at available prices while buy limits constrain fills to the limit or better. Track both the price constraint and the shares still unfilled.
SEC investor education, types of orders
In extended sessions, venues may show different quotes, fewer participants may be active, spreads can widen and brokers may restrict order types. Change the first level to ten shares and leave enough at 20.20. The same 100-share buy averages 20.19. A market being open and the quantity executable at a displayed price are separate operational questions.
SEC investor bulletin on extended-hours trading · Further reading · Michael Burry, Trading Post & Short Thoughts to the Max, August 18, 19, 20, 2026