Enum BitfinexOrderFlags
- java.lang.Object
-
- java.lang.Enum<BitfinexOrderFlags>
-
- org.knowm.xchange.bitfinex.v1.dto.trade.BitfinexOrderFlags
-
- All Implemented Interfaces:
Serializable,Comparable<BitfinexOrderFlags>,Order.IOrderFlags
public enum BitfinexOrderFlags extends Enum<BitfinexOrderFlags> implements Order.IOrderFlags
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILL_OR_KILLThis type of order is a limit order that must be filled in its entirety or cancelled (killed).HIDDENThis is an order which does not appear in the orderbook, and thus doesn't influence other market participants.MARGINThis type of order a margin order that is leveraged in line with bitfinex current leverage rates.POST_ONLYThese are orders that allow you to be sure to always pay the maker fee.STOPStop orderTRAILING_STOPTrailing stop orderUSE_REMAININGFor order amends indicates that the new order should use the remaining amount of the original order.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BitfinexOrderFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static BitfinexOrderFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static BitfinexOrderFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BitfinexOrderFlags c : BitfinexOrderFlags.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
-