public enum SubscribeType extends Enum<SubscribeType>
| Enum Constant and Description |
|---|
QUOTE
Order Book
|
SNAPSHOT
Market Snapshot
|
TICK
Tick-by-Tick
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<SubscribeType> |
fromCode(int code) |
static Optional<SubscribeType> |
fromType(String type) |
int |
getCode() |
String |
getType() |
static SubscribeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscribeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscribeType QUOTE
public static final SubscribeType SNAPSHOT
public static final SubscribeType TICK
public static SubscribeType[] values()
for (SubscribeType c : SubscribeType.values()) System.out.println(c);
public static SubscribeType 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 int getCode()
public String getType()
public static Optional<SubscribeType> fromCode(int code)
public static Optional<SubscribeType> fromType(String type)
Copyright © 2025 Webull. All rights reserved.