Classes Files

Wombat::MamdaOrderImbalanceType

Public Functions

  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)

Public Attributes

  Name
const int MARKET_IMBALANCE_BUY_VALUE
readonly MamdaOrderImbalanceType MARKET_IMBALANCE_BUY
const int MARKET_IMBALANCE_SELL_VALUE
readonly MamdaOrderImbalanceType MARKET_IMBALANCE_SELL
const int NO_MARKET_IMBALANCE_VALUE
readonly MamdaOrderImbalanceType NO_MARKET_IMBALANCE
const int MOC_IMBALANCE_BUY_VALUE
readonly MamdaOrderImbalanceType MOC_IMBALANCE_BUY
const int MOC_IMBALANCE_SELL_VALUE
readonly MamdaOrderImbalanceType MOC_IMBALANCE_SELL
const int NO_MOC_IMBALANCE_VALUE
readonly MamdaOrderImbalanceType NO_MOC_IMBALANCE
const int ORDER_IMB_VALUE
readonly MamdaOrderImbalanceType ORDER_IMB
const int ORDER_INF_VALUE
readonly MamdaOrderImbalanceType ORDER_INF
const int ORDER_IMBALANCE_BUY_VALUE
readonly MamdaOrderImbalanceType ORDER_IMBALANCE_BUY
const int ORDER_IMBALANCE_SELL_VALUE
readonly MamdaOrderImbalanceType ORDER_IMBALANCE_SELL
const int NO_ORDER_IMBALANCE_VALUE
readonly MamdaOrderImbalanceType NO_ORDER_IMBALANCE
const int UNKNOWN
readonly MamdaOrderImbalanceType TYPE_UNKNOWN

Public Functions Documentation

function getValue

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.

function toString

string toString()

Returns the string name for the enumerated type.

Return: Name for the type.

function ToString

override string ToString()

function GetHashCode

override int GetHashCode()

function equals

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:

  • imbDataType The object to check equality against.

Return: Whether the two objects are equal.

function Equals

override bool Equals(
    object obj
)

function enumObjectForValue

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.

function valueToString

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.

function stringToValue

static int stringToValue(
    String type
)

function isMamdaOrderImbalanceType

static bool isMamdaOrderImbalanceType(
    int value
)

function isMamdaImbalanceOrder

static bool isMamdaImbalanceOrder(
    int value
)

function operator==

static bool operator==(
    MamdaOrderImbalanceType left,
    MamdaOrderImbalanceType right
)

function operator!=

static bool operator!=(
    MamdaOrderImbalanceType left,
    MamdaOrderImbalanceType right
)

Public Attributes Documentation

variable MARKET_IMBALANCE_BUY_VALUE

static const int MARKET_IMBALANCE_BUY_VALUE = 16;

MARKET_IMBALANCE_BUY

variable MARKET_IMBALANCE_BUY

static readonly MamdaOrderImbalanceType MARKET_IMBALANCE_BUY =
			new MamdaOrderImbalanceType(valueToString(MARKET_IMBALANCE_BUY_VALUE), MARKET_IMBALANCE_BUY_VALUE);

variable MARKET_IMBALANCE_SELL_VALUE

static const int MARKET_IMBALANCE_SELL_VALUE =17;

MARKET_IMBALANCE_SELL

variable MARKET_IMBALANCE_SELL

static readonly MamdaOrderImbalanceType MARKET_IMBALANCE_SELL =
			new MamdaOrderImbalanceType(valueToString(MARKET_IMBALANCE_SELL_VALUE), MARKET_IMBALANCE_SELL_VALUE);

variable NO_MARKET_IMBALANCE_VALUE

static const int NO_MARKET_IMBALANCE_VALUE = 18;

NO_MARKET_IMBALANCE

variable NO_MARKET_IMBALANCE

static readonly MamdaOrderImbalanceType NO_MARKET_IMBALANCE =
			new MamdaOrderImbalanceType(valueToString(NO_MARKET_IMBALANCE_VALUE), NO_MARKET_IMBALANCE_VALUE);

