I needed to see what the max Drawdown was for a specific security, and so I wrote this script. Maybe others might also find it useful. Here I apply it to the Russel 2000 index. The Russel 2000 index has been gone down quite consistently recently. So someone might wonder how weird is that, and from this index you can see that we are still a long way before the bottom.