Package org.drip.param.quote
Class ProductTick
java.lang.Object
org.drip.param.quote.ProductTick
public class ProductTick
extends java.lang.Object
ProductTick holds the tick related product parameters - it contains the product ID, the quote
composite, the source, the counter party, and whether the quote can be treated as a mark.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Product Cash Flow, Valuation, Market, Pricing, and Quoting Parameters
- Package = Multi-sided Multi-Measure Ticks Quotes
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ProductTick()
Empty ProductTick constructorProductTick(java.lang.String strProductID, ProductQuote pq, java.lang.String strCounterParty, java.lang.String strSource, boolean bIsMark)
ProductTick constructor -
Method Summary
Modifier and Type Method Description java.lang.String
counterParty()
Retrieve the Counter Partyboolean
isMark()
Indicate whether the quote may be treated as a markjava.lang.String
productID()
Retrieve the Product IDProductQuote
productQuote()
Retrieve the Product Quotejava.lang.String
source()
Retrieve the Quote SourceMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ProductTick
public ProductTick()Empty ProductTick constructor -
ProductTick
public ProductTick(java.lang.String strProductID, ProductQuote pq, java.lang.String strCounterParty, java.lang.String strSource, boolean bIsMark) throws java.lang.ExceptionProductTick constructor- Parameters:
strProductID
- Product IDpq
- Product QuotestrCounterParty
- Counter PartystrSource
- Quote SourcebIsMark
- TRUE - This Quote may be treated as a Mark- Throws:
java.lang.Exception
- Thrown if inputs are invalid
-
-
Method Details
-
productID
public java.lang.String productID()Retrieve the Product ID- Returns:
- Product ID
-
productQuote
Retrieve the Product Quote- Returns:
- Product Quote
-
source
public java.lang.String source()Retrieve the Quote Source- Returns:
- Quote Source
-
counterParty
public java.lang.String counterParty()Retrieve the Counter Party- Returns:
- Counter Party
-
isMark
public boolean isMark()Indicate whether the quote may be treated as a mark- Returns:
- TRUE - Treat the Quote as a Mark
-