net.finmath.modelling.descriptor.SingleAssetEuropeanOptionMonteCarloProductFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-lib Show documentation
Show all versions of finmath-lib Show documentation
finmath lib is a Mathematical Finance Library in Java.
It provides algorithms and methodologies related to mathematical finance.
/*
* (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
*
* Created on 09.02.2018
*/
package net.finmath.modelling.descriptor;
import net.finmath.modelling.Product;
import net.finmath.modelling.ProductFactory;
/**
* @author Christian Fries
*/
public class SingleAssetEuropeanOptionMonteCarloProductFactory implements ProductFactory {
/**
* Create factory.
*/
public SingleAssetEuropeanOptionMonteCarloProductFactory() {
}
@Override
public Product getProductFromDescription(SingleAssetEuropeanOptionProductDescriptor descriptor) {
Product product = new net.finmath.montecarlo.assetderivativevaluation.products.EuropeanOption((SingleAssetEuropeanOptionProductDescriptor) descriptor);
return product;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy