Binomial_American_Greeks {greeks} | R Documentation |
Computes the Greeks of an American call- or put-option with the Binomial options pricing model
Description
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)).
Usage
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/1e+05
)
Arguments
initial_price |
|
exercise_price |
|
r |
|
time_to_maturity |
|
volatility |
|
dividend_yield |
|
payoff |
|
greek |
|
steps |
|
eps |
|
Value
Named vector containing the values of the Greeks specified in the
parameter greek
.
References
Hull, J. C. (2022). Options, futures, and other derivatives (11th Edition). Pearson
See Also
Greeks_UI for an interactive visualization
Examples
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)