public static enum OrderPlaceFailed.Cause extends java.lang.Enum<OrderPlaceFailed.Cause>
| Enum Constant and Description |
|---|
INSUFFICIENT_FUNDS |
INVALID_INSTRUMENT_ID |
INVALID_ORDER_ID |
INVALID_TICK_SIZE |
OPEN_POSITION_QUANTITY_TOO_HIGH |
SESSION_NOT_ACTIVE |
TOO_MANY_OPEN_ORDERS |
| Modifier and Type | Method and Description |
|---|---|
static OrderPlaceFailed.Cause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderPlaceFailed.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderPlaceFailed.Cause INVALID_ORDER_ID
public static final OrderPlaceFailed.Cause INVALID_INSTRUMENT_ID
public static final OrderPlaceFailed.Cause SESSION_NOT_ACTIVE
public static final OrderPlaceFailed.Cause INVALID_TICK_SIZE
public static final OrderPlaceFailed.Cause INSUFFICIENT_FUNDS
public static final OrderPlaceFailed.Cause TOO_MANY_OPEN_ORDERS
public static final OrderPlaceFailed.Cause OPEN_POSITION_QUANTITY_TOO_HIGH
public static OrderPlaceFailed.Cause[] values()
for (OrderPlaceFailed.Cause c : OrderPlaceFailed.Cause.values()) System.out.println(c);
public static OrderPlaceFailed.Cause 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 null