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.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    ProductTick()
    Empty ProductTick constructor
    ProductTick​(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 Party
    boolean isMark()
    Indicate whether the quote may be treated as a mark
    java.lang.String productID()
    Retrieve the Product ID
    ProductQuote productQuote()
    Retrieve the Product Quote
    java.lang.String source()
    Retrieve the Quote Source

    Methods 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.Exception
      ProductTick constructor
      Parameters:
      strProductID - Product ID
      pq - Product Quote
      strCounterParty - Counter Party
      strSource - Quote Source
      bIsMark - 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

      public ProductQuote 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