I have the following python code:
stats.norm.cdf((log((H ** 2) / (S * X))) / (sigma * sqrt(T)) + (1 + mu) * sigma * sqrt(T))
I am trying to get the derivative w.r.t. S, X, sigma, and T of the cdf. In other words, I am trying to find $ d/dX (stats.norm.cdf((log((H ** 2) / (S * X))) / (sigma * sqrt(T)) + (1 + mu) * sigma * sqrt(T)))$
(and the same for d/dS, d/d sigma, d/dT).
Is this possible? If so, how do I find the derivatives?
I tried to do so using the chain rule. However, I fail to succeed. Can anyone show me how it is done or share a link where they show the steps?