Learn R Programming

RQuantLib (version 0.2.2)

ImpliedVolatility: Base class for option-price implied volatility evalution

Description

This class forms the basis from which the more specific classes are derived.

Usage

## S3 method for class 'ImpliedVolatility':
printundefined
## S3 method for class 'ImpliedVolatility':
summaryundefined

Arguments

Any option-price implied volatility object derived from this base class

Value

  • None, but side effects of displaying content.

Details

Please see any decent Finance textbook for background reading, and the QuantLib documentation for details on the QuantLib implementation.

References

http://quantlib.org for details on QuantLib.

See Also

AmericanOptionImpliedVolatility, EuropeanOptionImpliedVolatility, AmericanOption,EuropeanOption, BinaryOption

Examples

Run this code
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