Enum Class EventType

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

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

    • SNAPSHOT

      public static final EventType SNAPSHOT
      首推快照
    • DELIVERED

      public static final EventType DELIVERED
      交割
    • EXERCISED

      public static final EventType EXERCISED
      行权
    • TRANSFERRED

      public static final EventType TRANSFERRED
      划转
    • FILLED

      public static final EventType FILLED
      成交
    • LIQUIDATION

      public static final EventType LIQUIDATION
      强平
    • CLAW_BACK

      public static final EventType CLAW_BACK
      穿仓补偿
    • ADL

      public static final EventType ADL
      ADL自动减仓
    • FUNDING_FEE

      public static final EventType FUNDING_FEE
      资金费
    • ADJUST_MARGIN

      public static final EventType ADJUST_MARGIN
      调整保证金
    • ST_LEVERAGE

      public static final EventType ST_LEVERAGE
      设置杠杆
    • INTEREST_DEDUCTION

      public static final EventType INTEREST_DEDUCTION
      扣息
  • Method Details

    • values

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