Package cdm.product.asset
Class BoundedVariance.BoundedVarianceImpl
java.lang.Object
cdm.product.asset.BoundedVariance.BoundedVarianceImpl
- All Implemented Interfaces:
BoundedVariance,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
BoundedVariance
Immutable Implementation of BoundedVariance
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.asset.BoundedVariance
BoundedVariance.BoundedVarianceBuilder, BoundedVariance.BoundedVarianceBuilderImpl, BoundedVariance.BoundedVarianceImpl -
Field Summary
Fields inherited from interface cdm.product.asset.BoundedVariance
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe contract specifies whether the notional should be scaled by the Number of Days in Range divided by the Expected N.All observations below this price level will be excluded from the variance calculation.The contract specifies which price must satisfy the boundary condition.All observations above this price level will be excluded from the variance calculation.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.asset.BoundedVariance
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
BoundedVarianceImpl
-
-
Method Details
-
getRealisedVarianceMethod
@RosettaAttribute(value="realisedVarianceMethod", isRequired=true) @RuneAttribute(value="realisedVarianceMethod", isRequired=true) public RealisedVarianceMethodEnum getRealisedVarianceMethod()Description copied from interface:BoundedVarianceThe contract specifies which price must satisfy the boundary condition.- Specified by:
getRealisedVarianceMethodin interfaceBoundedVariance
-
getDaysInRangeAdjustment
@RosettaAttribute(value="daysInRangeAdjustment", isRequired=true) @RuneAttribute(value="daysInRangeAdjustment", isRequired=true) public Boolean getDaysInRangeAdjustment()Description copied from interface:BoundedVarianceThe contract specifies whether the notional should be scaled by the Number of Days in Range divided by the Expected N. The number of Days in Ranges refers to the number of returns that contribute to the realized volatility.- Specified by:
getDaysInRangeAdjustmentin interfaceBoundedVariance
-
getUpperBarrier
@RosettaAttribute("upperBarrier") @RuneAttribute("upperBarrier") public BigDecimal getUpperBarrier()Description copied from interface:BoundedVarianceAll observations above this price level will be excluded from the variance calculation.- Specified by:
getUpperBarrierin interfaceBoundedVariance
-
getLowerBarrier
@RosettaAttribute("lowerBarrier") @RuneAttribute("lowerBarrier") public BigDecimal getLowerBarrier()Description copied from interface:BoundedVarianceAll observations below this price level will be excluded from the variance calculation.- Specified by:
getLowerBarrierin interfaceBoundedVariance
-
build
Description copied from interface:BoundedVarianceBuild Methods- Specified by:
buildin interfaceBoundedVariance- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceBoundedVariance- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-