def __init__(self, period=10):
        self.period = period
        self.stream = deque()
        self.sum = 0
        self.accumulator = 0
        self.last_average = 0
Constructor.
dataset/ETHPy150Open flaviogrossi/sockjs-cyclone/sockjs/cyclone/stats.py/MovingAverage.__init__