code: def __aboveSMA(self, instrument, bards):
      ret = False
      if (
          self.__ma[instrument][-1] is not None
          and bards[-1].getOpen(True) > self.__ma[instrument][-1]
      ):
          ret = True
      return ret
  
file_path: pyalgotrade/samples/eventstudy.py
imports: from __future__ import print_function
  from pyalgotrade import eventprofiler
  from pyalgotrade.technical import stats
  from pyalgotrade.technical import roc
  from pyalgotrade.technical import ma
  from pyalgotrade.tools import quandl
label_desc: Use image node_id 3 for calling the BuyOnGap obj's underlying member method code with example usage: obj.__aboveSMA(instrument, bards) and returns: ret