'Takes in a portfolio handler.'

def __init__(self, config, portfolio_handler):

    self.config = config
    self.drawdowns = [0]
    self.equity = []
    self.equity_returns = [0.0]
    self.timeseries = ['0000-00-00    00:00:00']
    current_equity = PriceParser.display(portfolio_handler.portfolio.equity)
    self.hwm = [current_equity]
    self.equity.append(current_equity)
