public enum ExchangeEventType extends Enum<ExchangeEventType>
Enum to provide the following to exchange events:
Enum Constant and Description |
---|
ACCOUNT_INFO
A message with user accountInfo
|
AUTHENTICATION
A message with authentication status
|
CONNECT
Issued when the upstream server has connected
|
DEPTH
A message with a Market Depth update payload
|
DISCONNECT
The upstream server has disconnected
|
ERROR
Represents an error condition
|
EVENT
Represents an event (server specific info)
|
MESSAGE
A message encoding some plain text
|
ORDER_ADDED
A message sent when a user order is added
|
ORDER_CANCELED
A message sent when a user order is cancelled
|
PRIVATE_ID_KEY
A message containing the private id key
|
SUBSCRIBE_DEPTH
A message about subscription of market depth
|
SUBSCRIBE_ORDERS
A message of orderbook data
|
SUBSCRIBE_TICKER
A message about subscription of market ticker
|
TICKER
A message with a Ticker payload
|
TRADE
A message with a Trade payload
|
TRADE_LAG
A message with the trade lag
|
USER_MARKET_ORDER_EST
A message with data about an estimated market order
|
USER_ORDER
A message with a user order
|
USER_ORDER_ADDED
A message sent when a user order is added
|
USER_ORDER_CANCELED
A message sent when a user order is cancelled
|
USER_ORDER_NOT_FOUND
A message sent when a user order is not found
|
USER_ORDERS_LIST
A message with user orders
|
USER_TRADE_VOLUME
A message with user orders
|
USER_WALLET
A message with wallet data
|
USER_WALLET_UPDATE
A message with the wallet update
|
WELCOME
A message with welcome status
|
Modifier and Type | Method and Description |
---|---|
static ExchangeEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangeEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangeEventType CONNECT
public static final ExchangeEventType DISCONNECT
public static final ExchangeEventType ERROR
public static final ExchangeEventType MESSAGE
public static final ExchangeEventType EVENT
public static final ExchangeEventType WELCOME
public static final ExchangeEventType AUTHENTICATION
public static final ExchangeEventType SUBSCRIBE_TICKER
public static final ExchangeEventType TICKER
public static final ExchangeEventType TRADE
public static final ExchangeEventType SUBSCRIBE_DEPTH
public static final ExchangeEventType DEPTH
public static final ExchangeEventType SUBSCRIBE_ORDERS
public static final ExchangeEventType PRIVATE_ID_KEY
public static final ExchangeEventType USER_ORDER
public static final ExchangeEventType ORDER_ADDED
public static final ExchangeEventType ORDER_CANCELED
public static final ExchangeEventType TRADE_LAG
public static final ExchangeEventType USER_ORDERS_LIST
public static final ExchangeEventType ACCOUNT_INFO
public static final ExchangeEventType USER_TRADE_VOLUME
public static final ExchangeEventType USER_ORDER_ADDED
public static final ExchangeEventType USER_ORDER_CANCELED
public static final ExchangeEventType USER_ORDER_NOT_FOUND
public static final ExchangeEventType USER_WALLET
public static final ExchangeEventType USER_WALLET_UPDATE
public static final ExchangeEventType USER_MARKET_ORDER_EST
public static ExchangeEventType[] values()
for (ExchangeEventType c : ExchangeEventType.values()) System.out.println(c);
public static ExchangeEventType 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 nullCopyright © 2012–2018 Xeiam, LLC. All rights reserved.