Enum PriceType

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

    public enum PriceType
    extends java.lang.Enum<PriceType>
    • Enum Constant Detail

      • MARKET

        public static final PriceType MARKET
      • STOP_LIMIT

        public static final PriceType STOP_LIMIT
      • TRAILING_STOP_CNST_BY_LOWER_TRIGGER

        public static final PriceType TRAILING_STOP_CNST_BY_LOWER_TRIGGER
      • UPPER_TRIGGER_BY_TRAILING_STOP_CNST

        public static final PriceType UPPER_TRIGGER_BY_TRAILING_STOP_CNST
      • TRAILING_STOP_PRCT_BY_LOWER_TRIGGER

        public static final PriceType TRAILING_STOP_PRCT_BY_LOWER_TRIGGER
      • UPPER_TRIGGER_BY_TRAILING_STOP_PRCT

        public static final PriceType UPPER_TRIGGER_BY_TRAILING_STOP_PRCT
      • TRAILING_STOP_CNST

        public static final PriceType TRAILING_STOP_CNST
      • TRAILING_STOP_PRCT

        public static final PriceType TRAILING_STOP_PRCT
      • HIDDEN_STOP

        public static final PriceType HIDDEN_STOP
      • HIDDEN_STOP_BY_LOWER_TRIGGER

        public static final PriceType HIDDEN_STOP_BY_LOWER_TRIGGER
      • UPPER_TRIGGER_BY_HIDDEN_STOP

        public static final PriceType UPPER_TRIGGER_BY_HIDDEN_STOP
      • NET_DEBIT

        public static final PriceType NET_DEBIT
      • NET_CREDIT

        public static final PriceType NET_CREDIT
      • NET_EVEN

        public static final PriceType NET_EVEN
      • MARKET_ON_OPEN

        public static final PriceType MARKET_ON_OPEN
      • MARKET_ON_CLOSE

        public static final PriceType MARKET_ON_CLOSE
      • LIMIT_ON_OPEN

        public static final PriceType LIMIT_ON_OPEN
      • LIMIT_ON_CLOSE

        public static final PriceType LIMIT_ON_CLOSE
    • Method Detail

      • values

        public static PriceType[] 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 (PriceType c : PriceType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PriceType 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
      • value

        public java.lang.String value()
      • fromValue

        public static PriceType fromValue​(java.lang.String v)