Hi,

I am getting an error in my program for my different EMAs

any help would be greatly appreciated.

I know I am supposed to use a consolidator to get around the error like:

self.shortTimeFrameConsolidator = TradeBarConsolidator(timedelta(minutes=60))

however I am not sure how to implement it in my code base. Do I have to put in some sort of def for the shortTimeFrameConsolidator function? putting this straight into the initialize section doesn't seem to do anything.

199976_1654876851.jpglog book