powered by
This class forms the basis from which the more specific classes are derived.
# S3 method for Option print(x, digits=4, ...) # S3 method for Option plot(x, ...) # S3 method for Option summary(object, digits=4, ...)
None, but side effects of displaying content.
Any option object derived from this base class
Number of digits of precision shown
Further arguments
Dirk Eddelbuettel edd@debian.org for the R interface; the QuantLib Group for QuantLib
QuantLib
Please see any decent Finance textbook for background reading, and the QuantLib documentation for details on the QuantLib implementation.
https://www.quantlib.org/ for details on QuantLib.
AmericanOption,EuropeanOption, BinaryOption
AmericanOption
EuropeanOption
BinaryOption
EO<-EuropeanOption("call", strike=100, volatility=0.4, 100, 0.01, 0.03, 0.5) print(EO) summary(EO)
Run the code above in your browser using DataLab