code: def onBars(self, bars):
      bar = bars[self.__instrument]
      self.info(
          "%s %s" % (bar.getClose(), safe_round(self.__sma[-1], 2))
      )
  
imports: from pyalgotrade import strategy
  from pyalgotrade.barfeed import quandlfeed
  from pyalgotrade.technical import ma
label_desc: Use image node_id 2 for calling the MyStrategy obj's underlying member method code with example usage: obj.onBars(bars) without return types