Description Usage Arguments Value
View source: R/black_scholes_iv.R
Wrapper to pde_gbm
to pass to black_scholes_iv
. Not exported.
1 | price_wrapper(volat, fee, spot, strike, maturity, rate, div, what, style, N, M)
|
volat |
the volatility |
fee |
the market price |
spot |
the spot price of the underlying |
strike |
the strike price of the option |
maturity |
the maturity in trading years of the option contract |
rate |
the discounting rate |
div |
the dividend yield rate |
what |
what type of option to price: "put" or "call" |
style |
optionality style: american or european |
N |
time-resolution |
M |
space-resolution |
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.