Anyone happen to know how to find the gradient of a slope via a backwards difference (Ex: funding the gradient of an exponential average at some period of time). I understand that numpy has a gradient syntax, but I am having some trouble applying it without consistently running into errors.