code: def __init__(self):
      super(CumRetEventWindow, self).__init__(2)
      self.__prevCumRet = 0
  
file_path: pyalgotrade/pyalgotrade/technical/cumret.py
imports: from pyalgotrade import technical
label_desc: Use image node_id 1 to create a new CumRetEventWindow object from inherited base classes: technical with example: obj = CumRetEventWindow()