Enum Class PegPriceType

java.lang.Object
java.lang.Enum<PegPriceType>
com.epam.fix.message.constants.fix50.enums.PegPriceType
All Implemented Interfaces:
EnumValue, Serializable, Comparable<PegPriceType>, Constable

public enum PegPriceType extends Enum<PegPriceType> implements EnumValue
  • Enum Constant Details

    • LAST_PEG

      public static final PegPriceType LAST_PEG
    • MID_PRICE_PEG

      public static final PegPriceType MID_PRICE_PEG
    • OPENING_PEG

      public static final PegPriceType OPENING_PEG
    • MARKET_PEG

      public static final PegPriceType MARKET_PEG
    • PRIMARY_PEG

      public static final PegPriceType PRIMARY_PEG
    • FIXED_PEG_TO_LOCAL_BBO

      public static final PegPriceType FIXED_PEG_TO_LOCAL_BBO
    • PEG_TO_VWAP

      public static final PegPriceType PEG_TO_VWAP
    • TRAILING_STOP_PEG

      public static final PegPriceType TRAILING_STOP_PEG
    • PEG_TO_LIMIT_PRICE

      public static final PegPriceType PEG_TO_LIMIT_PRICE
  • Method Details

    • values

      public static PegPriceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PegPriceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public byte[] getValue()
      Specified by:
      getValue in interface EnumValue
    • equals

      public boolean equals(byte[] val, int offset, int length)
      Specified by:
      equals in interface EnumValue
    • equals

      public boolean equals(byte[] val)
      Specified by:
      equals in interface EnumValue