Hey community! 

I have a very simple question for you! I am just trying to make the data split adjusted for all tickers in the ticker list. 

 

Does anyone know why the following code does not work? 

self.symbolData = {}

self.ticker_list = ['AAPL', 'USO']

for ticker in self.ticker_list:

   symbol = self.AddEquity(ticker).Symbol

   self.symbolData[symbol] = SymbolData(self, symbol)

for symbol, data in self.symbolData.items():

   data.symbol.SetDataNormalizationMode(DataNormalizationMode.SplitAdjusted)

 

And then the error I get is:

'Symbol' object has no attribute 'SetDataNormalizationMode'

 

Thank you for taking to the time to read this! Let me know what you guys think is going on!

Best, 

Jesse

 

Author