backtrader2 / backtrader

Python Backtesting library for trading strategies
https://www.backtrader.com
GNU General Public License v3.0
238 stars 54 forks source link

Set title for plot #37

Open alatif-alatif opened 4 years ago

alatif-alatif commented 4 years ago

Hi,

I am missing one functionality.

This would be to be able to set a title for the matplotlib.

E.g., if I generate the plot via:

cerebro.plot(volume=False, stdstats=False)

it would be nice, if I could set the title of the plot via:

cerebro.plot(volume=False, stdstats=False, title='test')

Thanks in advance!