def __init__(self, marketevent): super(Indicator, self).__init__(marketevent) self.SMA = self.SimpleMovingAverage # shortcut