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

src.cdm.base.math.FinancialUnitEnum.py Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.89
Show newest version
from enum import Enum

all = ['FinancialUnitEnum']
  
class FinancialUnitEnum(Enum):
  """
  Provides enumerated values for financial units, generally used in the context of defining quantities for securities.
  """
  CONTRACT = "Contract"
  """
  Denotes financial contracts, such as listed futures and options.
  """
  CONTRACTUAL_PRODUCT = "ContractualProduct"
  """
  Denotes a Contractual Product as defined in the CDM.  This unit type would be used when the price applies to the whole product, for example, in the case of a premium expressed as a cash amount.
  """
  INDEX_UNIT = "IndexUnit"
  """
  Denotes a price expressed in index points, e.g. for a stock index.
  """
  LOG_NORMAL_VOLATILITY = "LogNormalVolatility"
  """
  Denotes a log normal volatility, expressed in %/month, where the percentage is represented as a decimal. For example, 0.15 means a log-normal volatility of 15% per month.
  """
  SHARE = "Share"
  """
  Denotes the number of units of financial stock shares.
  """
  VALUE_PER_DAY = "ValuePerDay"
  """
  Denotes a value (expressed in currency units) for a one day change in a valuation date, which is typically used for expressing sensitivity to the passage of time, also known as theta risk, or carry, or other names.
  """
  VALUE_PER_PERCENT = "ValuePerPercent"
  """
  Denotes a value (expressed in currency units) per percent change in the underlying rate which is typically used for expressing sensitivity to volatility changes, also known as vega risk.
  """
  WEIGHT = "Weight"
  """
  Denotes a quantity (expressed as a decimal value) represented the weight of a component in a basket.
  """




© 2015 - 2025 Weber Informatics LLC | Privacy Policy