public enum OrderStatus extends java.lang.Enum<OrderStatus>
| Enum Constant and Description |
|---|
_INVALID |
ACCEPTED
The GTC order has been accepted.
|
FILLED
The IOC order has been completely filled.
|
PARTIALLY_FILLED
The IOC order has been partially filled.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
val |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
static OrderStatus |
get(byte value) |
static java.util.Collection<OrderStatus> |
validValues() |
static OrderStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderStatus PARTIALLY_FILLED
public static final OrderStatus FILLED
public static final OrderStatus ACCEPTED
public static final OrderStatus _INVALID
public static OrderStatus[] values()
for (OrderStatus c : OrderStatus.values()) System.out.println(c);
public static OrderStatus 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 OrderStatus get(byte value)
public static java.util.Collection<OrderStatus> validValues()