'Update all statistics that must be tracked over time.'

def update(self, timestamp, portfolio_handler):

    if (timestamp != self.timeseries[(-1)]):
        current_equity = PriceParser.display(portfolio_handler.portfolio.equity)
        self.equity.append(current_equity)
        self.timeseries.append(timestamp)
        pct = (((self.equity[(-1)] - self.equity[(-2)]) / self.equity[(-1)]) * 100)
        self.equity_returns.append(round(pct, 4))
        self.hwm.append(max(self.hwm[(-1)], self.equity[(-1)]))
        self.drawdowns.append((self.hwm[(-1)] - self.equity[(-1)]))
