Class CapVolMarketData

java.lang.Object
net.finmath.marketdata.model.volatility.caplet.CapVolMarketData

public class CapVolMarketData
extends Object
This class is a container for all the cap data needed to perform the caplet bootstrapping.
Author:
Daniel Willhalm, Christian Fries (review and fixes)
  • Constructor Details

    • CapVolMarketData

      public CapVolMarketData​(String index, String discountIndex, String indexBeforeChange, CapTenorStructure capTenorStructure, int[] expiryVectorInMonths, double[] strikeVector, double[][] capVolatilities, double shift, int underlyingTenorInMonths, int tenorChangeTimeInMonths, int underlyingTenorInMonthsBeforeChange)
      The constructor of the cap volatility market data class. In case the underlying tenor changes throughout the expiry dates two indexes and tenors are submitted as parameters.
      Parameters:
      shift - The shift of the volatilities.
      underlyingTenorInMonths - The underlying tenor in months.
      underlyingTenorInMonthsBeforeChange - The underlying tenor in months before the tenor change.
      capVolatilities - The matrix with cap volatilities as entries.
      expiryVectorInMonths - The expiry dates given in months.
      strikeVector - The caplet strikes.
      index - The forward curve index.
      indexBeforeChange - The forward curve index before the tenor change.
      discountIndex - The discount curve index.
      capTenorStructure - Enum that determines the currency.
      tenorChangeTimeInMonths - The time in months after which the tenor changes.
    • CapVolMarketData

      public CapVolMarketData​(String index, String discountIndex, CapTenorStructure capTenorStructure, int[] expiryVectorInMonths, double[] strikeVector, double[][] capVolatilities, double shift, int underlyingTenorInMonths)
      Overloaded constructor of the cap volatility market data class that assumes no tenor change.
      Parameters:
      index - The forward curve index.
      discountIndex - The discount curve index.
      capVolatilities - The matrix with cap volatilities as entries.
      expiryVectorInMonths - The expiry dates given in months.
      strikeVector - The caplet strikes.
      capTenorStructure - Enum that determines the currency.
      shift - The shift of the volatilities.
      underlyingTenorInMonths - The underlying tenor in months.
  • Method Details