Description Usage Arguments Value See Also Examples
Vix_Calc: Calculating volatility index quotes
1 | vix_calc(Data, rf_near = 0.002, rf_next = 0.002, nearT = 28, nextT = 35)
|
Data |
Dataframe incl. 'QuoteDate' (format:YYYY-MM-DD), 'QuoteTime' (format:hh:mm:ss), 'expiration' (format:YYYY-MM-DD), 'option_type' ('C' for call or 'P' for put), 'bid', 'ask','active_underlaying_price' (S&P 500 spot prices),'underlying symbol' with '^SPX' representing the S&P500 symbol |
rf_near |
Defining risk free rate for near term |
rf_next |
Defining risk free rate for next term |
nearT |
Defining the near term |
nextT |
Defining the next term |
A vector of VIX quptes
1 | vix_calc(VIX_SampleData, rf_near = 0.002,rf_next = 0.002, nearT=28, nextT=35)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.