class_docstr: A :class:`pyalgotrade.barfeed.csvfeed.BarFeed` that loads bars from CSV files downloaded from Google Finance.
  
  :param frequency: The frequency of the bars. Only **pyalgotrade.bar.Frequency.DAY** is currently supported.
  :param timezone: The default timezone to use to localize bars. Check :mod:`pyalgotrade.marketsession`.
  :type timezone: A pytz timezone.
  :param maxLen: The maximum number of values that the :class:`pyalgotrade.dataseries.bards.BarDataSeries` will 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.
  
  .. note::
      Google Finance csv files lack timezone information.
      When working with multiple instruments:
  
          * If all the instruments loaded are in the same timezone, then the timezone parameter may not be specified.
          * If any of the instruments loaded are in different timezones, then the timezone parameter must be set.
class_docstr_tok: ["A",":","class",":","`","pyalgotrade.barfeed.csvfeed.BarFeed","`","that","loads","bars","from","CSV","files","downloaded","from","Google","Finance",".",":","param","frequency",":","The","frequency","of","the","bars",".","Only","*","*","pyalgotrade.bar.Frequency.DAY","*","*","is","currently","supported",".",":","param","timezone",":","The","default","timezone","to","use","to","localize","bars",".","Check",":","mod",":","`","pyalgotrade.marketsession","`",".",":","type","timezone",":","A","pytz","timezone",".",":","param","maxLen",":","The","maximum","number","of","values","that","the",":","class",":","`","pyalgotrade.dataseries.bards.BarDataSeries","`","will","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",".","..","note",":",":","Google","Finance","csv","files","lack","timezone","information",".","When","working","with","multiple","instruments",":","*","If","all","the","instruments","loaded","are","in","the","same","timezone",",","then","the","timezone","parameter","may","not","be","specified",".","*","If","any","of","the","instruments","loaded","are","in","different","timezones",",","then","the","timezone","parameter","must","be","set","."]
docstr: Loads bars for a given instrument from a CSV formatted file.
  The instrument gets registered in the bar feed.
  
  :param instrument: Instrument identifier.
  :type instrument: string.
  :param path: The path to the CSV file.
  :type path: string.
  :param timezone: The timezone to use to localize bars. Check :mod:`pyalgotrade.marketsession`.
  :type timezone: A pytz timezone.
  :param skipMalformedBars: True to skip errors while parsing bars.
  :type skipMalformedBars: boolean.
docstr_tok: ["Loads","bars","for","a","given","instrument","from","a","CSV","formatted","file",".","The","instrument","gets","registered","in","the","bar","feed",".",":","param","instrument",":","Instrument","identifier",".",":","type","instrument",":","string",".",":","param","path",":","The","path","to","the","CSV","file",".",":","type","path",":","string",".",":","param","timezone",":","The","timezone","to","use","to","localize","bars",".","Check",":","mod",":","`","pyalgotrade.marketsession","`",".",":","type","timezone",":","A","pytz","timezone",".",":","param","skipMalformedBars",":","True","to","skip","errors","while","parsing","bars",".",":","type","skipMalformedBars",":","boolean","."]
code: def addBarsFromCSV(
      self, instrument, path, timezone=None, skipMalformedBars=False
  ):
      """Loads bars for a given instrument from a CSV formatted file.
      The instrument gets registered in the bar feed.
  
      :param instrument: Instrument identifier.
      :type instrument: string.
      :param path: The path to the CSV file.
      :type path: string.
      :param timezone: The timezone to use to localize bars. Check :mod:`pyalgotrade.marketsession`.
      :type timezone: A pytz timezone.
      :param skipMalformedBars: True to skip errors while parsing bars.
      :type skipMalformedBars: boolean.
      """
  
      if timezone is None:
          timezone = self.__timezone
  
      rowParser = RowParser(
          self.getDailyBarTime(),
          self.getFrequency(),
          timezone,
          self.__sanitizeBars,
      )
      super(Feed, self).addBarsFromCSV(
          instrument,
          path,
          rowParser,
          skipMalformedBars=skipMalformedBars,
      )
  
file_path: pyalgotrade/pyalgotrade/barfeed/googlefeed.py
imports: from pyalgotrade.barfeed import csvfeed
  from pyalgotrade.barfeed import common
  from pyalgotrade.utils import dt
  from pyalgotrade import bar
  import datetime
label_desc: Use image node_id 4 for calling the Feed obj's underlying member method code with example usage: obj.addBarsFromCSV(instrument, path, timezone, skipMalformedBars) without return types