| CBOE_F_0 | R Documentation | 
Following the VIX whitepaper this function calculates \mjseqnF_0 as:
\mjsdeqnF_0 := Strike Price + e^RT (Call Price - Put Price)
The variable \mjseqnR is the risk-free-rate (in decimal) for the corresponding time-to-maturity \mjseqnT (in years). The \mjseqnStrike Price, \mjseqnCall Price and \mjseqnPut Price are those where the absolute difference of the latter two is smallest.
CBOE_F_0(option_quotes, R, maturity)
option_quotes | 
 A  
  | 
R | 
 
  | 
maturity | 
 
  | 
Returns a numeric scalar, giving the theoretical at-the-money
forward \mjseqnF_0
library(R.MFIV)
nest <- option_dataset$option_quotes[[1]]
CBOE_F_0(option_quotes = nest,
         R = 0.005,
         maturity = 0.07)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.