public enum OtcMarketsPriceType extends Enum<OtcMarketsPriceType>
Enum Constant and Description |
---|
ACTUAL
Actual (Priced) is the actual amount a trader is willing to buy or sell securities.
|
UNPRICED
Unpriced quotes are an indication of interest (IOI) in a security
used when a trader does not wish to show a price or size.
|
WANTED
Offer Wanted/Bid Wanted (OW/BW) is used to solicit sellers/buyers,
without displaying actual price or size.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns integer code that is used in flag bits.
|
static OtcMarketsPriceType |
valueOf(int code)
Returns price type by integer code bit pattern.
|
static OtcMarketsPriceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtcMarketsPriceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtcMarketsPriceType UNPRICED
public static final OtcMarketsPriceType ACTUAL
public static final OtcMarketsPriceType WANTED
public static OtcMarketsPriceType[] values()
for (OtcMarketsPriceType c : OtcMarketsPriceType.values()) System.out.println(c);
public static OtcMarketsPriceType 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 static OtcMarketsPriceType valueOf(int code)
code
- integer code.ArrayIndexOutOfBoundsException
- if code is invalid.public int getCode()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.