To plot each equity in a separate window, you need to loop through the strategies after running cerebro and call plot on each one individually:
strats = cerebro.run()
for i, strat in enumerate(strats):
cerebro.plot(stratname=datalist[i][1], figsize=(15,8))
This will plot each strategy in a separate figure, with the name of the equity as the title.
The key points:
cerebro.run() returns a list of strategy instances
You can loop through this list and access each strategy
Call cerebro.plot() and pass the stratname to use as the plot title
Adjust the figsize as needed to control the size of each plot
So this will give you a separate plot for each equity in your basket, rather than packing them all into one figure or splitting by time period.
Let me know if that helps or if you have any other questions here: [https://www.qedge.co/](link url) or search "qedge"