'Update equity curve and benchmark equity curve that must be tracked
over time.'

def update(self, timestamp, portfolio_handler):

    self.equity[timestamp] = PriceParser.display(self.portfolio_handler.portfolio.equity)
    if (self.benchmark is not None):
        self.equity_benchmark[timestamp] = PriceParser.display(self.price_handler.get_last_close(self.benchmark))
