View source: R/BS_Geometric_Asian_Greeks.R
BS_Geometric_Asian_Greeks | R Documentation |
For the definition of geometric Asian options see Malliavin_Geometric_Asian_Greeks. BS_Geometric_Asian_Greeks offers a fast and exaction computation of Geometric Asian Greeks.
BS_Geometric_Asian_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", "rho", "vega", "theta", "gamma", "vomma")
)
initial_price |
|
exercise_price |
|
r |
|
time_to_maturity |
|
volatility |
|
dividend_yield |
|
payoff |
|
greek |
|
Named vector containing the values of the Greeks specified in the
parameter greek
.
Malliavin_Geometric_Asian_Greeks for the Monte Carlo implementation which provides digital and custom payoff functions and also works for the jump diffusion model
Greeks_UI for an interactive visualization
BS_Geometric_Asian_Greeks(initial_price = 110, exercise_price = 100,
r = 0.02, time_to_maturity = 4.5, dividend_yield = 0.015, volatility = 0.22,
greek = c("fair_value", "delta", "rho", "vega", "theta", "gamma"),
payoff = "put")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.