Description Usage Arguments Value
Fit a smooth IV surface to all available options and return option prices for given maturities and strike ranges that depend on maturity and IV.
1 2 | optionPanelInterpolate(option.panels, mkt.frame, out.mat, doPlot = FALSE,
doFitPlot = 0, verbose = FALSE)
|
option.panels |
A list, each element containing a dataframe with normalized mid OTM option prices and LOG strikes. Each panel should correspond to the SAME day. |
out.mat |
Sx2 matrix, where first column specifies target maturities and the second specifies the number of options available at each maturity (for now they have to be equal) |
doPlot |
Whether fitted / true values should be plotted |
verbose |
Do we want diagnostic information? |
mkt.list |
A data-frame, where each row corresponds to the market features associated with the n-th option panel (e.g. maturity, interest rate, etc...) |
out.panels list with fields p.list
– a list of option panels, m.list
– a list of corresponding market structures.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.