Slippage Model
- Category
- Algorithmic Trading
- Level
- Professional
Simple definition
The assumption a backtest makes about how much worse than the quoted price your fills will be. Get it wrong and the result is wrong, however careful the rest of the test was.
Professional definition
The cost function a simulation applies to each simulated fill. The simplest is a constant number of basis points, defensible only for orders small enough to clear at the top of the book. Any size that walks the book needs a function of quantity and available depth.
Technical definition
A constant-basis-point assumption makes cost linear in size; walking a real book makes it convex, because each successive level is worse than the last. Theory offers a linear price-impact coefficient in the Kyle sense, estimated by regressing price change on signed order flow; practice often uses concave functions of participation rate, which have no single standard calibration. A model that never consults depth cannot tell a size the book absorbs from a size that empties it.
Academic definition
The component of a historical simulation mapping order quantity, prevailing depth and urgency onto a price concession, and therefore determining whether reported net returns were attainable.
Mechanism
Depth is finite and priced in steps. A buy consumes the cheapest offers first, so the marginal price rises as the order grows and the average fill is worse than the top of the book. Below the first level's size nothing of this is visible, which is exactly why a constant-basis-point model survives small-size testing and then collapses when the same rule is funded properly.
In practice
- Who uses it
- Anyone running a backtest, strategy developers sizing a rule up, and risk functions reviewing whether a reported equity curve is reachable.
- Why it matters
- It is the single assumption most likely to turn a profitable simulated rule into a losing live one, and the easiest to set too optimistically.
- Limitations
- Any calibration is venue-specific and regime-specific. Depth in a calm market is not the depth that exists during the move the rule trades.
Common mistakes
- Using one basis point of slippage for every size on every pair.
- Modelling cost without reference to order-book depth.
- Calibrating on calm data and trading the same model through a shock.
Examples
A 50-unit buy against a book of 10 at 100.00, 15 at 100.05 and 25 at 100.12 averages 100.075 — a 7.5 basis point cost. A one-basis-point constant model would have understated it by 6.5.
- buy 50 units, market order
- book: 10 at 100.00, 15 at 100.05, 25 at 100.12
- reference price = best offer 100.00
- 10 x 100.00 = 1000.00
- 15 x 100.05 = 1500.75
- 25 x 100.12 = 2503.00
- total 5003.75 / 50 = 100.075
- (100.075 - 100.00) / 100.00 x 10000 = 7.5
Convexity is the point: doubling the size here more than doubles the cost, because the next levels are worse.
A rule trading an illiquid altcoin shows a strong simulated curve at one basis point of assumed cost. Repriced against the recorded book at live size, most of the trades were never fillable at the prices the test used.
Mathematical foundation
Variables
| k | Assumed slippage in basis points, independent of size | bps |
| q | Order quantity | base units |
| P | Reference price, usually the best quote on the relevant side | quote currency |
| \lambda | Linear price-impact coefficient: price change per unit of signed order flow | price per unit quantity |
| q_{signed} | Signed order flow: positive for buys, negative for sells | base units |
Procedure
Decide first whether the intended size clears inside the top level. If it does, a constant-basis-point charge calibrated to the typical spread is adequate. If it does not, reprice each simulated order by walking the recorded book, or estimate a linear impact coefficient by regressing interval price changes on signed volume and charge the resulting concession. Report which model was used and the size at which it was calibrated.
Worked example
- buy 50 units
- book levels: 10 at 100.00, 15 at 100.05, 25 at 100.12
- k = 1 bp alternative model, P = 100.00
- book-walk average fill = 5003.75 / 50 = 100.075, cost 7.5 bps
- constant model cost = 1 bp = 0.01 on 100.00
- understatement = 6.5 bps
Interpretation
The output is the price concession charged to each simulated trade. It converts a gross signal into a net return, and it is the term that decides whether a high-frequency rule has an edge at all.
Assumptions
- The constant-basis-point form (a) is valid only while order size does not exceed the depth available at the touch; beyond that it understates cost, and the understatement grows with size.
- Kyle's linear form (b) comes from a model of informed trading and is an approximation of the empirical impact curve; concave forms in participation rate are widely used in practice and have no single standard calibration, so competing specifications exist.
- Both forms ignore the temporary-versus-permanent split of impact and any refill of depth between child orders.
- No model calibrated on historical depth can capture the depth withdrawal that occurs precisely during a shock.
- Simulating a limit-order strategy needs a fill model as well as a cost model: whether the queue reached your order is not a price question.
Related terminology
- related
- Slippage Market Depth Execution Quality Transaction Cost Analysis Backtesting Order Book Liquidity Partial Fill High-Frequency Trading
Slippage
Slippage is the realised difference between expected and achieved price. A slippage model is the assumption used to predict it inside a simulation; one is a measurement, the other is a guess that must be justified.
Sources
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
