Package org.drip.market.otc
Class CreditIndexConvention
java.lang.Object
org.drip.market.otc.CreditIndexConvention
public class CreditIndexConvention
extends java.lang.Object
CreditIndexConvention contains the details of the Credit Index of an OTC Index CDS Contract.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description CreditIndexConvention(java.lang.String strIndexType, java.lang.String strIndexSubType, java.lang.String strSeriesName, java.lang.String strTenor, java.lang.String strCurrency, JulianDate dtEffective, JulianDate dtMaturity, int iFreq, java.lang.String strDayCount, double dblFixedCoupon, double dblRecoveryRate, int iNumConstituent)CreditIndexConvention Constructor -
Method Summary
Modifier and Type Method Description java.lang.Stringcurrency()Retrieve the Currencyjava.lang.StringdayCount()Retrieve the Day CountJulianDateeffectiveDate()Retrieve the Effective DatedoublefixedCoupon()Retrieve the Fixed Couponintfrequency()Retrieve the Coupon Frequencyjava.lang.StringfullName()Retrieve the Full Name of the Credit IndexCreditDefaultSwapindexCDS()Create an Instance of the Specified Index CDS Productjava.lang.StringindexSubType()Retrieve the Index Sub-Typejava.lang.StringindexType()Retrieve the Index TypeJulianDatematurityDate()Retrieve the Maturity DateintnumberOfConstituents()Retrieve the Number of ConstituentsdoublerecoveryRate()Retrieve the Recovery Ratejava.lang.StringseriesName()Retrieve the Series Namejava.lang.Stringtenor()Retrieve the TenorMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CreditIndexConvention
public CreditIndexConvention(java.lang.String strIndexType, java.lang.String strIndexSubType, java.lang.String strSeriesName, java.lang.String strTenor, java.lang.String strCurrency, JulianDate dtEffective, JulianDate dtMaturity, int iFreq, java.lang.String strDayCount, double dblFixedCoupon, double dblRecoveryRate, int iNumConstituent) throws java.lang.ExceptionCreditIndexConvention Constructor- Parameters:
strIndexType- Index TypestrIndexSubType- Index Sub-TypestrSeriesName- Series NamestrTenor- Index TenorstrCurrency- Index CurrencydtEffective- Effective DatedtMaturity- Maturity DateiFreq- Coupon/Pay FrequencystrDayCount- Index Day CountdblFixedCoupon- Index Fixed CoupondblRecoveryRate- Fixed Recovery RateiNumConstituent- Number of Constituents- Throws:
java.lang.Exception- Thrown if Inputs are Invalid
-
-
Method Details
-
indexType
public java.lang.String indexType()Retrieve the Index Type- Returns:
- The Index Type
-
indexSubType
public java.lang.String indexSubType()Retrieve the Index Sub-Type- Returns:
- The Index Sub-Type
-
seriesName
public java.lang.String seriesName()Retrieve the Series Name- Returns:
- The Series Name
-
tenor
public java.lang.String tenor()Retrieve the Tenor- Returns:
- The Tenor
-
currency
public java.lang.String currency()Retrieve the Currency- Returns:
- The Currency
-
effectiveDate
Retrieve the Effective Date- Returns:
- The Effective Date
-
maturityDate
Retrieve the Maturity Date- Returns:
- The Maturity Date
-
frequency
public int frequency()Retrieve the Coupon Frequency- Returns:
- The Coupon Frequency
-
dayCount
public java.lang.String dayCount()Retrieve the Day Count- Returns:
- The Day Count
-
fixedCoupon
public double fixedCoupon()Retrieve the Fixed Coupon- Returns:
- The Fixed Coupon
-
recoveryRate
public double recoveryRate()Retrieve the Recovery Rate- Returns:
- The Recovery Rate
-
numberOfConstituents
public int numberOfConstituents()Retrieve the Number of Constituents- Returns:
- The Number of Constituents
-
fullName
public java.lang.String fullName()Retrieve the Full Name of the Credit Index- Returns:
- The Full Name of the Credit Index
-
indexCDS
Create an Instance of the Specified Index CDS Product- Returns:
- Instance of the Specified Index CDS Product
-