Description Usage Arguments Value Note Examples
This is a function to calculate the prices of European options based on the universal solution provided by Bakshi, Cao and Chen (1997) <doi:10.1111/j.1540-6261.1997.tb02749.x>. This solution takes stochastic volatility, stochastic interest and random jumps into consideration. Please cite their work if this package is used.
1 2 |
kappav |
Speed of convergence on variance |
kappar |
Speed of convergence on risk free rate |
thetav |
Long-term variance |
thetar |
Long-term risk free rate |
sigmav |
Volatility of variance |
sigmar |
Volatility of risk free rate |
muj |
Jump size |
sigmaj |
Volatility of jumps |
rho |
Correlation between underlying price and variance |
lambda |
Jump intensity |
S0 |
Initial/Current underlying price |
K |
Strike price |
V0 |
Initial/Current variance |
R0 |
Initial/Current risk free rate |
t |
Time to maturity |
Call: return the price of the European call oprion
Put: return the price of the European put oprion
Please notice each parameter has its "reasonable range". e.g. volatilities cannot be zero or smaller than zero, please input 0.0000001 when they are zero.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.