Enum FuturesSwapMatchPrice

  • All Implemented Interfaces:
    Serializable, Comparable<FuturesSwapMatchPrice>

    public enum FuturesSwapMatchPrice
    extends Enum<FuturesSwapMatchPrice>
    Order at best counter party price? (0:no 1:yes) the parameter is defaulted as 0. If it is set as 1, the price parameter will be ignored´╝îWhen posting orders at best bid price, order_type can only be 0 (regular order)
    • Method Detail

      • values

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

        public static FuturesSwapMatchPrice valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()