Description Usage Arguments Value See Also Examples
Pricing plain vanilla American put and call options using Black & Scholes solution.
1 2 3 |
Spot |
Spot price of the underlying asset (e.g. stock). |
sigma |
Volatility of the underlying asset. |
Strike |
Strike price of the option. |
r |
Interest rate of the numeraire currency (e.g. EUR). |
dr |
Dividend rate of the underlying asset. |
mT |
Maturity time (years). |
The function returns the price as a single number (class "numeric").
1 2 |
Loading required package: mvtnorm
Loading required package: fBasics
Loading required package: timeDate
Loading required package: timeSeries
[1] 0.05166003
[1] 0.1098955
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.