When not using the Algorithm Framework in LEAN locally, just doing self.AddData(CustomTradeBar,ticker,resolution) just works fine and you can access data within self.OnData() etc. However when using the Algorithm Framework, it doesn't seem to work with the below code:

class TrialStrat(QCAlgorithm):
    def Initialize(self):
    	...
    	self.tickers = [BTCUSDT,ETHUSDT]
    	symbols = [self.AddData(type=CustomTradeBar, ticker=ticker, resolution=Resolution.Minute).Symbol for ticker in self.tickers]
    	self.SetUniverseSelection(ManualUniverseSelectionModel(symbols))
    	self.SetAlpha(..)
    	self.SetPortfolioConstruction(..)
    	self.SetExecution()   	

I couldn't find what the issue was since the same CustomTradeBar class works perfectly when used in a non-Framework QCAlgorithm instance. 

What is the recommended way of adding Custom local data to the Algorithm Framework?