class_docstr: This observer keeps track of the current drawdown level (plotted) and
  the maxdrawdown (not plotted) levels
  
  Params: None
class_docstr_tok: ["This","observer","keeps","track","of","the","current","drawdown","level","(","plotted",")","and","the","maxdrawdown","(","not","plotted",")","levels","Params",":","None"]
code: def __init__(self):
      super(DrawDown_Old, self).__init__()
  
      self.maxdd = 0.0
      self.peak = float("-inf")
  
file_path: backtrader/backtrader/observers/drawdown.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import backtrader
  from ..None import Observer
label_desc: Use image node_id 1 to create a new DrawDown_Old object from inherited base classes: Observer with example: obj = DrawDown_Old()