Description Usage Arguments Details Author(s) See Also
View source: R/compute_and_graph_implied_volatility.R
compute_and_append_implied_volatility
returns a dataframe with the implied volatility appended and graphs it
1 2 | compute_and_graph_implied_volatility(df, risk_free_rate = 0.01,
initial_volatility_guess = 0.5)
|
df |
Dataframe with option data (see details) |
risk_free_rate |
Risk-free rate (number, default: 0.01) |
initial_volatility_guess |
Initial guess volatility guess (default: 0.5) |
This function uses the functions append_implied_volatility
and
graph_implied_volatility
from this package to compute and graph
the implied volatility for European Options, respectively.
John Dole <jdoleiv@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.