def setValue(self, t, value):
        if value is None:
            raise Exception("Invalid value at time %d" % (t))
        pos = self.__mapPos(t)
        self.__values[pos].append(value)
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/eventprofiler.py/Results.setValue/original