

def setMaxLen(self, maxLen):
    'Sets the maximum number of values to hold and resizes accordingly if necessary.'
    self.__values.resize(maxLen)
    self.__dateTimes.resize(maxLen)

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