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.
- 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 dt, java.util.List<java.lang.String> lsCashTenor, java.util.List<java.lang.Double> lsCashQuote, java.util.List<java.lang.String> lsFutureTenor, java.util.List<java.lang.Double> lsFutureQuote, java.util.List<java.lang.String> lsSwapTenor, java.util.List<java.lang.Double> lsSwapQuote)
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 dt, java.util.List<java.lang.String> lsCashTenor, java.util.List<java.lang.Double> lsCashQuote, java.util.List<java.lang.String> lsFutureTenor, java.util.List<java.lang.Double> lsFutureQuote, java.util.List<java.lang.String> lsSwapTenor, java.util.List<java.lang.Double> lsSwapQuote) throws java.lang.ExceptionDiscountCurveInputInstrument constructor- Parameters:
dt
- Curve Epoch DatelsCashTenor
- List of Cash TenorslsCashQuote
- List of Cash QuoteslsFutureTenor
- List of Future TenorslsFutureQuote
- List of Future QuoteslsSwapTenor
- List of Swap TenorslsSwapQuote
- 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
-