Two operators, opposite calls
Operator A sees a short-lived signal in a liquid share and sends a marketable order. Operator B sees the same signal and posts a limit order at the bid. A pays to enter promptly. B may save the spread, but may not get filled, or may get filled just before the price falls.
Neither call is automatically better. The right choice depends on how quickly the signal decays, the size of the order and the cost of being wrong or late.
For a $100,000 position in a liquid US share, a 2 basis point full spread is about $20 each way across a round trip. Add $0.005 per share per side on 2,000 shares, and commission adds another $20 round trip. A further 0.5 basis points of adverse slippage on each order adds about $10.
The total is roughly $50, or 5 basis points, before any larger market impact. A strategy expecting 3 basis points has a cost problem before its first fill.
Put every cost on one scale
Use basis points of traded notional to compare instruments, then retain the underlying units for checks. One basis point is 0.01 per cent. At $100,000, one basis point is $10. Track entry and exit separately: spreads can widen, commissions can differ by venue, and exits often happen under different market conditions.
The table gives typical market ranges for small orders in liquid conditions. Figures vary by broker, venue, order size and time of day. Slippage here means adverse movement beyond the executable quote available when the order reached the venue. It does not include the quoted spread.
| Market | Typical quoted spread | Typical commission | Typical residual slippage per market order |
|---|---|---|---|
| Liquid US shares | 1-3 bps full spread | $0-$0.005 per share, per side | 0.2-2 bps |
| ES index futures | 0.25-0.50 index points | $0.50-$2.50 per contract, per side | 0-1 tick in quiet, liquid periods |
| Major FX pairs | 0.1-1.0 pips full spread | $3-$7 per $100,000, per side | 0.1-1.0 pips |
For a marketable round trip, a stable full spread is a rough estimate of the spread cost across entry and exit. Add both commissions and residual slippage. If slippage is instead measured from the arrival midpoint, it already includes the spread paid at execution. Do not add the spread again. Record the benchmark definition alongside every cost field.
- Convert per-share, per-contract and per-lot charges using the actual filled quantity.
- Include exchange, clearing, regulatory and financing charges where they apply.
- Keep currency conversion explicit. A fee in a different account currency changes the realised total.
- Separate scheduled costs from estimates such as slippage and market impact.
Spread is a choice, not a fixed fee
A market order usually crosses the spread to gain immediacy. A passive limit order avoids crossing on a fill, but its expected cost is not zero. It can sit unfilled while the signal decays, miss the trade entirely, or fill when the market is moving against it. The last effect is adverse selection. A backtest that credits every limit order with a fill at the touch will usually overstate performance.
Set the order policy around measurable trade-offs. Estimate how much expected alpha remains after 100 milliseconds, one second or five seconds, where those intervals fit the venue.
Compare that decay with the likely saving from waiting. A marketable limit with a price cap can bound the worst acceptable price while still permitting an immediate fill. A passive order can be cancelled when its signal expires, rather than remaining live after the reason for placing it has gone.
Track fill probability and post-fill markouts as well as average spread paid. A one-second and one-minute markout can show whether passive fills are systematically followed by adverse price moves.
Segment results by instrument, session, order type and volatility. A single average across quiet and volatile periods can hide a costly tail.
Commission is easy; slippage is not
Commission is usually deterministic once the broker schedule and filled quantity are known. Slippage is conditional.
It can rise with volatility, queue position, latency, order size and competing flow. A quote seen by the agent may no longer be available when the order arrives. A partial fill may leave the remaining quantity exposed to a different price and a different market.
Measure implementation shortfall from a timestamped decision price. Store the decision time, arrival time, arrival bid and offer, order type, limit price, fills, fees, cancellations and final position. This lets the team separate the decision to trade from the quality of execution. Compare the fill price with both the arrival midpoint and the executable side of the book, but do not combine measures that count the spread twice.
For size, compare the order with displayed depth and typical traded volume. An order that is 1 per cent of a minute's volume may be cheap in a deep market and expensive in a thin one.
Participation caps, smaller child orders and a longer execution window can reduce impact, but increase exposure to price movement and missed signals. Test several schedules against the strategy's actual urgency, not just the lowest historical average cost.
Put costs in the agent loop
Cost estimates should affect decisions before an order is sent. Pass expected spread, commission and slippage into the expected-value calculation, with a conservative allowance for impact. If expected edge is 4 basis points and estimated round-trip cost is 3, the remaining margin is thin. A cost estimate that uses a calm-market average during a volatile open is not a safe estimate.
Give the agent a cost model that can be updated from fills, with safeguards against noisy observations. Keep a rolling median and a higher percentile, such as the 90th, by instrument and order type.
Use the higher estimate for risk checks or unfamiliar conditions. Pause or reduce size when live costs exceed the model by a defined amount over a defined sample, rather than reacting to one bad fill.
Paper tests should reproduce order types, partial fills, fees, quote changes and rejected or expired orders. They cannot guarantee live slippage, but they can expose logic that assumes a fill at the displayed price. Agentic paper trading starts at $9.99 a month and can be used to exercise order logic before live capital is involved.
Checklist before live sizing
- Define the benchmark. Choose arrival midpoint or executable quote, record its timestamp, and document whether spread is included.
- Calculate both sides. Estimate entry and exit spread, commission and residual slippage. Convert every charge to the traded notional.
- Test order behaviour. Include partial fills, expiry, cancellation, rejection and price movement between signal and arrival.
- Segment the evidence. Review costs by instrument, session, order type, size and volatility. Do not let a liquid-hour average stand in for every condition.
- Set a stop condition. Define a cost ceiling, sample window and action, such as reducing size, switching order type or pausing trading.
- Reconcile actual fills. Compare broker statements and execution records with the agent's cost ledger. Investigate missing fees and differences in quantity or currency.
The mistake most readers will still make is treating the quoted spread as the cost of execution.
Frequently Asked Questions
How do I calculate execution costs for a trading agent?
Convert spread, commissions and adverse slippage to the same unit, usually basis points of traded notional. Add round-trip costs only when each component is defined consistently and the spread is not already included in the slippage measure.
Is slippage separate from the bid-ask spread?
It depends on the benchmark. Slippage measured beyond the executable quote can be added to spread cost. Implementation shortfall measured from the arrival midpoint usually includes the spread, so adding both would count it twice.
Are limit orders cheaper than market orders?
They can avoid paying the spread on a fill, but they may not fill or may fill under adverse conditions. Compare fill probability, post-fill markouts and missed-trade cost, not just the quoted price.
How often should an agent update its slippage estimate?
Update it from recorded fills, but avoid reacting to single trades. Rolling estimates segmented by instrument, order type and market conditions can show changes while reducing noise.
What execution costs should a paper trading test include?
Model commissions, spread, partial fills, order expiry and rejected orders. Add a slippage assumption that changes with liquidity or volatility, and treat the resulting estimate as a test input rather than a guarantee of live execution.