code: def __buildBar(self, openPrice, highPrice, lowPrice, closePrice):
      dateTime = datetime.datetime.now() + datetime.timedelta(
          seconds=self.__currSeconds
      )
      self.__currSeconds += 1
      return bar.BasicBar(
          dateTime,
          openPrice,
          highPrice,
          lowPrice,
          closePrice,
          closePrice * 10,
          closePrice,
          bar.Frequency.DAY,
      )
  
file_path: pyalgotrade/testcases/technical_stoch_test.py
imports: import datetime
  from six.moves import xrange
  from .None import common
  from pyalgotrade.technical import stoch
  from pyalgotrade.dataseries import bards
  from pyalgotrade import bar
label_desc: Use image node_id 2 for calling the TestCase obj's underlying member method code with example usage: obj.__buildBar(openPrice, highPrice, lowPrice, closePrice) and returns: bar