Enum CoinmateOrderFlags

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

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

    • STOP

      public static final CoinmateOrderFlags STOP
      Stop loss price.
    • HIDDEN

      public static final CoinmateOrderFlags HIDDEN
      Flag indicating that order should be created as hidden.
    • POST_ONLY

      public static final CoinmateOrderFlags POST_ONLY
      Flag indicating that order should get maker fee only.
    • IMMEDIATE_OR_CANCEL

      public static final CoinmateOrderFlags IMMEDIATE_OR_CANCEL
      In case the flag is set: if limit order is not fully settled immediately the remaining part of the order is cancelled at the end of request.
    • TRAILING

      public static final CoinmateOrderFlags TRAILING
      Flag indicating that stop loss order should be created as trailing. Valid flag value is 0 or 1. Default value is 0
    • CLIENT_ORDER_ID

      public static final CoinmateOrderFlags CLIENT_ORDER_ID
      Id of order used to access order in case of not receiving order id
  • Method Details

    • values

      public static CoinmateOrderFlags[] 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 CoinmateOrderFlags 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