Enum TimeInForce

java.lang.Object
java.lang.Enum<TimeInForce>
org.knowm.xchange.deribit.v2.dto.trade.TimeInForce
All Implemented Interfaces:
Serializable, Comparable<TimeInForce>, java.lang.constant.Constable, Order.IOrderFlags

public enum TimeInForce extends Enum<TimeInForce> implements Order.IOrderFlags
  • Enum Constant Details

    • good_til_cancelled

      public static final TimeInForce good_til_cancelled
    • good_til_day

      public static final TimeInForce good_til_day
    • fill_or_kill

      public static final TimeInForce fill_or_kill
    • immediate_or_cancel

      public static final TimeInForce immediate_or_cancel
  • Method Details

    • values

      public static TimeInForce[] 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 TimeInForce 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
    • parseTimeInForce

      public static TimeInForce parseTimeInForce(String s)