Class SingleAssetMonteCarloProductFactory.EuropeanOptionMonteCarlo
java.lang.Object
net.finmath.montecarlo.AbstractMonteCarloProduct
net.finmath.montecarlo.assetderivativevaluation.products.AbstractAssetMonteCarloProduct
net.finmath.montecarlo.assetderivativevaluation.products.EuropeanOption
net.finmath.modelling.productfactory.SingleAssetMonteCarloProductFactory.EuropeanOptionMonteCarlo
- All Implemented Interfaces:
DescribedProduct<SingleAssetEuropeanOptionProductDescriptor>, Product, AssetMonteCarloProduct, MonteCarloProduct
- Enclosing class:
SingleAssetMonteCarloProductFactory
public static class SingleAssetMonteCarloProductFactory.EuropeanOptionMonteCarlo
extends EuropeanOption
implements DescribedProduct<SingleAssetEuropeanOptionProductDescriptor>
Monte-Carlo method based implementation of a European option from a product descriptor.
- Version:
- 1.0
- Author:
- Christian Fries, Roland Bachl
-
Constructor Summary
ConstructorsConstructorDescriptionEuropeanOptionMonteCarlo(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). -
Method Summary
Modifier and TypeMethodDescriptionReturn a product descriptor representing this product.Methods inherited from class EuropeanOption
getCallOrPut, getMaturity, getNameOfUnderliyng, getStrike, getUnderlyingIndex, getValue, getValues, toStringMethods inherited from class AbstractAssetMonteCarloProduct
getValueMethods inherited from class AbstractMonteCarloProduct
getCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData
-
Constructor Details
-
EuropeanOptionMonteCarlo
public 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).- Parameters:
descriptor- Implementation of SingleAssetEuropeanOptionProductDescriptorreferenceDate- The reference date to be used to convert absolute maturities to relative maturities.
-
-
Method Details
-
getDescriptor
Description copied from interface:DescribedProductReturn a product descriptor representing this product.- Specified by:
getDescriptorin interfaceDescribedProduct<SingleAssetEuropeanOptionProductDescriptor>- Returns:
- The product descriptor of this product.
-