public enum BestBidAskTrackingParameter extends Enum<BestBidAskTrackingParameter>
Enum Constant and Description |
---|
ALL
Price, quantity, orders count and order id will be used to track best bids and best asks.
|
NEITHER
Best bids and asks will not be tracked.
|
ORDER_ID
Order id for Market by Order Book.
|
ORDERS_COUNT
Orders count will be used to track best bids and best asks.
|
PRICE
Price will be used to track best bids and best asks.
|
QUANTITY
Quantity will be used to track best bids and best asks.
|
Modifier and Type | Method and Description |
---|---|
static BestBidAskTrackingParameter |
forValue(int value)
Convert int to enumeration.
|
int |
getValue()
Get int value.
|
static BestBidAskTrackingParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BestBidAskTrackingParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BestBidAskTrackingParameter NEITHER
public static final BestBidAskTrackingParameter PRICE
public static final BestBidAskTrackingParameter QUANTITY
public static final BestBidAskTrackingParameter ORDERS_COUNT
public static final BestBidAskTrackingParameter ORDER_ID
public static final BestBidAskTrackingParameter ALL
public static BestBidAskTrackingParameter[] values()
for (BestBidAskTrackingParameter c : BestBidAskTrackingParameter.values()) System.out.println(c);
public static BestBidAskTrackingParameter 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 getValue()
public static BestBidAskTrackingParameter forValue(int value)
value
- int value.Copyright © 2010–2020 Onix Solutions. All rights reserved.