Contents
Execution costs: what your spread and slippage really cost

The broker's commission is visible in the statement. The spread is not. Slippage is not. The delay between the decision and the order is not either.

In the two previous pieces we counted only the commission: 2 basis points per round trip on SPY and 30 on SBER.ME. Today we add the execution layer — what happens between "I decided" and "the trade opened".

The numbers up front. The gross edge of RSI(2) on SPY is 15.1 basis points per trade. The commission is 2. The price of a trade that did not get filled at the close is 73 per round trip. The difference between two moments of execution inside the same bar is 22.

In other words, the moment of execution matters more to the strategy than the strategy's entire return. We recalculated the same four rules on the same prices as before and added five factors to every trade, which multiply out to its result.

Last time we covered the cost of turnover and the break-even threshold; before that — US profit tax versus brokerage costs. This piece closes the set with the costs you cannot see in the statement, but you pay on every trade.

Four costs, one of them visible

Execution costs are everything you pay on top of the price move itself. There are four of them, and they behave differently.

Cost

What it is

Visible in the broker statement

Computable from daily bars

Commission

What you pay the broker and the exchange per trade

Yes

No — that is your tariff

Spread

Half the difference between the buy price and the sell price of the same size

No

No: estimators built on daily bars do not work — see below

Slippage

The difference between the price you expected and the price you got

No

Indirectly: fill cost and overnight gap

Delay

The time between the signal and the order, which you cannot cancel

No

Yes: the overnight gap

The first conclusion: a strategy counted as "gross edge minus commission" knows nothing about three of the four. Everything below is about measuring those three and what they do to the result.

A spread cannot be measured from daily bars

The standard way to estimate a spread from daily data is the Corwin–Schultz estimator (2012). It takes two consecutive days and computes a special quantity from their highs and lows, which is supposed to show the spread.

We ran it on two data sets. The first is an artificial random walk with no spread at all: the price moves at random and the whole daily range is volatility. The median estimate came out at 171.8 basis points.

The second set is real prices. On SPY the estimator produced 87.3 points, on SBER.ME 196.4 points.

The reason is simple: the estimator cannot tell a spread apart from volatility. It halves the daily move and books the difference as a spread. In a quiet market with a wide daily range it "finds" a spread where no spread exists.

So there is no spread in this article. We do not publish a number we did not measure. In its place there are two quantities that can be computed from daily bars honestly: the fill cost and the price of waiting.

If you want a real spread for your own broker and your own order type, take it from a disclosure rather than from an estimate. In the US, SEC Rule 605 (17 CFR 242.605) requires market centres and covered broker-dealers to publish quarterly execution-quality statistics, and FINRA Rule 5310 obliges a broker to use reasonable diligence to find the best available market for your order. Your broker's own disclosure is the source — not someone else's bars.

Fill cost: what a trade that missed the close costs you

Here is the model. Your order was filled at a random point of the daily range, uniformly distributed. Then the average distance from the close to the fill price is exactly:

E|X − close| = ((close − low)² + (high − close)²) / (2 × (high − low))

The formula is exact. The uniformity assumption is ours, and it is a strong one: it describes a market order sent "somewhere", not a limit order at the edge of the book. A limit order is cheaper, but it may not fill — that is a separate question.

We computed this for every bar of five instruments. The median is a typical day.

Instrument

Period

Median daily range

Median fill cost

Quartile 25–75%

Per round trip

Days with a fill cost below 25 bps

SPY

1996–2026, 7 774 bars

108.8 bps

36.6 bps

22.8–59.1

73.2 bps

29.3%

QQQ

1999–2026, 6 976 bars

144.7 bps

49.4 bps

30.5–82.5

98.7 bps

16.1%

SBER.ME

2011–2022, 2 615 bars

215.2 bps

72.8 bps

48.2–113.6

145.6 bps

2.6%

GAZP.ME

2010–2022, 3 043 bars

195.5 bps

64.7 bps

45.4–97.5

