BinaryOption.default(type, underlying, strike, dividendYield, riskFreeRate,
maturity, volatility, cashPayoff)## S3 method for class 'Option':
printundefined
## S3 method for class 'Option':
summaryundefined
call or putBinaryOption (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,EuropeanOptionBinaryOption("call", 100, 100, 0.02, 0.03, 0.5, 0.4, 10)Run the code above in your browser using DataLab