Module net.finmath.lib
Package net.finmath.modelling.descriptor
Class SingleAssetDigitalOptionProductDescriptor
java.lang.Object
net.finmath.modelling.descriptor.SingleAssetDigitalOptionProductDescriptor
- All Implemented Interfaces:
ProductDescriptor,SingleAssetProductDescriptor
public class SingleAssetDigitalOptionProductDescriptor extends Object implements SingleAssetProductDescriptor
Describes a European digital option.
- Version:
- 1.0
- Author:
- Christian Fries, Roland Bachl
-
Constructor Summary
Constructors Constructor Description SingleAssetDigitalOptionProductDescriptor(String nameOfUnderlying, LocalDate maturity, double strike) -
Method Summary
Modifier and Type Method Description LocalDategetMaturity()StringgetNameOfUnderlying()doublegetStrike()Stringname()Return the name of the model represented by this descriptor.Integerversion()Return the version of the model description.
-
Constructor Details
-
Method Details
-
version
Description copied from interface:ProductDescriptorReturn the version of the model description.- Specified by:
versionin interfaceProductDescriptor- Returns:
- Version number.
-
name
Description copied from interface:ProductDescriptorReturn the name of the model represented by this descriptor.- Specified by:
namein interfaceProductDescriptor- Returns:
- Name of the model.
-
getMaturity
-
getStrike
public double getStrike() -
getNameOfUnderlying
-