Class TickerPriceStatisticsContainer

java.lang.Object
org.drip.param.quote.TickerPriceStatisticsContainer

public class TickerPriceStatisticsContainer
extends java.lang.Object
TickerPriceStatisticsContainer maintains the Running "Thin" Price Statistics for all Tickers.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    TickerPriceStatisticsContainer()
    Empty TickerPriceStatisticsContainer
  • Method Summary

    Modifier and Type Method Description
    boolean addInstance​(java.lang.String ticker, double price)
    Add an Instance of the Ticker/Price
    java.util.Map<java.lang.String,​TickerPriceStatistics> tickerPriceStatisticsMap()
    Retrieve the Ticker Price Statistics Map
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TickerPriceStatisticsContainer

      public TickerPriceStatisticsContainer()
      Empty TickerPriceStatisticsContainer
  • Method Details

    • tickerPriceStatisticsMap

      public java.util.Map<java.lang.String,​TickerPriceStatistics> tickerPriceStatisticsMap()
      Retrieve the Ticker Price Statistics Map
      Returns:
      The Ticker Price Statistics Map
    • addInstance

      public boolean addInstance​(java.lang.String ticker, double price)
      Add an Instance of the Ticker/Price
      Parameters:
      ticker - Ticker
      price - Price
      Returns:
      TRUE - The Ticker/Price Instance successfully added
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object