Why Your Fills Are Worse Than Your Backtest: Spread, Slippage, and How Orders Execute
The chart price is history. What you can deal at is a bid and an ask, and the spread between them is a cost you pay on every round trip. Here is what actually happens to your order after you click submit.