class_docstr: A group of :class:`Bar` objects.
  
  :param barDict: A map of instrument to :class:`Bar` objects.
  :type barDict: map.
  
  .. note::
      All bars must have the same datetime.
class_docstr_tok: ["A","group","of",":","class",":","`","Bar","`","objects",".",":","param","barDict",":","A","map","of","instrument","to",":","class",":","`","Bar","`","objects",".",":","type","barDict",":","map",".","..","note",":",":","All","bars","must","have","the","same","datetime","."]
docstr: Returns the :class:`pyalgotrade.bar.Bar` for the given instrument.
  If the instrument is not found an exception is raised.
docstr_tok: ["Returns","the",":","class",":","`","pyalgotrade.bar.Bar","`","for","the","given","instrument",".","If","the","instrument","is","not","found","an","exception","is","raised","."]
code: def __getitem__(self, instrument):
      """Returns the :class:`pyalgotrade.bar.Bar` for the given instrument.
      If the instrument is not found an exception is raised."""
      return self.__barDict[instrument]
  
imports: import abc
  import six
label_desc: Use image node_id 2 for calling the Bars obj's underlying member method code with example usage: obj.__getitem__(instrument) and returns: self