Looking to consolidate a month of "daily trade bars" into a monthly trade bar.  Would the following idea work:

self.Consolidate(symbol, CalendarType.Monthly, self.OnDataConsolidated)

def OnDataConsolidated(self, bar):

    self.currentBar = bar

Any suggestions would be appreciated.  

 

Mike