code: def __gappedDown(self, instrument, bards):
      ret = False
      if self.__stdDev[instrument][-1] is not None:
          prevBar = bards[-2]
          currBar = bards[-1]
          low2OpenRet = (
              currBar.getOpen(True) - prevBar.getLow(True)
          ) / float(prevBar.getLow(True))
          if low2OpenRet < (
              self.__returns[instrument][-1]
              - self.__stdDev[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 2 for calling the BuyOnGap obj's underlying member method code with example usage: obj.__gappedDown(instrument, bards) and returns: ret