BinaryOption.default(type, underlying, strike, dividendYield, riskFreeRate,
maturity, volatility, cashPayoff)## S3 method for class 'Option':
printundefined
## S3 method for class 'Option':
summaryundefined
call
or put
BinaryOption
(which inherits from class
Option
) is returned. It contains a list with the
following components:QuantLib
documentation for details on the QuantLib
implementation.QuantLib
.AmericanOption
,EuropeanOption
BinaryOption("call", 100, 100, 0.02, 0.03, 0.5, 0.4, 10)
Run the code above in your browser using DataLab