Class Subscription


  • public class Subscription
    extends Object
    Active subscription for a security.
    • Constructor Detail

      • Subscription

        public Subscription()
    • Method Detail

      • getSymbol

        public String getSymbol()
        Returns the subscribed security symbol.
        Returns:
        the subscribed security symbol
      • getSubTypes

        public int getSubTypes()
        Returns the subscribed data types as a bitfield (see SubFlags).
        Returns:
        the subscribed data types
      • getCandlesticks

        public Period[] getCandlesticks()
        Returns the candlestick periods subscribed for this security.
        Returns:
        the subscribed candlestick periods