Quant research and backtesting
Transaction cost model
Also called TCA model, cost model, execution cost model, slippage model
The part of a backtest that estimates what each trade really costs: fees, half the bid-ask spread, market impact, and the cost of delay between signal and fill.
How it works
Fees and commissions are known. The half-spread is the cost of crossing from mid to the far side. Market impact is the price move caused by your own trading, usually modelled as a function of size relative to volume and of volatility, often with a square-root law. Delay cost is how far the price moves between the decision and the fill. Short-selling adds borrow fees, and borrowed money adds financing costs. Underestimating costs is one of the most common reasons a backtest fails live, and costs also raise data-snooping concerns because marginal strategies are the ones that die after costs.
Worked example
Buy 10,000 shares quoted 49.99 / 50.01. Half-spread = 1 cent = 2 basis points. Fees 0.5 basis points. Impact estimated at 5 basis points. Total about 7.5 basis points, or 10,000 x 50 x 0.00075 = $375 for the trade.
Related terms
Put it to work in a timed game.
Practise with Find the BugSources
Last checked November 2026.