public class SingleAssetMonteCarloProductFactory.DigitalOptionMonteCarlo extends DigitalOption implements DescribedProduct<SingleAssetDigitalOptionProductDescriptor>
| Constructor and Description |
|---|
DigitalOptionMonteCarlo(SingleAssetDigitalOptionProductDescriptor descriptor,
LocalDate referenceDate)
Create product from descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
SingleAssetDigitalOptionProductDescriptor |
getDescriptor()
Return a product descriptor representing this product.
|
getValuegetValuegetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic DigitalOptionMonteCarlo(SingleAssetDigitalOptionProductDescriptor descriptor, LocalDate referenceDate)
descriptor - The descriptor of the product.referenceDate - The reference date of the data for the valuation, used to convert absolute date to relative dates in double representation.public SingleAssetDigitalOptionProductDescriptor getDescriptor()
DescribedProductgetDescriptor in interface DescribedProduct<SingleAssetDigitalOptionProductDescriptor>Copyright © 2019. All rights reserved.