ecop.bs_implied_volatility: Implied volatility of Black-Sholes model
Description
This is the standard library to calculate implied volatility \(\sigma_{BS}\)
in Black-Sholes model.
There is no external dependency on elliptic distribution.
# NOT RUN {V <- c(1.8, 50)
K <- c(2100, 2040)
S <- 2089.27
T <- 1/365y <- 0.019
ecop.bs_implied_volatility(V, K, S, ttm=T, div_yield=y, otype="c")
# expect output of 12.8886% and 29.4296%# }