Package org.drip.market.definition
Class OvernightIndex
java.lang.Object
org.drip.market.definition.FloaterIndex
org.drip.market.definition.OvernightIndex
public class OvernightIndex extends FloaterIndex
OvernightIndex contains the definitions of the overnight indexes of different jurisdictions.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description OvernightIndex(java.lang.String strName, java.lang.String strFamily, java.lang.String strCurrency, java.lang.String strDayCount, java.lang.String strCalendar, java.lang.String strReferenceLag, int iPublicationLag, int iAccrualCompoundingRule)OvernightIndex Constructor -
Method Summary
Modifier and Type Method Description intpublicationLag()Retrieve the Index Publication Lagjava.lang.StringreferenceLag()Retrieve the Index Reference LagintspotLag()Retrieve the Index Spot LagMethods inherited from class org.drip.market.definition.FloaterIndex
accrualCompoundingRule, calendar, currency, dayCount, family, name, spotLagDAPBackward, spotLagDAPForwardMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OvernightIndex
public OvernightIndex(java.lang.String strName, java.lang.String strFamily, java.lang.String strCurrency, java.lang.String strDayCount, java.lang.String strCalendar, java.lang.String strReferenceLag, int iPublicationLag, int iAccrualCompoundingRule) throws java.lang.ExceptionOvernightIndex Constructor- Parameters:
strName- Index NamestrFamily- Index FamilystrCurrency- Index CurrencystrDayCount- Index Day CountstrCalendar- Index Holiday CalendarstrReferenceLag- Index Reference LagiPublicationLag- Index Publication LagiAccrualCompoundingRule- Accrual Compounding Rule- Throws:
java.lang.Exception- Thrown if Inputs are Invalid
-
-
Method Details
-
spotLag
public int spotLag()Description copied from class:FloaterIndexRetrieve the Index Spot Lag- Specified by:
spotLagin classFloaterIndex- Returns:
- The Index Spot Lag
-
referenceLag
public java.lang.String referenceLag()Retrieve the Index Reference Lag- Returns:
- The Index Reference Lag
-
publicationLag
public int publicationLag()Retrieve the Index Publication Lag- Returns:
- The Index Publication Lag
-