Package org.drip.service.api
Class CDXCOB
java.lang.Object
org.drip.service.api.CDXCOB
public class CDXCOB
extends java.lang.Object
CDXCOB contains the Name and the COB Price for a given CDX. It provides the following Functions:
- CDXCOB constructor
- CDX Name
- COB Price
- Display the CDX COB Content
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 CDXCOB(java.lang.String indexName, double price)
CDXCOB constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CDXCOB
public CDXCOB(java.lang.String indexName, double price) throws java.lang.ExceptionCDXCOB constructor- Parameters:
indexName
- The CDX Index Nameprice
- The COB Price- Throws:
java.lang.Exception
- Thrown if the Inputs are invalid
-
-
Method Details
-
name
public java.lang.String name()The CDX Name- Returns:
- The CDX Name
-
price
public double price()The COB Price- Returns:
- The COB Price
-
display
public java.lang.String display()Display the CDX COB Content- Returns:
- The CDX COB Content
-