129.3 bps

2.8%

LKOH.ME

2010–2022, 3 043 bars

195.9 bps

64.9 bps

45.3–98.2

129.9 bps

3.4%

This is not a spread. It is the price of a trade happening somewhere other than where you wanted it.

Read the column "per round trip". For SPY it is 73.2 points per trade. For SBER.ME, 145.6. The broker's commission on those markets is 2 and 30 points.

Next comes the part that hurts. There are almost no quiet days on the Russian market: the fill cost is below 25 points in 2.6% of days on SBER.ME against 29.3% on SPY. The intraday volatility of the Moscow Exchange eats the trade on its own.

And it is not an anomaly of one crisis year. The median fill cost by year on SPY ran from 16 points (2017) to 70 (2008). Not one year in thirty was cheap.

The price of waiting: between the signal close and the order

The signal is computed on the close. You cannot trade at that close: you see it only after it is printed. So the order goes out at the next open, and you pay the overnight gap.

The gap is the price change between the close of one day and the open of the next. For a long it is either an ally (if the price fell overnight, you entered cheaper) or an enemy.

Instrument

Median gap

Mean gap

Median absolute gap

Quartile 25–75%

SPY

6.1 bps

4.0 bps

29.2 bps

−23.1 … +34.4

QQQ

7.4 bps

5.6 bps

38.8 bps

−31.5 … +43.8

SBER.ME

9.2 bps

20.5 bps

37.4 bps

−25.8 … +43.8

GAZP.ME

6.6 bps

10.2 bps

31.3 bps

−23.1 … +37.6

LKOH.ME

4.1 bps

12.2 bps

30.7 bps

−25.0 … +37.2

A median gap of 6 to 9 points looks modest. The median absolute gap is 29 points on SPY and 37 on SBER.ME. In half of all cases the night costs you more than 29 points, and which way it goes is not known in advance.

And that is still not the whole price of waiting. The gap is the overnight part only. Inside the bar, after the open, the price moves too, and that is a separate factor.

Five factors in one trade

Any long trade can be broken into five steps from signal to exit. The factors multiply out — the identity is exact to the last sign.

g1 — price of waiting on entry: open of the execution bar / close of the signal bar
g2 — intraday move of the entry bar: close of the execution bar / its open
g3 — holding: close of the exit signal bar / close of the entry bar
g4 — price of waiting on exit: open of the execution bar / close of the exit signal bar
g5 — intraday move of the exit bar: close of the execution bar / its open

close → close: (1+g3)(1+g4)(1+g5) − 1
open → open: (1+g2)(1+g3)(1+g4)
instant at the signal price (not achievable): (1+g1)(1+g2)(1+g3) − 1

The idea is simple: g3 is your strategy. Everything else is a cost or an adjustment for execution.

Rule

Trades

g1 waiting on entry

g1 median

g2 intraday on entry

g3 holding

g4 waiting on exit

g5 intraday on exit

Price of waiting, g1 − g4

RSI(2) < 10 · SPY

397

18.6 bps

15.8 bps

8.9 bps

30.2 bps

−1.5 bps

−13.5 bps

20.1 bps

Bollinger(20, 2) · SPY

144

11.0 bps

19.0 bps

7.7 bps

95.5 bps

6.5 bps

−10.7 bps

4.5 bps

MACD(12, 26, 9) · SPY

331

4.9 bps

4.5 bps

8.5 bps

31.5 bps

6.2 bps

−9.1 bps

−1.3 bps

SMA(50)/SMA(200) · SPY

15

−0.1 bps

−8.9 bps

−15.8 bps

2 073.9 bps

−38.7 bps

−36.4 bps

38.5 bps

RSI(2) < 10 · SBER.ME

155

140.8 bps

14.8 bps

−4.6 bps

55.3 bps

8.4 bps

−49.3 bps

132.4 bps

Bollinger(20, 2) · SBER.ME

46

715.1 bps

13.6 bps

31.0 bps

−63.8 bps

