Package org.drip.service.env
Class StandardCDXManager
java.lang.Object
org.drip.service.env.StandardCDXManager
public class StandardCDXManager
extends java.lang.Object
StandardCDXManager implements the creation and the static details of the all the NA, EU, SovX,
EMEA, and ASIA standardized CDS indices. It exposes the following functionality:
- Initialize the Standard CDX Series
- Write the Index Details to a File
- Create a standard CDX from the index code, the index series, and the tenor
- Retrieve the on-the-run for the index and tenor corresponding to the specified date
- Retrieve a set of all the pre-set CDX index names
- Retrieve a set of all the pre-loaded CDX index names
- Retrieve the comprehensive set of pre-set and pre-loaded CDX index names
- Return the full set of pre-set CDX series/first coupon date pairs for the given CDX
- Return the full set of pre-loaded CDX series/first coupon date pairs for the given CDX
- Return the full set of CDX series/first coupon date pairs for the given CDX
- Retrieve the name/description map for all the pre-set CDS indices
- Retrieve the name/description map for all the pre-loaded CDS indices
- Retrieve the name/description map for all the CDS indices
Module | Computational Core Module |
Library | Computation Support |
Project | Environment, Product/Definition Containers, and Scenario/State Manipulation APIs |
Package | Library Module Loader Environment Manager |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description StandardCDXManager()
-
Method Summary
Modifier and Type Method Description static boolean
DumpIndexDetails(java.lang.String coverageFile)
Write the Index Details to a Filestatic CaseInsensitiveTreeMap<java.lang.String>
GetIndexDescriptions()
Retrieve the name/description map for all the CDS indicesstatic java.util.Set<java.lang.String>
GetIndexNames()
Retrieve the comprehensive set of pre-set and pre-loaded CDX index namesstatic java.util.Map<JulianDate,java.lang.Integer>
GetIndexSeriesMap(java.lang.String indexName)
Return the full set of CDX series/first coupon date pairs for the given CDXstatic BasketProduct
GetOnTheRun(java.lang.String index, JulianDate date, java.lang.String tenor)
Retrieve the on-the-run for the index and tenor corresponding to the specified datestatic java.util.Map<JulianDate,java.lang.Integer>
GetPreLoadedCDXSeriesMap(java.lang.String indexName)
Return the full set of pre-loaded CDX series/first coupon date pairs for the given CDXstatic CaseInsensitiveTreeMap<java.lang.String>
GetPreLoadedIndexDescriptions()
Retrieve the name/description map for all the pre-loaded CDS indicesstatic java.util.Set<java.lang.String>
GetPreLoadedIndexNames()
Retrieve a set of all the pre-loaded CDX index namesstatic CaseInsensitiveTreeMap<java.lang.String>
GetPresetIndexDescriptions()
Retrieve the name/description map for all the pre-set CDS indicesstatic java.util.Set<java.lang.String>
GetPresetIndexNames()
Retrieve a set of all the pre-set CDX index namesstatic java.util.Map<JulianDate,java.lang.Integer>
GetPresetIndexSeriesMap(java.lang.String indexName)
Return the full set of pre-set CDX series/first coupon date pairs for the given CDXstatic boolean
InitializeSeries()
Initialize the Standard CDX Seriesstatic BasketProduct
MakeIndex(java.lang.String index, int series, java.lang.String tenor)
Create a standard CDX from the index code, the index series, and the tenorMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StandardCDXManager
public StandardCDXManager()
-
-
Method Details
-
InitializeSeries
public static final boolean InitializeSeries()Initialize the Standard CDX Series- Returns:
- TRUE - Initialization Succeeded
-
DumpIndexDetails
public static final boolean DumpIndexDetails(java.lang.String coverageFile)Write the Index Details to a File- Parameters:
coverageFile
- Coverage File- Returns:
- TRUE - Index Details successfully written to a File
-
MakeIndex
public static final BasketProduct MakeIndex(java.lang.String index, int series, java.lang.String tenor)Create a standard CDX from the index code, the index series, and the tenor- Parameters:
index
- The Index Code (CDX.NA.IG, CDX.NA.HY, etc)series
- Index Series Numbertenor
- The specific tenor - typical common ones are 3Y, 5Y, 7Y, and 10Y- Returns:
- The CDX Basket Product
-
GetOnTheRun
public static final BasketProduct GetOnTheRun(java.lang.String index, JulianDate date, java.lang.String tenor)Retrieve the on-the-run for the index and tenor corresponding to the specified date- Parameters:
index
- CDX/ITRAXX indexdate
- Specified datetenor
- Tenor- Returns:
- CDX/ITRAXX Basket Product
-
GetPresetIndexNames
public static final java.util.Set<java.lang.String> GetPresetIndexNames()Retrieve a set of all the pre-set CDX index names- Returns:
- Set of the pre-set CDX index names
-
GetPreLoadedIndexNames
public static final java.util.Set<java.lang.String> GetPreLoadedIndexNames()Retrieve a set of all the pre-loaded CDX index names- Returns:
- Set of the pre-loaded CDX index names
-
GetIndexNames
public static final java.util.Set<java.lang.String> GetIndexNames()Retrieve the comprehensive set of pre-set and pre-loaded CDX index names- Returns:
- Set of the pre-set and the pre-loaded CDX index names
-
GetPresetIndexSeriesMap
public static final java.util.Map<JulianDate,java.lang.Integer> GetPresetIndexSeriesMap(java.lang.String indexName)Return the full set of pre-set CDX series/first coupon date pairs for the given CDX- Parameters:
indexName
- CDX Name- Returns:
- Map of the CDX series/first coupon dates
-
GetPreLoadedCDXSeriesMap
public static final java.util.Map<JulianDate,java.lang.Integer> GetPreLoadedCDXSeriesMap(java.lang.String indexName)Return the full set of pre-loaded CDX series/first coupon date pairs for the given CDX- Parameters:
indexName
- CDX Name- Returns:
- Map of the CDX series/first coupon dates
-
GetIndexSeriesMap
public static final java.util.Map<JulianDate,java.lang.Integer> GetIndexSeriesMap(java.lang.String indexName)Return the full set of CDX series/first coupon date pairs for the given CDX- Parameters:
indexName
- CDX Name- Returns:
- Map of the CDX series/first coupon dates
-
GetPresetIndexDescriptions
Retrieve the name/description map for all the pre-set CDS indices- Returns:
- Name/description map for all the pre-set CDS indices
-
GetPreLoadedIndexDescriptions
Retrieve the name/description map for all the pre-loaded CDS indices- Returns:
- Name/description map for all the pre-loaded CDS indices
-
GetIndexDescriptions
Retrieve the name/description map for all the CDS indices- Returns:
- Name/description map for all the CDS indices
-