public class SingleAssetMonteCarloProductFactory.EuropeanOptionMonteCarlo extends EuropeanOption implements DescribedProduct<SingleAssetEuropeanOptionProductDescriptor>
| Constructor and Description |
|---|
EuropeanOptionMonteCarlo(SingleAssetEuropeanOptionProductDescriptor descriptor,
LocalDate referenceDate)
Construct a product representing an European option on an asset S (where S the asset with index 0 from the model - single asset case).
|
| Modifier and Type | Method and Description |
|---|---|
SingleAssetEuropeanOptionProductDescriptor |
getDescriptor()
Return a product descriptor representing this product.
|
getValue, getValuesgetValuegetCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringpublic EuropeanOptionMonteCarlo(SingleAssetEuropeanOptionProductDescriptor descriptor, LocalDate referenceDate)
descriptor - Implementation of SingleAssetEuropeanOptionProductDescriptorreferenceDate - The reference date to be used to convert absolute maturities to relative maturities.public SingleAssetEuropeanOptionProductDescriptor getDescriptor()
DescribedProductgetDescriptor in interface DescribedProduct<SingleAssetEuropeanOptionProductDescriptor>Copyright © 2019. All rights reserved.