cost model
A function that takes a trade’s context (entry time, hold length, exit type, size) and returns the total friction it paid — spread by session, commission, swap with triple-Wednesday, and a slippage haircut. Running a trade log through it converts gross results into net ones and plugs directly into a backtester.
First used in Lesson 1.5 · Build the cost model — the lesson that makes this term real.