Name | |
---|---|
int | getValue() Returns the integer value for the type. This value can be used in switch statements against the public XXX_VALUE static members of the class. |
string | toString() Returns the string name for the enumerated type. |
override string | ToString() |
override int | GetHashCode() |
bool | equals(MamdaOrderImbalanceType imbDataType) Compare the two types for equality. Returns true if the integer value of both types is equal. Otherwise returns false. |
override bool | Equals(object obj) |
MamdaOrderImbalanceType | enumObjectForValue(int value) Return an instance of a MamdaOrderImbalanceType corresponding to the specified integer value. Returns null if the integer value is not recognised. |
String | valueToString(int value) Utility method for mapping type integer values to corresponding string values. |
int | stringToValue(String type) |
bool | isMamdaOrderImbalanceType(int value) |
bool | isMamdaImbalanceOrder(int value) |
bool | operator==(MamdaOrderImbalanceType left, MamdaOrderImbalanceType right) |
bool | operator!=(MamdaOrderImbalanceType left, MamdaOrderImbalanceType right) |
int getValue()
Returns the integer value for the type. This value can be used in switch statements against the public XXX_VALUE static members of the class.
Return: The integer type.
string toString()
Returns the string name for the enumerated type.
Return: Name for the type.
override string ToString()
override int GetHashCode()
bool equals(
MamdaOrderImbalanceType imbDataType
)
Compare the two types for equality. Returns true if the integer value of both types is equal. Otherwise returns false.
Parameters:
Return: Whether the two objects are equal.
override bool Equals(
object obj
)
static MamdaOrderImbalanceType enumObjectForValue(
int value
)
Return an instance of a MamdaOrderImbalanceType corresponding to the specified integer value. Returns null if the integer value is not recognised.
Parameters:
Return: Instance of a MamdaOrderImbalanceType if a mapping exists.
static String valueToString(
int value
)
Utility method for mapping type integer values to corresponding string values.
Parameters:
Return: The string name value of the specified MamdaOrderImbalanceType value.
Returns “UNKNOWN” if the int type value is not recognised.
static int stringToValue(
String type
)
static bool isMamdaOrderImbalanceType(
int value
)
static bool isMamdaImbalanceOrder(
int value
)
static bool operator==(
MamdaOrderImbalanceType left,
MamdaOrderImbalanceType right
)
static bool operator!=(
MamdaOrderImbalanceType left,
MamdaOrderImbalanceType right
)
static const int MARKET_IMBALANCE_BUY_VALUE = 16;
MARKET_IMBALANCE_BUY
static readonly MamdaOrderImbalanceType MARKET_IMBALANCE_BUY =
new MamdaOrderImbalanceType(valueToString(MARKET_IMBALANCE_BUY_VALUE), MARKET_IMBALANCE_BUY_VALUE);
static const int MARKET_IMBALANCE_SELL_VALUE =17;
MARKET_IMBALANCE_SELL
static readonly MamdaOrderImbalanceType MARKET_IMBALANCE_SELL =
new MamdaOrderImbalanceType(valueToString(MARKET_IMBALANCE_SELL_VALUE), MARKET_IMBALANCE_SELL_VALUE);
static const int NO_MARKET_IMBALANCE_VALUE = 18;
NO_MARKET_IMBALANCE
static readonly MamdaOrderImbalanceType NO_MARKET_IMBALANCE =
new MamdaOrderImbalanceType(valueToString(NO_MARKET_IMBALANCE_VALUE), NO_MARKET_IMBALANCE_VALUE);
static const int MOC_IMBALANCE_BUY_VALUE = 19;
MOC_IMBALANCE_BUY
static readonly MamdaOrderImbalanceType MOC_IMBALANCE_BUY =
new MamdaOrderImbalanceType(valueToString(MOC_IMBALANCE_BUY_VALUE), MOC_IMBALANCE_BUY_VALUE);
static const int MOC_IMBALANCE_SELL_VALUE = 20;
MOC_IMBALANCE_SELL
static readonly MamdaOrderImbalanceType MOC_IMBALANCE_SELL =
new MamdaOrderImbalanceType(valueToString(MOC_IMBALANCE_SELL_VALUE), MOC_IMBALANCE_SELL_VALUE);
static const int NO_MOC_IMBALANCE_VALUE = 21;
NO_MOC_IMBALANCE
static readonly MamdaOrderImbalanceType NO_MOC_IMBALANCE =
new MamdaOrderImbalanceType(valueToString(NO_MOC_IMBALANCE_VALUE), NO_MOC_IMBALANCE_VALUE);
static const int ORDER_IMB_VALUE = 22;
ORDER_IMB
static readonly MamdaOrderImbalanceType ORDER_IMB =
new MamdaOrderImbalanceType(valueToString(ORDER_IMB_VALUE), ORDER_IMB_VALUE);
static const int ORDER_INF_VALUE = 23;
ORDER_INF
static readonly MamdaOrderImbalanceType ORDER_INF =
new MamdaOrderImbalanceType(valueToString(ORDER_INF_VALUE), ORDER_INF_VALUE);
static const int ORDER_IMBALANCE_BUY_VALUE = 24;
ORDER_IMBALANCE_BUY_VALUE
static readonly MamdaOrderImbalanceType ORDER_IMBALANCE_BUY =
new MamdaOrderImbalanceType(valueToString(ORDER_IMBALANCE_BUY_VALUE), ORDER_IMBALANCE_BUY_VALUE);
static const int ORDER_IMBALANCE_SELL_VALUE = 25;
ORDER_IMBALANCE_SELL_VALUE
static readonly MamdaOrderImbalanceType ORDER_IMBALANCE_SELL =
new MamdaOrderImbalanceType(valueToString(ORDER_IMBALANCE_SELL_VALUE), ORDER_IMBALANCE_SELL_VALUE);
static const int NO_ORDER_IMBALANCE_VALUE = 26;
NO_ORDER_IMBALANCE
static readonly MamdaOrderImbalanceType NO_ORDER_IMBALANCE =
new MamdaOrderImbalanceType(valueToString(NO_ORDER_IMBALANCE_VALUE), NO_ORDER_IMBALANCE_VALUE);
static const int UNKNOWN = -99;
UKNOWN
static readonly MamdaOrderImbalanceType TYPE_UNKNOWN =
new MamdaOrderImbalanceType(valueToString(UNKNOWN), UNKNOWN);
Updated on 2023-03-31 at 15:30:13 +0100