public enum TimeInForce extends java.lang.Enum<TimeInForce>
| Enum Constant and Description |
|---|
_INVALID |
DAY
Day order
|
FOK
Fill or Kill
|
GTC
Good Till Cancel
|
IOC
Immediate or Cancel
|
| Modifier and Type | Field and Description |
|---|---|
byte |
val |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
static TimeInForce |
get(byte value) |
static java.util.Collection<TimeInForce> |
validValues() |
static TimeInForce |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeInForce[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeInForce DAY
public static final TimeInForce GTC
public static final TimeInForce IOC
public static final TimeInForce FOK
public static final TimeInForce _INVALID
public static TimeInForce[] values()
for (TimeInForce c : TimeInForce.values()) System.out.println(c);
public static TimeInForce valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte get()
public static TimeInForce get(byte value)
public static java.util.Collection<TimeInForce> validValues()