public enum PolygonStreamMessageType extends java.lang.Enum<PolygonStreamMessageType> implements StreamMessageType, APIName
| Enum Constant and Description |
|---|
AGGREGATE_PER_MINUTE
Aggregate per minute polygon stream message type.
|
AGGREGATE_PER_SECOND
Aggregate per second polygon stream message type.
|
QUOTE
Quote polygon stream message type.
|
STATUS
Status polygon stream message type.
|
TRADE
Trade polygon stream message type.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAPIName()
Gets the API name.
|
boolean |
isAPISubscribable()
Is api subscribable boolean.
|
static PolygonStreamMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolygonStreamMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="status") public static final PolygonStreamMessageType STATUS
@SerializedName(value="T") public static final PolygonStreamMessageType TRADE
@SerializedName(value="Q") public static final PolygonStreamMessageType QUOTE
@SerializedName(value="A") public static final PolygonStreamMessageType AGGREGATE_PER_SECOND
@SerializedName(value="AM") public static final PolygonStreamMessageType AGGREGATE_PER_MINUTE
public static PolygonStreamMessageType[] values()
for (PolygonStreamMessageType c : PolygonStreamMessageType.values()) System.out.println(c);
public static PolygonStreamMessageType 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 java.lang.String getAPIName()
APINamegetAPIName in interface APINamepublic boolean isAPISubscribable()