Package org.drip.service.api
Class DiscountCurveInputInstrument
java.lang.Object
org.drip.service.api.DiscountCurveInputInstrument
public class DiscountCurveInputInstrument
extends java.lang.Object
DiscountCurveInputInstrument contains the input instruments and their quotes. It provides the
following Functions:
- DiscountCurveInputInstrument constructor
- Retrieve the Curve Epoch Date
- Retrieve the Array of Cash Quotes
- Retrieve the Array of Cash Tenors
- Retrieve the Array of Future Quotes
- Retrieve the Array of Future Tenors
- Retrieve the Array of Swap Quotes
- Retrieve the Array of Swap Tenors
Module | Computational Core Module |
Library | Computation Support |
Project | Environment, Product/Definition Containers, and Scenario/State Manipulation APIs |
Package | Horizon Roll Attribution Service API |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description DiscountCurveInputInstrument(JulianDate epochDate, java.util.List<java.lang.String> cashTenorList, java.util.List<java.lang.Double> cashQuoteList, java.util.List<java.lang.String> futuresTenorList, java.util.List<java.lang.Double> futuresQuoteList, java.util.List<java.lang.String> swapTenorList, java.util.List<java.lang.Double> swapQuoteList)
DiscountCurveInputInstrument Constructor -
Method Summary
Modifier and Type Method Description double[]
cashQuote()
Retrieve the Array of Cash Quotesjava.lang.String[]
cashTenor()
Retrieve the Array of Cash TenorsJulianDate
date()
Retrieve the Curve Epoch Datedouble[]
futureQuote()
Retrieve the Array of Future Quotesjava.lang.String[]
futureTenor()
Retrieve the Array of Future Tenorsdouble[]
swapQuote()
Retrieve the Array of Swap Quotesjava.lang.String[]
swapTenor()
Retrieve the Array of Swap TenorsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DiscountCurveInputInstrument
public DiscountCurveInputInstrument(JulianDate epochDate, java.util.List<java.lang.String> cashTenorList, java.util.List<java.lang.Double> cashQuoteList, java.util.List<java.lang.String> futuresTenorList, java.util.List<java.lang.Double> futuresQuoteList, java.util.List<java.lang.String> swapTenorList, java.util.List<java.lang.Double> swapQuoteList) throws java.lang.ExceptionDiscountCurveInputInstrument Constructor- Parameters:
epochDate
- Curve Epoch DatecashTenorList
- List of Cash TenorscashQuoteList
- List of Cash QuotesfuturesTenorList
- List of Future TenorsfuturesQuoteList
- List of Future QuotesswapTenorList
- List of Swap TenorsswapQuoteList
- List of Swap Quotes- Throws:
java.lang.Exception
- Thrown if Inputs are invalid
-
-
Method Details
-
date
Retrieve the Curve Epoch Date- Returns:
- The Curve Epoch Date
-
cashQuote
public double[] cashQuote()Retrieve the Array of Cash Quotes- Returns:
- The Array of Cash Quotes
-
cashTenor
public java.lang.String[] cashTenor()Retrieve the Array of Cash Tenors- Returns:
- The Array of Cash Tenors
-
futureQuote
public double[] futureQuote()Retrieve the Array of Future Quotes- Returns:
- The Array of Future Quotes
-
futureTenor
public java.lang.String[] futureTenor()Retrieve the Array of Future Tenors- Returns:
- The Array of Future Tenors
-
swapQuote
public double[] swapQuote()Retrieve the Array of Swap Quotes- Returns:
- The Array of Swap Quotes
-
swapTenor
public java.lang.String[] swapTenor()Retrieve the Array of Swap Tenors- Returns:
- The Array of Swap Tenors
-