Renko Trading Costs and Break-even
Recalculate one BTC trade from bid and ask, including slippage and fees on both sides.
One BTC example, from quotes to net P&L
The following calculation uses synthetic quotes and one BTC. Entry bid/ask is 59,998/60,002 USD and exit bid/ask is 60,068/60,072 USD. Each signal precedes its execution quote. The midpoint rises by 70 USD.
| Step | Result |
|---|---|
| Buy at ask with adverse slippage | 60,002 × 1.0002 = 60,014.0004 USD |
| Sell at bid with adverse slippage | 60,068 × 0.9998 = 60,055.9864 USD |
| Difference between simulated fills | 41.9860 USD |
| Fees on entry and exit value | 60.0349934 USD |
| Net per unit | −18.0489934 USD |
Bid and ask fills already incorporate the spread. An additional flat spread charge would count it twice in this model. Execution uses the next observed quote and fixed percentage slippage. Actual fillability for a given order size depends on available liquidity.
Which exit bid covers costs?
Let E be the entry fill including slippage, f the fee rate per side and s the sell-side slippage rate. For an exit bid B, net P&L is B × (1 − s) × (1 − f) − E × (1 + f). Setting it to zero gives a break-even bid of 60,086.0616 USD in the example. With a 0.01 USD tick size, the observed bid must reach at least 60,086.07 USD.
Audit a backtest trade
Start with one trade at zero fees and zero slippage. Then enable each cost assumption separately and verify the exported rows. Use the quote after the Renko signal so the brick close does not become an execution price. TradingView on fills on synthetic charts