public class ModelFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
HybridAssetLIBORModelMonteCarloSimulationInterface |
getHybridAssetLIBORModel(LIBORModelMonteCarloSimulationInterface baseModel,
BrownianMotionInterface brownianMotion,
double[] initialValues,
double riskFreeRate,
double[][] correlations,
double[] maturities,
double[] strikes,
double[] volatilities,
DiscountCurveInterface discountCurve)
Create a simple equity hybrid LIBOR market model with a calibration of the equity processes
to a given Black-Scholes implied volatility.
|
static ModelFactory |
getInstance() |
public static ModelFactory getInstance()
public HybridAssetLIBORModelMonteCarloSimulationInterface getHybridAssetLIBORModel(LIBORModelMonteCarloSimulationInterface baseModel, BrownianMotionInterface brownianMotion, double[] initialValues, double riskFreeRate, double[][] correlations, double[] maturities, double[] strikes, double[] volatilities, DiscountCurveInterface discountCurve) throws CalculationException
baseModel - LIBOR model providing the stochastic numeraire.brownianMotion - BrownianMotionInterface for the asset process.initialValues - Initial value of the asset process.riskFreeRate - Not used (internally used to generate paths, will be later adjusted)correlations - Correlation of the asset processes.maturities - Maturities of the options (one for each asset process).strikes - Strikes of the options (one for each asset process).volatilities - Implied volatilities of the options (one for each asset process).discountCurve - Discount curve used for the final hybrid model (not used in calibration).HybridAssetLIBORModelMonteCarloSimulationInterface, where each asset process is calibrated to a given option.CalculationException - Thrown if calibration fails.Copyright © 2015. All rights reserved.