code: def testNestedDataSeries(self):
      ds = bards.BarDataSeries()
      for i in xrange(10):
          ds.append(
              bar.BasicBar(
                  datetime.datetime.now()
                  + datetime.timedelta(seconds=i),
                  2,
                  4,
                  1,
                  3,
                  10,
                  3,
                  bar.Frequency.SECOND,
              )
          )
  
      self.__testGetValue(ds.getOpenDataSeries(), 10, 2)
      self.__testGetValue(ds.getCloseDataSeries(), 10, 3)
      self.__testGetValue(ds.getHighDataSeries(), 10, 4)
      self.__testGetValue(ds.getLowDataSeries(), 10, 1)
      self.__testGetValue(ds.getVolumeDataSeries(), 10, 10)
      self.__testGetValue(ds.getAdjCloseDataSeries(), 10, 3)
      self.__testGetValue(ds.getPriceDataSeries(), 10, 3)
  
imports: import datetime
  from six.moves import xrange
  from .None import common
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
  from pyalgotrade.dataseries import aligned
  from pyalgotrade import bar
label_desc: Use image node_id 5 for calling the TestBarDataSeries obj's underlying member method code with example usage: obj.testNestedDataSeries() without return types