A backtest that leaves a cost out measures an idea, not a strategy. Every backtest here charges the exchange's fee on each fill, funding at each settlement, a chance of slipping a tick against the order, and a delay between deciding and reaching the exchange.
The delay is the cost most often left out. A backtest that fills at the very bar that produced its signal trades at a price no exchange would have given. The lab fills after the delay, and every backtest run from the dashboard is repeated across a range of delays, so that indifference to latency is measured rather than assumed.
The backtest engine does not charge funding, so our own module does, checked against real Binance settlements. The chart shows why it cannot be left out: the rate changes size and sign from one settlement to the next.
- Maker fee per fill, Binance USDT-M base tier
- 0.02%
- Taker fee per fill, Binance USDT-M base tier
- 0.05%
- Funding settles every
- 8 h
- Delay before an order reaches the exchange
- 100 ms
- Chance a fill slips one tick
- 10%