After cerebro.run(), cerebro.broker.getvalue() gives the final value. Return = (final value − starting capital) / starting capital.
That figure says nothing about the path taken. The maximum drawdown, the largest fall from a peak, shows the pain you would have had to endure along the way.
Analyzers compute these statistics: cerebro.addanalyzer(bt.analyzers.DrawDown, _name='dd') before run(), then strat.analyzers.dd.get_analysis() afterwards.
Always compare with a benchmark: if the market made +40% and your strategy +15%, buying and holding would have done better over that period.
Examples
BILAN-X (fictional market) : The purple line sums up the market trend. If your strategy earns less than that simple slope over the same period, buying and holding would have been simpler and more effective.
The Nasdaq from 2000 to 2002 : The Nasdaq Composite peaked around 5,048 points on 10 March 2000, then fell to around 1,114 points in October 2002: a drawdown of about 78%. It took some fifteen years to rise above that peak.
Key terms
Return
Gain or loss as a percentage of starting capital
Drawdown
Fall in capital from its last peak
Analyzer
Module that computes statistics on the backtest
Buy and hold
Buying at the start and holding to the end, as a benchmark