Plot Backtesting Results in Multiple Graphs
How can I plot broker.value in one graph object while rest backtesting results in a separate graph object? Plotting everything together in one graph makes the details very small to see.
It's not a built-in functionality. You could try something like this (never tried)
plotinfo.plot = Falsefor all data feeds (easy and quick in a
- use then
cerebro.plot()which won't plot neither the data feeds nor the associated indicators
There should be no problem in invoking
cerebro.plot()multiple times, so you can do it once with the data feeds plotted and once without.
Thank you very much. Just to check, where should I use the plotinfo.plot = False? In the "def init(self):" inside the Strategy Class?