public enum TimeInForce extends Enum<TimeInForce>
Enum Constant and Description |
---|
DAY
Day (GFD).
|
FOK
Fill Or Kill (FOK).
|
GTC
Good Till Cancelled (GTC) - Standard Orders only.
|
GTD
Good Till Date (GTD) - Standard Orders only.
|
IOC
Immediate or Cancel (IOC).
|
NO_VALUE
Identifies no value.
|
Modifier and Type | Method and Description |
---|---|
static TimeInForce |
forValue(byte value) |
byte |
getValue() |
static TimeInForce |
valueOf(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 NO_VALUE
public static final TimeInForce DAY
public static final TimeInForce GTC
public static final TimeInForce IOC
public static final TimeInForce FOK
public static final TimeInForce GTD
public static TimeInForce[] values()
for (TimeInForce c : TimeInForce.values()) System.out.println(c);
public static TimeInForce valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte getValue()
public static TimeInForce forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.