parameters: (self, instrument)
return_statement: return self.__barDict[instrument]
docstring: Returns the :class:`pyalgotrade.bar.Bar` for the given instrument.
          If the instrument is not found an exception is raised.
docstring_summary: Returns the :class:`pyalgotrade.bar.Bar` for the given instrument.
          If the instrument is not found an exception is raised.
docstring_tokens: Returns the : class : pyalgotrade . bar . Bar for the given instrument . If the instrument is not found an exception is raised .
function: 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]
function_tokens: def __getitem__ ( self , instrument ) : return self . __barDict [ instrument ]