Package com.markose.etrade.order
Enum PriceType
- java.lang.Object
-
- java.lang.Enum<PriceType>
-
- com.markose.etrade.order.PriceType
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PriceTypefromValue(java.lang.String v)java.lang.Stringvalue()static PriceTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PriceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MARKET
public static final PriceType MARKET
-
LIMIT
public static final PriceType LIMIT
-
STOP
public static final PriceType STOP
-
STOP_LIMIT
public static final PriceType STOP_LIMIT
-
TRAILING_STOP_CNST_BY_LOWER_TRIGGER
public static final PriceType TRAILING_STOP_CNST_BY_LOWER_TRIGGER
-
UPPER_TRIGGER_BY_TRAILING_STOP_CNST
public static final PriceType UPPER_TRIGGER_BY_TRAILING_STOP_CNST
-
TRAILING_STOP_PRCT_BY_LOWER_TRIGGER
public static final PriceType TRAILING_STOP_PRCT_BY_LOWER_TRIGGER
-
UPPER_TRIGGER_BY_TRAILING_STOP_PRCT
public static final PriceType UPPER_TRIGGER_BY_TRAILING_STOP_PRCT
-
TRAILING_STOP_CNST
public static final PriceType TRAILING_STOP_CNST
-
TRAILING_STOP_PRCT
public static final PriceType TRAILING_STOP_PRCT
-
HIDDEN_STOP
public static final PriceType HIDDEN_STOP
-
HIDDEN_STOP_BY_LOWER_TRIGGER
public static final PriceType HIDDEN_STOP_BY_LOWER_TRIGGER
-
UPPER_TRIGGER_BY_HIDDEN_STOP
public static final PriceType UPPER_TRIGGER_BY_HIDDEN_STOP
-
NET_DEBIT
public static final PriceType NET_DEBIT
-
NET_CREDIT
public static final PriceType NET_CREDIT
-
NET_EVEN
public static final PriceType NET_EVEN
-
MARKET_ON_OPEN
public static final PriceType MARKET_ON_OPEN
-
MARKET_ON_CLOSE
public static final PriceType MARKET_ON_CLOSE
-
LIMIT_ON_OPEN
public static final PriceType LIMIT_ON_OPEN
-
LIMIT_ON_CLOSE
public static final PriceType LIMIT_ON_CLOSE
-
-
Method Detail
-
values
public static PriceType[] 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 (PriceType c : PriceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PriceType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static PriceType fromValue(java.lang.String v)
-
-