Why does backtrader print two charts?
Hey guys, new to backtrader (looks awesome btw). I'm trying to get the daily chart of my one minute data but for some reason it prints two charts and I only want one? Any ideas why that is and how to fix? I have attached a picture and my code below. Cheers.
import backtrader as bt import pandas cerebro = bt.Cerebro(optdatas=True, optreturn=True) # 1 minute data df = pandas.read_parquet('DIESELCMDUSD') data = bt.feeds.PandasData(dataname=df) cerebro.resampledata(data, timeframe=bt.TimeFrame.Days) cerebro.adddata(data) cerebro.run() cerebro.plot(style='candle', volume=False)