powered by
Creates a 3D Plot of the Volatility Skew
volskew(symbol, type = "call", spot = "current", r = 0.02, ll = 0.9, ul = 1.1, days_out = 50, d1 = 0, d2 = 0, d3 = 0, d4 = 0, d5 = 0)
Ticker symbol for a publicly traded company
"call" or "put" option volatility skew
This is the current price of the stock, if blank it defaults to the previous adjusted close
risk-free rate, annualized and continuously-compounded
lower limit, set to 0.90
upper limit, set to 1.10
keep at 50
dividend yield
Plots a 3d Graph in the Viewer tab
# NOT RUN { volskew("^SPX", type = "call") # }
Run the code above in your browser using DataLab