Enum FuturesSwapMatchPrice

java.lang.Object
java.lang.Enum<FuturesSwapMatchPrice>
org.knowm.xchange.okcoin.v3.dto.trade.FuturesSwapMatchPrice
All Implemented Interfaces:
Serializable, Comparable<FuturesSwapMatchPrice>, java.lang.constant.Constable

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)
  • Enum Constant Details

  • Method Details

    • values

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