Hello,

If you look at the backtest (just look at the main.py file, ignore the others since they are irrelevant), we can see that the CandleStick chart only plots partially, while the rest of the charts plot completely. The cause of this is likely caused by the block on line 57. I was forced to add a 'if data[self.equity_str] is not None:'  when creating the candstick plots since I sometimes would get hit with an error halfway through my backtest:

'NoneType' object has no attribute 'Open'

I was not able to attach that backtest, which is why I'm attaching this one as reference. Is this a bug? Or am I doing something wrong when building the candlestick chart?

 

Thanks in advance for the help!

 

Author