Description Usage Arguments Value References Examples
Calculate the option price under the NSVh model with lambda=1 (Choi et al. 2019)
1 2 3 4 5 6 7 8 9 10 11 12 13 |
strike |
(vector of) strike price |
spot |
(vector of) spot price |
texp |
(vector of) time to expiry |
sigma |
(vector of) volatility |
vov |
(vector of) vol-of-vol |
rho |
(vector of) correlation |
intr |
interest rate |
divr |
dividend rate |
cp |
call/put sign. |
forward |
forward price. If given, |
df |
discount factor. If given, |
BS volatility or option price based on cp
Choi, J., Liu, C., & Seo, B. K. (2019). Hyperbolic normal stochastic volatility model. Journal of Futures Markets, 39(2), 186–204. doi: 10.1002/fut.21967
1 2 3 4 5 6 7 8 9 | spot <- 100
strike <- seq(80,125,5)
texp <- 1.2
sigma <- 20
vov <- 0.2
rho <- -0.5
strike <- seq(0.1, 2, 0.1)
FER::Nsvh1Choi2019(strike, spot, texp, sigma, vov, rho)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.