Package org.drip.param.valuation
Class ValuationCustomizationParams
java.lang.Object
org.drip.param.valuation.ValuationCustomizationParams
public class ValuationCustomizationParams
extends java.lang.Object
ValuationCustomizationParams holds the parameters needed to interpret the input quotes. It contains
the quote day count, the quote frequency, the quote EOM Adjustment, the quote Act/Act parameters, the
quote Calendar, the Core Collateralization Parameters, and the Switchable Alternate Collateralization
Parameters. It also indicates if the native quote is spread based.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ValuationCustomizationParams(java.lang.String strDC, int iFrequency, boolean bApplyEOMAdj, ActActDCParams aap, java.lang.String strCalendar, boolean bSpreadQuoted, boolean bApplyFlatForwardRate)
Construct ValuationCustomizationParams from the Day Count and the Frequency parameters -
Method Summary
Modifier and Type Method Description boolean
applyFlatForwardRate()
Indicate if Forward Rate is to be Projected using its Current Valueboolean
applyYieldEOMAdj()
Indicate if EOM Adjustment is to be made for the Yield Calculationstatic ValuationCustomizationParams
BondEquivalent(java.lang.String strCalendar)
Construct the BondEquivalent Instance of ValuationCustomizationParamsboolean
spreadQuoted()
Indicate if spread QuotedActActDCParams
yieldAAP()
Retrieve the Yield Act Act Day Count Parametersjava.lang.String
yieldCalendar()
Retrieve the Yield Calendarjava.lang.String
yieldDayCount()
Retrieve the Yield Day Countint
yieldFreq()
Retrieve the Yield FrequencyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ValuationCustomizationParams
public ValuationCustomizationParams(java.lang.String strDC, int iFrequency, boolean bApplyEOMAdj, ActActDCParams aap, java.lang.String strCalendar, boolean bSpreadQuoted, boolean bApplyFlatForwardRate) throws java.lang.ExceptionConstruct ValuationCustomizationParams from the Day Count and the Frequency parameters- Parameters:
strDC
- Quoting Day CountiFrequency
- Quoting FrequencybApplyEOMAdj
- TRUE - Apply the EOM Adjustmentaap
- - Quoting Act/Act ParametersstrCalendar
- - Quoting CalendarbSpreadQuoted
- - TRUE - Market Quotes are Spread QuotedbApplyFlatForwardRate
- - TRUE - Apply Flat Forward Rate- Throws:
java.lang.Exception
- Thrown if inputs are invalid
-
-
Method Details
-
BondEquivalent
Construct the BondEquivalent Instance of ValuationCustomizationParams- Parameters:
strCalendar
- The Calendar- Returns:
- The BondEquivalent Instance of ValuationCustomizationParams
-
yieldAAP
Retrieve the Yield Act Act Day Count Parameters- Returns:
- The Yield Act Act Day Count Parameters
-
yieldDayCount
public java.lang.String yieldDayCount()Retrieve the Yield Day Count- Returns:
- The Yield Day Count
-
yieldFreq
public int yieldFreq()Retrieve the Yield Frequency- Returns:
- The Yield Frequency
-
spreadQuoted
public boolean spreadQuoted()Indicate if spread Quoted- Returns:
- TRUE - Spread Quoted
-
yieldCalendar
public java.lang.String yieldCalendar()Retrieve the Yield Calendar- Returns:
- The Yield Calendar
-
applyYieldEOMAdj
public boolean applyYieldEOMAdj()Indicate if EOM Adjustment is to be made for the Yield Calculation- Returns:
- TRUE - EOM Adjustment is to be made for the Yield Calculation
-
applyFlatForwardRate
public boolean applyFlatForwardRate()Indicate if Forward Rate is to be Projected using its Current Value- Returns:
- TRUE - Forward Rate is to be Projected using its Current Value
-