vwap

Class Quote

    • Constructor Summary

      Constructors 
      Constructor and Description
      Quote(com.ibm.streams.operator.Tuple tuple) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static Quote convertToTrade(com.ibm.streams.operator.Tuple tuple)
      Convert a trade SPL tuple to a Quote object.
      static com.ibm.streamsx.topology.TStream<Quote> getQuotes(com.ibm.streamsx.topology.spl.SPLStream tradeQuotes)
      Get the stream of quotes from the SPL stream.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Quote

        public Quote(com.ibm.streams.operator.Tuple tuple)
    • Method Detail

      • toString

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

        public static Quote convertToTrade(com.ibm.streams.operator.Tuple tuple)
        Convert a trade SPL tuple to a Quote object.
      • getQuotes

        public static com.ibm.streamsx.topology.TStream<QuotegetQuotes(com.ibm.streamsx.topology.spl.SPLStream tradeQuotes)
        Get the stream of quotes from the SPL stream. The stream is keyed by the ticker symbol.
streamsx.topology @ IBMStreams GitHub