9.3 bps

−104.3 bps

705.8 bps

MACD(12, 26, 9) · SBER.ME

91

−9.7 bps

2.4 bps

−13.7 bps

116.8 bps

82.8 bps

−55.5 bps

−92.6 bps

SMA(50)/SMA(200) · SBER.ME

6

−13.3 bps

−6.5 bps

−13.9 bps

2 664.5 bps

−24.6 bps

−53.3 bps

11.3 bps

Three things to take from the table.

First: a counter-trend rule pays for waiting, a trend rule earns on the gaps. On RSI(2) with SBER.ME, g1 is the entry price after the signal: 14.8 points by median, so in a typical trade you pay for the night that follows the drop. On MACD with SBER.ME, g4 is the exit price after the signal: 21.3 points by median, because a trend rule exits into the bounce and the night works for it. Net of both, the price of waiting on MACD with SBER.ME is negative: −92.6 points, the gaps work for you.

Second: on MOEX the mean is wrecked by outliers. On RSI(2) with SBER.ME the mean g1 is 140.8 points while the median is 14.8. The difference comes from the days after crashes, when the gap runs into hundreds of points. Count the median, or the mean with 10% trimmed from each tail — for RSI(2) on SBER.ME that is 17.8 points.

Third: g5 is negative in all eight journals. From −9.1 points on MACD with SPY to −104.3 on Bollinger with SBER.ME. This is the intraday move of the exit bar. The logic is simple: after the bounce the strategy exits on, the price usually goes down. Selling at the close of the exit bar means selling after the bounce is already over.

Three execution models

Now put it together. Same journal, same rule, three ways to execute.

The "close" model. The order is filled at the close of the bar after the signal. This is exactly what we counted in the two previous pieces.

The "open" model. The order is filled at the open of the bar after the signal. This is the earliest moment you can send an order at all after a decision taken on the close.

The "blind market order" model. The order is filled at a random point of the daily range, priced from the fill-cost model: half the noise if you believe you hit a typical point of the range, full noise if you believe you hit a random one.

Rule

Gross edge

Net: close

Net: open

Net: blind market order, half the noise

Net: blind market order, full noise

RSI(2) < 10 · SPY

15.1 bps

13.1 bps

35.3 bps

−23.5 bps

−60.1 bps

Bollinger(20, 2) · SPY

90.1 bps

88.1 bps

106.9 bps

51.5 bps

14.9 bps

MACD(12, 26, 9) · SPY

29.0 bps

27.0 bps

44.2 bps

−9.6 bps

−46.2 bps

SMA(50)/SMA(200) · SPY

1 999.9 bps

1 997.9 bps

2 012.2 bps

1 961.3 bps

1 924.6 bps

RSI(2) < 10 · SBER.ME

15.7 bps

−14.3 bps

25.1 bps

−87.1 bps

−159.9 bps

Bollinger(20, 2) · SBER.ME

−157.0 bps

−187.0 bps

−61.4 bps

−259.8 bps

−332.6 bps

MACD(12, 26, 9) · SBER.ME

139.2 bps

109.2 bps

149.4 bps

36.4 bps

−36.4 bps

SMA(50)/SMA(200) · SBER.ME

2 528.7 bps

2 498.7 bps

2 573.3 bps

2 425.9 bps

2 353.1 bps

Same strategy, same journal, three different answers. On RSI(2) with SPY: 13.1 points, 35.3 points, or minus 23.5 at half the noise. The spread between the best and the worst scenario is 95.4 points against a gross edge of 15.1.

Not everything survives. RSI(2) on SBER.ME is already loss-making when executed at the close: −14.3 points. MACD on SBER.ME survives the commission but not a blind market order: 36.4 points at half the noise and −36.4 at full noise. Bollinger on SPY is the only one that survives full noise with room to spare: 14.9 points.

We leave the golden cross out of the conclusions: 15 trades in 31 years on SPY and 6 trades in 10.5 years on SBER.ME is not a stream of trades, it is a series of bets. The numbers are in the table for completeness.

