- java.lang.Object
-
- net.finmath.modelling.descriptor.BlackScholesModelDescriptor
-
- All Implemented Interfaces:
AssetModelDescriptor,ModelDescriptor
public class BlackScholesModelDescriptor extends Object implements AssetModelDescriptor
- Version:
- 1.0
- Author:
- Christian Fries
-
-
Constructor Summary
Constructors Constructor Description BlackScholesModelDescriptor(LocalDate referenceDate, Double initialValue, DiscountCurve discountCurveForForwardRate, DiscountCurve discountCurveForDiscountRate, Double volatility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscountCurvegetDiscountCurveForDiscountRate()DiscountCurvegetDiscountCurveForForwardRate()DoublegetInitialValue()LocalDategetReferenceDate()DoublegetVolatility()Stringname()Return the name of the model represented by this descriptor.Integerversion()Return the version of the model description.
-
-
-
Constructor Detail
-
BlackScholesModelDescriptor
public BlackScholesModelDescriptor(LocalDate referenceDate, Double initialValue, DiscountCurve discountCurveForForwardRate, DiscountCurve discountCurveForDiscountRate, Double volatility)
-
-
Method Detail
-
version
public Integer version()
Description copied from interface:ModelDescriptorReturn the version of the model description.- Specified by:
versionin interfaceModelDescriptor- Returns:
- Version number.
-
name
public String name()
Description copied from interface:ModelDescriptorReturn the name of the model represented by this descriptor.- Specified by:
namein interfaceModelDescriptor- Returns:
- Name of the model.
-
getReferenceDate
public LocalDate getReferenceDate()
- Returns:
- the referenceDate
-
getInitialValue
public Double getInitialValue()
- Returns:
- the initialValue
-
getDiscountCurveForForwardRate
public DiscountCurve getDiscountCurveForForwardRate()
- Returns:
- the discountCurveForForwardRate
-
getDiscountCurveForDiscountRate
public DiscountCurve getDiscountCurveForDiscountRate()
- Returns:
- the discountCurveForDiscountRate
-
getVolatility
public Double getVolatility()
- Returns:
- the volatility
-
-