All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.cdm.product.asset.RealisedVarianceMethodEnum.py Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.89
Show newest version
# pylint: disable=missing-module-docstring, invalid-name, line-too-long
from enum import Enum

__all__ = ['RealisedVarianceMethodEnum']

class RealisedVarianceMethodEnum(Enum):
    """
    The contract specifies which price must satisfy the boundary condition.  Used for variance, volatility and correlation caps and floors.
    """
    BOTH = "Both"
    """
    For a return on day T, the observed prices on both T and T-1 must be in range
    """
    LAST = "Last"
    """
    For a return on day T, the observed price on T must be in range.
    """
    PREVIOUS = "Previous"
    """
    For a return on day T, the observed price on T-1 must be in range.
    """




© 2015 - 2025 Weber Informatics LLC | Privacy Policy