mafipy.function.func_d1¶
-
mafipy.function.
func_d1
(underlying, strike, rate, maturity, vol)[source]¶ calculate \(d_{1}\) in black scholes formula. See
black_scholes_call_formula()
.Parameters: - underlying (float) – underlying/strike must be non-negative.
- strike (float) – underlying/strike must be non-negative.
- rate (float) –
- maturity (float) – must be non-negative.
- vol (float) – must be non-negative.
Returns: \(d_{1}\).
Return type: float