class_docstr: This class is responsible for scanning over historical data and analyzing returns before
  and after the events.
  
  :param predicate: A :class:`Predicate` subclass responsible for identifying events.
  :type predicate: :class:`Predicate`.
  :param lookBack: The number of bars before the event to analyze. Must be > 0.
  :type lookBack: int.
  :param lookForward: The number of bars after the event to analyze. Must be > 0.
  :type lookForward: int.
code: def __addCurrentReturns(self, instrument):
      nextTs = []
      for event, t in self.__futureRets[instrument]:
          event.setValue(t, self.__rets[instrument][-1])
          if t < event.getLookForward():
              t += 1
              nextTs.append((event, t))
      self.__futureRets[instrument] = nextTs
  
imports: import numpy
  import matplotlib.pyplot
  from six.moves import xrange
  from pyalgotrade.technical import roc
  from pyalgotrade import dispatcher
label_desc: Use image node_id 3 for calling the Profiler obj's underlying member method code with example usage: obj.__addCurrentReturns(instrument) without return types