
Last chance! 50% off unlimited learning
Sale ends in
Calculate the constant elasticity of variance (CEV) model option price
CevPrice(
strike = forward,
spot,
texp = 1,
sigma,
beta = 0.5,
intr = 0,
divr = 0,
cp = 1L,
forward = spot * exp(-divr * texp)/df,
df = exp(-intr * texp)
)
(vector of) strike price
(vector of) spot price
(vector of) time to expiry
(vector of) volatility
elasticity parameter
interest rate (domestic interest rate)
dividend/convenience yield (foreign interest rate)
call/put sign. 1
for call, -1
for put.
forward price. If given, forward
overrides spot
discount factor. If given, df
overrides intr
option price
Schroder, M. (1989). Computing the constant elasticity of variance option pricing formula. Journal of Finance, 44(1), 211-219. 10.1111/j.1540-6261.1989.tb02414.x
# NOT RUN {
spot <- 100
strike <- seq(80,125,5)
texp <- 1.2
beta <- 0.5
sigma <- 2
FER::CevPrice(strike, spot, texp, sigma, beta)
# }
Run the code above in your browser using DataLab