Enum Class OrderState

java.lang.Object
java.lang.Enum<OrderState>
xyz.felh.okx.v5.enumeration.OrderState
All Implemented Interfaces:
Serializable, Comparable<OrderState>, Constable

public enum OrderState extends Enum<OrderState>
  • Enum Constant Details

    • LIVE

      public static final OrderState LIVE
      等待成交
    • PARTIALLY_FILLED

      public static final OrderState PARTIALLY_FILLED
      部分成交
    • FILLED

      public static final OrderState FILLED
      完全成交
    • CANCELED

      public static final OrderState CANCELED
      撤单成功
    • MP_CANCELED

      public static final OrderState MP_CANCELED
      做市商保护机制导致的自动撤单
  • Method Details

    • values

      public static OrderState[] 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 OrderState 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
    • value

      public String value()