View source: R/Binomial_American_Greeks.R
Binomial_American_Greeks | R Documentation |
In contract to European Options, American options can be executed at any time until the expiration date. For more details on the definition of Greeks in general see Greeks. This functions computes Greeks of American put- and call options in the binomial option pricing model (see (Hull, 2022)).
Binomial_American_Greeks(
initial_price = 100,
exercise_price = 100,
r = 0,
time_to_maturity = 1,
volatility = 0.3,
dividend_yield = 0,
payoff = "call",
greek = c("fair_value", "delta", "vega", "theta", "rho", "epsilon", "gamma"),
steps = 1000,
eps = 1/100000
)
initial_price |
|
exercise_price |
|
r |
|
time_to_maturity |
|
volatility |
|
dividend_yield |
|
payoff |
|
greek |
|
steps |
|
eps |
|
Named vector containing the values of the Greeks specified in the
parameter greek
.
Hull, J. C. (2022). Options, futures, and other derivatives (11th Edition). Pearson
Greeks_UI for an interactive visualization
Binomial_American_Greeks(initial_price = 100, exercise_price = 100,
r = 0, time_to_maturity = 1, volatility = 0.3, dividend_yield = 0,
payoff = "call", greek = c("fair_value", "delta", "vega", "theta", "rho",
"epsilon", "gamma"), steps = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.