variable MOC_IMBALANCE_BUY_VALUE

static const int MOC_IMBALANCE_BUY_VALUE = 19;

MOC_IMBALANCE_BUY

variable MOC_IMBALANCE_BUY

static readonly MamdaOrderImbalanceType MOC_IMBALANCE_BUY =
			new MamdaOrderImbalanceType(valueToString(MOC_IMBALANCE_BUY_VALUE), MOC_IMBALANCE_BUY_VALUE);

variable MOC_IMBALANCE_SELL_VALUE

static const int MOC_IMBALANCE_SELL_VALUE = 20;

MOC_IMBALANCE_SELL

variable MOC_IMBALANCE_SELL

static readonly MamdaOrderImbalanceType MOC_IMBALANCE_SELL =
			new MamdaOrderImbalanceType(valueToString(MOC_IMBALANCE_SELL_VALUE), MOC_IMBALANCE_SELL_VALUE);

variable NO_MOC_IMBALANCE_VALUE

static const int NO_MOC_IMBALANCE_VALUE = 21;

NO_MOC_IMBALANCE

variable NO_MOC_IMBALANCE

static readonly MamdaOrderImbalanceType NO_MOC_IMBALANCE =
			new MamdaOrderImbalanceType(valueToString(NO_MOC_IMBALANCE_VALUE), NO_MOC_IMBALANCE_VALUE);

variable ORDER_IMB_VALUE

static const int ORDER_IMB_VALUE = 22;

ORDER_IMB

variable ORDER_IMB

static readonly MamdaOrderImbalanceType ORDER_IMB =
			new MamdaOrderImbalanceType(valueToString(ORDER_IMB_VALUE), ORDER_IMB_VALUE);

variable ORDER_INF_VALUE

static const int ORDER_INF_VALUE = 23;

ORDER_INF

variable ORDER_INF

static readonly MamdaOrderImbalanceType ORDER_INF =
			new MamdaOrderImbalanceType(valueToString(ORDER_INF_VALUE), ORDER_INF_VALUE);

variable ORDER_IMBALANCE_BUY_VALUE

static const int ORDER_IMBALANCE_BUY_VALUE = 24;

ORDER_IMBALANCE_BUY_VALUE

variable ORDER_IMBALANCE_BUY

static readonly MamdaOrderImbalanceType ORDER_IMBALANCE_BUY =
			new MamdaOrderImbalanceType(valueToString(ORDER_IMBALANCE_BUY_VALUE), ORDER_IMBALANCE_BUY_VALUE);

variable ORDER_IMBALANCE_SELL_VALUE

static const int ORDER_IMBALANCE_SELL_VALUE = 25;

ORDER_IMBALANCE_SELL_VALUE

variable ORDER_IMBALANCE_SELL

static readonly MamdaOrderImbalanceType ORDER_IMBALANCE_SELL =
			new MamdaOrderImbalanceType(valueToString(ORDER_IMBALANCE_SELL_VALUE), ORDER_IMBALANCE_SELL_VALUE);

variable NO_ORDER_IMBALANCE_VALUE

static const int NO_ORDER_IMBALANCE_VALUE = 26;

NO_ORDER_IMBALANCE

variable NO_ORDER_IMBALANCE

static readonly MamdaOrderImbalanceType NO_ORDER_IMBALANCE =
			new MamdaOrderImbalanceType(valueToString(NO_ORDER_IMBALANCE_VALUE), NO_ORDER_IMBALANCE_VALUE);

variable UNKNOWN

static const int UNKNOWN = -99;

UKNOWN

variable TYPE_UNKNOWN

static readonly MamdaOrderImbalanceType TYPE_UNKNOWN =
			new MamdaOrderImbalanceType(valueToString(UNKNOWN), UNKNOWN);

Updated on 2023-03-31 at 15:30:13 +0100