Enum Class OrderCategory

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

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

    • NORMAL

      public static final OrderCategory NORMAL
      普通委托订单种类
    • TWAP

      public static final OrderCategory TWAP
      TWAP订单种类
    • ADL

      public static final OrderCategory ADL
      ADL订单种类
    • FULL_LIQUIDATION

      public static final OrderCategory FULL_LIQUIDATION
      爆仓订单种类
    • PARTIAL_LIQUIDATION

      public static final OrderCategory PARTIAL_LIQUIDATION
      减仓订单种类
    • DELIVERY

      public static final OrderCategory DELIVERY
      交割
    • DDH

      public static final OrderCategory DDH
      对冲减仓类型订单
  • Method Details

    • values

      public static OrderCategory[] 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 OrderCategory 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()