Enum BitfinexOrderFlags

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

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

    • FILL_OR_KILL

      public static final BitfinexOrderFlags FILL_OR_KILL
      This type of order is a limit order that must be filled in its entirety or cancelled (killed).
    • HIDDEN

      public static final BitfinexOrderFlags HIDDEN
      This is an order which does not appear in the orderbook, and thus doesn't influence other market participants. the taker fee will apply to any trades.
    • POST_ONLY

      public static final BitfinexOrderFlags POST_ONLY
      These are orders that allow you to be sure to always pay the maker fee.
    • USE_REMAINING

      public static final BitfinexOrderFlags USE_REMAINING
      For order amends indicates that the new order should use the remaining amount of the original order.
    • MARGIN

      public static final BitfinexOrderFlags MARGIN
      This type of order a margin order that is leveraged in line with bitfinex current leverage rates.
    • TRAILING_STOP

      public static final BitfinexOrderFlags TRAILING_STOP
      Trailing stop order
    • STOP

      public static final BitfinexOrderFlags STOP
      Stop order
  • Method Details

    • values

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