Description Usage Arguments Value Author(s) Examples
Creates a data.frame containing put option greeks; delta, gamma, vega, theta, rho and the putpremium
1 |
s |
Spot price of the underlying asset |
x |
Strike price of the option |
sigma |
Implied volatility of the underlying asset price, defined as the annualized standard deviation of the asset returns |
t |
Time to maturity in years |
r |
Annual continuously-compounded risk-free rate, use the function r.cont |
d |
Annual continuously-compounded dividend yield, use the function r.cont |
Returns a data.frame containing the option premium and greeks:
Premium
Delta
Gamma
Vega
Theta
Rho
John T. Buynak
1 | puteval(100, 100, 0.20, (45/365), 0.02, 0.02)
|
Premium Delta Gamma Vega Theta Rho
1 2.794086 -0.4847982 0.05663458 0.1396469 -0.02979083 -0.06321441
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.