I've been trying to add an awesome oscillator into my strategy with the dynamic universe. However, I'm having problems warming up the awesome oscillator manually. Part of my code is as below:

def OnData(self, data):
        self.Debug(f'Today is {self.Time} in OnData')

        if self._changes is None:
            return

        # close positions in removed securities
        for x in self._changes.RemovedSecurities:
            symbol = x.Symbol

        self.Debug(f'AddedSecurities: {len(self._changes.AddedSecurities)}')

        for x in self._changes.AddedSecurities:
            symbol = x.Symbol

            self.AddEquity(symbol, Resolution.Daily)
            if symbol not in self.awesome_osc_indicator:
                self.awesome_osc_indicator[symbol] = self.AO(
                    symbol,
                    5,
                    34,
                    MovingAverageType.Simple,
                    Resolution.Daily
                )
                
                warmUpData = self.History(symbol, 40, Resolution.Daily)
                for bar in warmUpData.loc[symbol, :].itertuples():
                    self.awesome_osc_indicator[symbol].Update(pd.DataFrame(bar))

 

When I ran this code, I'll receive the below error message (the other indicators like MACD can pass the backtest without error):

Runtime Error: Trying to dynamically access a method that does not exist throws a TypeError exception. To prevent the exception, ensure each parameter type matches those required by the 'pandas.core.frame.DataFrame'>) method. Please checkout the API documentation.
  at OnData
    self.awesome_osc_indicator[symbol].Update(pd.DataFrame(bar))
===
   at Python.Runtime.PyObject.Invoke(PyTuple args in main.py:line 161
 TypeError : No method matches given arguments for Update: ()

 

I don't find any relevant documentation regarding this indicator in the indicator document, source code, or any relevant post in the forum. Can anyone enlight me on how to achieve this?