I'm experimenting with plotting a custom indicator in a Jupyter notebook and followed the Custom Indicators example, https://www.quantconnect.com/docs/v2/research-environment/indicators/custom-indicators, verbatim but I receive the following TypeError,

TypeErrorTraceback (most recent call last) <ipython-input-24-8c5d09adce7b> in <module>      1 for time, row in history.iterrows():      2     # The Update method's input must be IBaseData object (Tick, TradeBar, QuoteBar). ----> 3     bar = TradeBar(time, symbol, row.open, row.high, row.low, row.close, row.volume)      4     custom.Update(bar)      5 TypeError: No method matches given arguments for .ctor: (<class 'tuple'>, <class 'QuantConnect.Symbol'>, <class 'numpy.float64'>, <class 'numpy.float64'>, <class 'numpy.float64'>, <class 'numpy.float64'>, <class 'numpy.float64'>)@@

Is the example outdated and/or how do I correct?