Class DomesticCollateralizedForeignForward

java.lang.Object
org.drip.product.fx.DomesticCollateralizedForeignForward

public class DomesticCollateralizedForeignForward
extends java.lang.Object
DomesticCollateralizedForeignForward contains the Domestic Currency Collateralized Foreign Payout FX forward product contract details.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • DomesticCollateralizedForeignForward

      public DomesticCollateralizedForeignForward​(CurrencyPair cp, double dblForexForwardStrike, JulianDate dtMaturity) throws java.lang.Exception
      Create an DomesticCollateralizedForeignForward from the currency pair, the strike, and the maturity dates
      Parameters:
      cp - Currency Pair
      dblForexForwardStrike - Forex Forward Strike
      dtMaturity - Maturity Date
      Throws:
      java.lang.Exception - Thrown if the inputs are invalid
  • Method Details

    • getPrimaryCode

      public java.lang.String getPrimaryCode()
      Retrieve the Primary Code
      Returns:
      The Primary Code
    • setPrimaryCode

      public void setPrimaryCode​(java.lang.String strCode)
      Set the Primary Code
      Parameters:
      strCode - The Primary Code
    • getSecondaryCode

      public java.lang.String[] getSecondaryCode()
      Retrieve the Array of Secondary Codes
      Returns:
      Array of Secondary Codes
    • getMaturityDate

      public JulianDate getMaturityDate()
      Retrieve the Maturity Date
      Returns:
      The Maturity Date
    • getCcyPair

      public CurrencyPair getCcyPair()
      Retrieve the Currency Pair
      Returns:
      The Currency Pair
    • value

      public CaseInsensitiveTreeMap<java.lang.Double> value​(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams)
      Value the Product
      Parameters:
      valParams - Valuation Parameters
      pricerParams - Price Parameters
      csqs - Curve Surface Quote Container
      quotingParams - Valuation Customization Parameters
      Returns:
      The Value Measure Map
    • getMeasureNames

      public java.util.Set<java.lang.String> getMeasureNames()
      Retrieve Measure Name Set
      Returns:
      Measure Name Set