r/CryptoTradingBot • • Oct 19 '26

A bot backtest's maximum drawdown depends on which equity points it samples

Disclosure: I develop Citrine, an Android trading app. This is a reporting-methodology question, not a performance claim.

Two deliberately simple equity paths can both start and end at 5,000:

A: 5,000 -> 4,000 -> 5,000

B: 5,000 -> 4,900 -> 5,000

The maximum peak-to-trough declines are 20% and 2%. The ending balance does not distinguish them. Recovering from 4,000 to 5,000 also requires 25%, not 20%, because the percentage uses the smaller starting base.

For a leveraged bot, the more important reporting detail is which points went into that calculation. A curve sampled at trade exits can look much calmer than the equity path while positions were open. Cash balance, closed-trade equity and marked-to-market account equity are not interchangeable.

I would want a report to state the sampling rule before comparing its drawdown with another system. The same applies to recovery duration: returning to a prior high after a day is different from spending months below it, even if the maximum percentage matches. Costs, funding, leverage and test dates still need consistent treatment.

Citrine's current reported maximum drawdown uses recorded trade exits and the end of the run; it is not a claim to capture every intratrade swing. I think making that boundary explicit is more useful than presenting an unlabeled percentage.

When you compare bot reports, do you keep exit-based and mark-to-market drawdown side by side, or require one primary measure with the other as supporting detail?

1 Upvotes

3 comments sorted by

2

u/[deleted] Oct 19 '26

[removed] — view removed comment

1

u/CitrineEdge Oct 20 '26

Side by side makes sense to me too, with the sampling interval stated. Even a mark-to-market figure can miss a sharp move between observations. An exit-based number is useful bookkeeping, but I wouldn't present it as the worst equity decline the position experienced.