Description Usage Arguments Examples
Simple function using Rcpp
1 |
S |
Underlying price |
K |
Strike price of the option |
T |
The time to maturity of the option |
r |
The risk-free rate |
q |
The annualized divident yield |
sigma |
The volatility of the underlying |
lmbda |
The mean reversion rate of the volatility |
meanV |
Equilibrium volatility level |
v0 |
The volatility of the volalility |
rho |
The correlation between the Brownian motions |
otype |
The option type: (P)ut or (C)all |
N |
The number of Fourier-Cosine expansion terms |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.