Enum AdivsorStocks

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AdivsorStocks>

    public enum AdivsorStocks
    extends java.lang.Enum<AdivsorStocks>
    • Field Detail

      • ALGORITHM

        public final Algorithm ALGORITHM
      • TRADE

        public final boolean TRADE
      • START_OF_TRADE_HOUR

        public final int START_OF_TRADE_HOUR
      • START_OF_DEAD_HOUR

        public final int START_OF_DEAD_HOUR
      • END_OF_DEAD_HOUR

        public final int END_OF_DEAD_HOUR
      • END_OF_DAY_HOUR

        public final int END_OF_DAY_HOUR
      • SIGNAL_BUY_VOLUME_SPIKE_RATIO

        public final double SIGNAL_BUY_VOLUME_SPIKE_RATIO
      • SIGNAL_BUY_SMA_HIGH_RATIO

        public final double SIGNAL_BUY_SMA_HIGH_RATIO
      • SIGNAL_BUY_PRICE_SPIKE_RATIO

        public final double SIGNAL_BUY_PRICE_SPIKE_RATIO
      • SIGNAL_BUY_PRICE_DROP_RATIO

        public final double SIGNAL_BUY_PRICE_DROP_RATIO
      • SIGNAL_SELL_SMA_LOW_RATIO

        public final double SIGNAL_SELL_SMA_LOW_RATIO
      • SIGNAL_SELL_VOLUME_SPIKE_RATIO

        public final int SIGNAL_SELL_VOLUME_SPIKE_RATIO
      • SIGNAL_SELL_WIGGLE_OUT_PERCENT

        public final double SIGNAL_SELL_WIGGLE_OUT_PERCENT
      • SIGNAL_SELL_SPIKE_GAIN_PERCENT

        public final double SIGNAL_SELL_SPIKE_GAIN_PERCENT
    • Method Detail

      • values

        public static AdivsorStocks[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AdivsorStocks c : AdivsorStocks.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AdivsorStocks valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null