You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BSM formula offered in this pip is the standard BSM model. Could you please add support for equities that pay regular dividends where the input 'q' represents the yield?
Example:
import opstrat as op
K = 425 # Strike
r = 1.978 # Risk free rate
t = 35 # Time to expiry (in days)
sigma = 28.84 # Annualized volatility
St = 425.48 # Underlying price
type = 'p' # Option type (c or p)
bsm=op.black_scholes(K=K, St=St, r=r, t=t, v=sigma, type=type)
q = 3.2 # Dividend
bsm_div=op.black_scholes(K=K, St=St, r=r, t=t, v=sigma, type=type, q=q)
The text was updated successfully, but these errors were encountered:
The BSM formula offered in this pip is the standard BSM model. Could you please add support for equities that pay regular dividends where the input 'q' represents the yield?
Example:
The text was updated successfully, but these errors were encountered: