class_docstr: A DataSeries of :class:`pyalgotrade.bar.Bar` instances.
  
  :param maxLen: The maximum number of values to hold.
      Once a bounded length is full, when new items are added, a corresponding number of items are discarded from the
      opposite end. If None then dataseries.DEFAULT_MAX_LEN is used.
  :type maxLen: int.
class_docstr_tok: ["A","DataSeries","of",":","class",":","`","pyalgotrade.bar.Bar","`","instances",".",":","param","maxLen",":","The","maximum","number","of","values","to","hold",".","Once","a","bounded","length","is","full",",","when","new","items","are","added",",","a","corresponding","number","of","items","are","discarded","from","the","opposite","end",".","If","None","then","dataseries.DEFAULT_MAX_LEN","is","used",".",":","type","maxLen",":","int","."]
code: def appendWithDateTime(self, dateTime, bar):
      assert dateTime is not None
      assert bar is not None
      bar.setUseAdjustedValue(self.__useAdjustedValues)
  
      super(BarDataSeries, self).appendWithDateTime(dateTime, bar)
  
      self.__openDS.appendWithDateTime(dateTime, bar.getOpen())
      self.__closeDS.appendWithDateTime(dateTime, bar.getClose())
      self.__highDS.appendWithDateTime(dateTime, bar.getHigh())
      self.__lowDS.appendWithDateTime(dateTime, bar.getLow())
      self.__volumeDS.appendWithDateTime(dateTime, bar.getVolume())
      self.__adjCloseDS.appendWithDateTime(dateTime, bar.getAdjClose())
  
      # Process extra columns.
      for name, value in six.iteritems(bar.getExtraColumns()):
          extraDS = self.__getOrCreateExtraDS(name)
          extraDS.appendWithDateTime(dateTime, value)
  
file_path: pyalgotrade/pyalgotrade/dataseries/bards.py
imports: from pyalgotrade import dataseries
  import six
label_desc: Use image node_id 5 for calling the BarDataSeries obj's underlying member method code with example usage: obj.appendWithDateTime(dateTime, bar) without return types