Description Usage Arguments Details Value Examples
Calculate the Specified Option Greek of a Contract
1 2 3 4 5 6 7 8 9 |
greek |
Character String of the greek to be calculated |
s |
Spot Price of Underlying Asset |
k |
Exercise Price of Contract |
t |
Time to Expiration |
sd |
Volatality |
r |
Risk free rate of return |
d |
Divident Yield (use cont.rate()), Default: 0 |
Delta represents the rate of change between the option's price and a $1 change in the underlying asset's price. Theta represents the rate of change between the option price and time, or time sensitivity - sometimes known as an option's time decay. Gamma represents the rate of change between an option's delta and the underlying asset's price. Vega represents the rate of change between an option's value and the underlying asset's implied volatility. Rho represents the rate of change between an option's value and a 1% change in the interest rate.
Output gives the Specified Greek of a Option Contract.
1 | put.greek('delta', 100, 105, 0.25, 0.35, 0.0488)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.