BS_Implied_Volatility {greeks} | R Documentation |
Computes the implied volatility for European put- and call options in the Black Scholes model via Halley's method.
Description
For the definition of implied volatility see Implied_Volatility. BS_Implied_Volatility offers a very fast implementation for European put- and call options applying Halley's method (see
en.wikipedia.org/wiki/Halley%27s_method).
Usage
BS_Implied_Volatility(
option_price,
initial_price = 100,
exercise_price = 100,
r = 0,
time_to_maturity = 1,
dividend_yield = 0,
payoff = "call",
start_volatility = 0.3,
precision = 1e-09
)
Arguments
option_price |
|
initial_price |
|
exercise_price |
|
r |
|
time_to_maturity |
|
dividend_yield |
|
payoff |
|
start_volatility |
|
precision |
|
Value
Named vector containing the values of the Greeks specified in the
parameter greek
.
See Also
Implied_Volatility for American and Asian options, and for digital payoff functions
Examples
BS_Implied_Volatility(option_price = 27, initial_price = 100,
exercise_price = 100, r = 0.03, time_to_maturity = 5, dividend_yield = 0.015,
payoff = "call")
[Package greeks version 1.4.2 Index]