def setMaxLen(self, maxLen):
        self.__values.resize(maxLen)
        self.__dateTimes.resize(maxLen)
Sets the maximum number of values to hold and resizes accordingly if necessary.
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/dataseries/__init__.py/SequenceDataSeries.setMaxLen