public enum AlpacaStreamMessageType extends java.lang.Enum<AlpacaStreamMessageType> implements StreamMessageType, APIName
| Enum Constant and Description |
|---|
ACCOUNT_UPDATES
Account updates alpaca stream message type.
|
AUTHORIZATION
Authorization alpaca stream message type.
|
LISTENING
Listening alpaca stream message type.
|
TRADE_UPDATES
Trade updates alpaca stream message type.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAPIName()
Gets the API name.
|
boolean |
isAPISubscribable()
Is api subscribable boolean.
|
static AlpacaStreamMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlpacaStreamMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="listening") public static final AlpacaStreamMessageType LISTENING
@SerializedName(value="authorization") public static final AlpacaStreamMessageType AUTHORIZATION
@SerializedName(value="trade_updates") public static final AlpacaStreamMessageType TRADE_UPDATES
@SerializedName(value="account_updates") public static final AlpacaStreamMessageType ACCOUNT_UPDATES
public static AlpacaStreamMessageType[] values()
for (AlpacaStreamMessageType c : AlpacaStreamMessageType.values()) System.out.println(c);
public static AlpacaStreamMessageType 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()