Package org.knowm.xchange.bitfinex.v1
Enum BitfinexOrderType
- java.lang.Object
-
- java.lang.Enum<BitfinexOrderType>
-
- org.knowm.xchange.bitfinex.v1.BitfinexOrderType
-
- All Implemented Interfaces:
Serializable,Comparable<BitfinexOrderType>
public enum BitfinexOrderType extends Enum<BitfinexOrderType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILL_OR_KILLLIMITMARGIN_FILL_OR_KILLMARGIN_LIMITMARGIN_MARKETMARGIN_STOPMARGIN_STOP_LIMITMARGIN_TRAILING_STOPMARKETSTOPSTOP_LIMITTRAILING_STOP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()StringtoString()static BitfinexOrderTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BitfinexOrderType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MARKET
public static final BitfinexOrderType MARKET
-
LIMIT
public static final BitfinexOrderType LIMIT
-
STOP
public static final BitfinexOrderType STOP
-
STOP_LIMIT
public static final BitfinexOrderType STOP_LIMIT
-
TRAILING_STOP
public static final BitfinexOrderType TRAILING_STOP
-
FILL_OR_KILL
public static final BitfinexOrderType FILL_OR_KILL
-
MARGIN_MARKET
public static final BitfinexOrderType MARGIN_MARKET
-
MARGIN_LIMIT
public static final BitfinexOrderType MARGIN_LIMIT
-
MARGIN_STOP
public static final BitfinexOrderType MARGIN_STOP
-
MARGIN_STOP_LIMIT
public static final BitfinexOrderType MARGIN_STOP_LIMIT
-
MARGIN_TRAILING_STOP
public static final BitfinexOrderType MARGIN_TRAILING_STOP
-
MARGIN_FILL_OR_KILL
public static final BitfinexOrderType MARGIN_FILL_OR_KILL
-
-
Method Detail
-
values
public static BitfinexOrderType[] 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 (BitfinexOrderType c : BitfinexOrderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BitfinexOrderType 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<BitfinexOrderType>
-
-