mafipy.function.black_scholes_call_value_fprime_by_strike

mafipy.function.black_scholes_call_value_fprime_by_strike(underlying, strike, rate, maturity, vol)[source]

First derivative of value of call option with respect to strike under black scholes model. See black_scholes_call_formula().

\[\frac{\partial }{\partial K} c(K; S, r, T, \sigma) = - e^{-rT} \Phi(d_{1}(K))\]

where \(S\) is underlying, \(K\) is strike, \(r\) is rate, \(T\) is maturity, \(\sigma\) is vol, \(d_{1}, d_{2}\) is defined in black_scholes_call_formula(), \(\Phi(\cdot)\) is c.d.f. of standard normal distribution, \(\phi(\cdot)\) is p.d.f. of standard normal distribution.

Parameters:
  • underlying (float) –
  • strike (float) –
  • rate (float) –
  • maturity (float) – must be non-negative.
  • vol (float) – volatility. must be non-negative.
Returns:

value of derivative.

Return type:

float