

def __init__(self, maxLen=None):
    super(SequenceDataSeries, self).__init__()
    maxLen = get_checked_max_len(maxLen)
    self.__newValueEvent = observer.Event()
    self.__values = collections.ListDeque(maxLen)
    self.__dateTimes = collections.ListDeque(maxLen)

dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/dataseries/__init__.py SequenceDataSeries.__init__/original