powered by
This class forms the basis from which the more specific classes are derived.
# S3 method for ImpliedVolatility print(x, digits=3, ...) # S3 method for ImpliedVolatility summary(object, digits=3, ...)
Any option-price implied volatility object derived from this base class
Number of digits of precision shown
Further arguments
None, but side effects of displaying content.
Please see any decent Finance textbook for background reading, and the QuantLib documentation for details on the QuantLib implementation.
QuantLib
http://quantlib.org for details on QuantLib.
AmericanOptionImpliedVolatility, EuropeanOptionImpliedVolatility, AmericanOption,EuropeanOption, BinaryOption
AmericanOptionImpliedVolatility
EuropeanOptionImpliedVolatility
AmericanOption
EuropeanOption
BinaryOption
# NOT RUN { impVol<-EuropeanOptionImpliedVolatility("call", value=11.10, strike=100, volatility=0.4, 100, 0.01, 0.03, 0.5) print(impVol) summary(impVol) # }
Run the code above in your browser using DataLab