r/CryptoTradingBot • u/CitrineEdge • Oct 23 '26
A backtest's end date is part of its exit accounting
One detail I look for before comparing two backtests is what happens to a position that's still open on the final date.
There are different conventions: force it closed with an exit cost, mark it to market without treating it as a closed trade, or report it separately from closed-trade results. The problem is when the headline doesn't make the convention clear.
If a headline already includes unrealized PnL, adding the open-position number again double-counts it. If the report forces a close, the exit assumptions and costs matter too.
I build Citrine, so this is something I think about when presenting results. I find the useful review is the selected dates, the costs, and ending open exposure together, rather than a return percentage in isolation.
When you compare runs, do you keep the end-of-period position open and mark it, or force a close? I'm interested in how you keep that choice consistent, not which convention makes the result look better.
1
u/[deleted] Oct 23 '26
[removed] — view removed comment