Package org.drip.product.fx
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.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Product Components/Baskets for Credit, FRA, FX, Govvie, Rates, and Option AssetClasses
- Package = FX Forwards, Cross Currency Swaps
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description DomesticCollateralizedForeignForward(CurrencyPair cp, double dblForexForwardStrike, JulianDate dtMaturity)Create an DomesticCollateralizedForeignForward from the currency pair, the strike, and the maturity dates -
Method Summary
Modifier and Type Method Description CurrencyPairgetCcyPair()Retrieve the Currency PairJulianDategetMaturityDate()Retrieve the Maturity Datejava.util.Set<java.lang.String>getMeasureNames()Retrieve Measure Name Setjava.lang.StringgetPrimaryCode()Retrieve the Primary Codejava.lang.String[]getSecondaryCode()Retrieve the Array of Secondary CodesvoidsetPrimaryCode(java.lang.String strCode)Set the Primary CodeCaseInsensitiveTreeMap<java.lang.Double>value(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams quotingParams)Value the ProductMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DomesticCollateralizedForeignForward
public DomesticCollateralizedForeignForward(CurrencyPair cp, double dblForexForwardStrike, JulianDate dtMaturity) throws java.lang.ExceptionCreate an DomesticCollateralizedForeignForward from the currency pair, the strike, and the maturity dates- Parameters:
cp- Currency PairdblForexForwardStrike- Forex Forward StrikedtMaturity- 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
Retrieve the Maturity Date- Returns:
- The Maturity Date
-
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 ParameterspricerParams- Price Parameterscsqs- Curve Surface Quote ContainerquotingParams- 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
-