Option | R Documentation |
This class forms the basis from which the more specific classes are derived.
## S3 method for class 'Option'
print(x, digits=4, ...)
## S3 method for class 'Option'
plot(x, ...)
## S3 method for class 'Option'
summary(object, digits=4, ...)
x |
Any option object derived from this base class |
object |
Any option object derived from this base class |
digits |
Number of digits of precision shown |
... |
Further arguments |
Please see any decent Finance textbook for background reading, and the
QuantLib
documentation for details on the QuantLib
implementation.
None, but side effects of displaying content.
The interface might change in future release as QuantLib
stabilises its own API.
Dirk Eddelbuettel edd@debian.org for the R interface;
the QuantLib Group for QuantLib
https://www.quantlib.org/ for details on QuantLib
.
AmericanOption
,EuropeanOption
,
BinaryOption
EO<-EuropeanOption("call", strike=100, volatility=0.4, 100, 0.01, 0.03, 0.5)
print(EO)
summary(EO)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.