How to compute drawdown on an investment. I’m going to show you how to compute the drawdown of the SPY ETF with Python.