The moment of execution changes the strategy

The gap between the two models deserves its own section: close against open. It is not a cost, it is the difference between two ways to execute — and it is larger than the gross edge.

Rule

Gap "open minus close", mean

Standard error

Median

Mean with 10% trimmed from each tail

Mean absolute gap

Trades where the close was worse

RSI(2) < 10 · SPY

22.2 bps

8.2 bps

9.9 bps

16.7 bps

116.7 bps

53.4%

Bollinger(20, 2) · SPY

18.8 bps

15.6 bps

−2.9 bps

3.8 bps

124.5 bps

48.6%

MACD(12, 26, 9) · SPY

17.2 bps

6.7 bps

5.2 bps

13.0 bps

88.6 bps

52.3%

SMA(50)/SMA(200) · SPY

14.3 bps

50.4 bps

23.2 bps

19.3 bps

133.1 bps

66.7%

RSI(2) < 10 · SBER.ME

39.4 bps

45.1 bps

5.9 bps

9.0 bps

242.8 bps

51.0%

Bollinger(20, 2) · SBER.ME

125.6 bps

136.7 bps

22.2 bps

17.2 bps

305.6 bps

52.2%

MACD(12, 26, 9) · SBER.ME

40.2 bps

83.4 bps

4.5 bps

−2.7 bps

279.4 bps

51.6%

SMA(50)/SMA(200) · SBER.ME

74.6 bps

175.9 bps

−71.2 bps

74.6 bps

277.4 bps

50.0%

On RSI(2) with SPY the gap is 22.2 points with a standard error of 8.2. That is more than the entire gross edge of the strategy, 15.1 points. Choosing one moment of execution over another flips the sign of the result.

But three caveats matter more than the number.

First: the mean is inflated by the tails. The median gap on RSI(2) with SPY is 9.9 points, the trimmed mean is 16.7. The difference between two moments of execution is a heavy-tailed quantity, and the median is the honest summary.

Second: in a typical trade the gap is enormous. The mean absolute gap on RSI(2) with SPY is 116.7 points. Two moments of execution inside one bar differ by about 1.2% of the price. This is not a fine adjustment. It is a bet, and it is bigger than your edge.

Third: the rule works, but it works half the time. The close was worse than the open in 53.4% of RSI(2) trades on SPY. In most journals the share stays near 50%. The choice of execution systematically does not change the side of the trade — it changes the size, and the size is comparable with the noise on any single trade.

And the main point. We did not measure a spread. We compared two ways to execute, and both are available. Which one is better depends on your rule, your instrument and the way you trade. It is not a universal recipe — it is a way to ask a question you were not asking before.

Capacity: when position size starts to move the price

The second question that usually comes with the spread: how much money can you put in without moving the price.

We used the Amihud coefficient (2002): how many basis points of price movement come with a million of daily turnover. The turnover is computed at the actual traded price, before the dividend adjustment.

Instrument

Median daily turnover

Amihud, bps per million

Position for 1 bp of impact

Position for 5 bps

Share of daily turnover

SPY

17.48 bn $

0.0036

280.7 mn $

1 403.7 mn $

1.6%

QQQ

4.09 bn $

0.0138

72.7 mn $

363.4 mn $

1.8%

SBER.ME

9.52 bn ₽

0.0110

90.9 mn ₽

454.3 mn ₽

1.0%

GAZP.ME

5.10 bn ₽

0.0173

57.8 mn ₽

288.9 mn ₽

1.1%

LKOH.ME

2.83 bn ₽

0.0293

34.1 mn ₽

170.6 mn ₽

1.2%

The picture is not what most people expect. One basis point of price impact on SPY costs a position of 280.7 mn $. Five points cost 1.4 bn $. A 1 mn $ position produces 0.0036 points of impact — that is zero.

For a retail trader, capacity is not the binding constraint. A 1 mn ₽ position in SBER.ME is 0.01% of the day's turnover and 0.011 points of impact.

The binding constraint for a retail trader is different. It is the price of the trade and the time. "How much can I put in" is a question for algorithms. "At what price do I get in" is a question for you.

Five mistakes in the execution cost calculation

1. Treating execution costs as the commission. The most common and the most expensive. One of the four costs is visible in the statement. On RSI(2) with SPY the commission is 2 points, and the fill cost is 73.2 points per round trip.

2. Publishing a spread computed from daily bars. The Corwin–Schultz estimator produces 171.8 points on data that has no spread. If your calculation puts a 40-point spread into the model, ask first on what it was computed and how it was validated.

3. Assuming the order fills at the price of the signal. It does not happen. You see the close only after it is printed. The price of waiting on entry is 14.8 points by median on SBER.ME with RSI(2) — the toll for deciding later than the price.

4. Averaging on the Russian market. The mean g1 on RSI(2) with SBER.ME is 140.8 points, the median is 14.8. A handful of post-crash days pull the mean up, and in your spreadsheet the strategy will look more expensive than it is.

5. Assuming the constraint is position size. A 1 mn ₽ position produces 0.011 points of impact. Do not model capacity. Model the price of the trade.

How to recompute your own journal: seven steps

Seven steps. The logic is the same as the "Journal" sheet in the attached file.

1. Collect your journal: for every trade — the signal date, the execution date, the execution price and the direction. You need the daily bars of the instrument: open, high, low, close.

2. Break the trade into five factors: g1 — open of the execution bar over close of the signal bar; g2 — close of the execution bar over its open; g3 — close of the exit signal bar over close of the entry bar; g4 — open of the execution bar over close of the exit signal bar; g5 — close of the execution bar over its open.

3. Compute the price of waiting: g1 − g4. That is what a decision taken on the close costs you.

4. Compute the price of choosing a moment: g5 − g2. That is the difference between filling at the close of the bar and filling at its open.

5. Compute the fill cost for your instrument: for every bar take ((close − low)² + (high − close)²) / (2 × (high − low)), divide by the close, and take the median over all bars.

6. Add the commission in basis points per round trip. If you know your position size, add the impact: bps per million times the size in millions.

7. Assemble the net: gross edge minus commission minus the price of waiting minus that share of the fill cost you believe is yours. If the result is positive in the harshest of your scenarios, the strategy lives. If not, you know exactly what to fix.

Excel calculation file

Journal of 1 185 trades across eight rules on two markets, every trade broken into the five factors, three execution models, the fill cost and the overnight gap measured on five instruments, capacity through the Amihud coefficient, and a sensitivity grid over the commission. Every metric is a live formula; commission, execution model, share of the fill cost and position size are cells. Put your own journal in and get your own execution costs.

Download XLSX

Journal of 1 185 trades across eight rules on two markets, every trade broken into the five factors, three execution models, the fill cost and the overnight gap measured on five instruments, capacity through the Amihud coefficient, and a sensitivity grid over the commission. Every metric is a live formula; commission, execution model, share of the fill cost and position size are cells. Put your own journal in and get your own execution costs.

Short conclusion

Execution costs are not one number but four, and the broker statement shows one of them. The spread cannot be measured from daily bars: the Corwin–Schultz estimator returns 171.8 basis points on data with no spread. What can be measured honestly is the fill cost and the price of waiting — and both are multiples of the commission: 73.2 points per round trip on SPY and 145.6 on SBER.ME against 2 and 30. Add the choice of the moment of execution inside the bar: on RSI(2) with SPY that is 22.2 points against a gross edge of 15.1. So a strategy has to be counted not as "gross minus commission" but in three execution models at once — and it has to survive the harshest one.

Written by: Back to top ↑

Comments and reviews 0

Reader perspectives and experience.

No comments yet. You can start the discussion.

Leave a comment or review

Messages are moderated and appear after approval and site publication.

I understand that my name and message will be public. Please do not include private information.