Classes Files

Wombat::MamdaTradeSide

Public Types

  Name
enum class mamdaTradeSide { TRADE_SIDE_UNKNOWN = 0, TRADE_SIDE_BUY = 1, TRADE_SIDE_SELL = 2}
An enumeration representing trade side. The value 0 maps to Unknown. The value 1 maps to Buy. The value 2 maps to Sell.

Public Functions

  Name
string toString(short tradeSide)
MamdaTradeSide.mamdaTradeSide mamdaTradeSideFromString(string tradeSide)
void setState(short side)
short getState()

Public Types Documentation

enum mamdaTradeSide

Enumerator Value Description
TRADE_SIDE_UNKNOWN 0  
TRADE_SIDE_BUY 1  
TRADE_SIDE_SELL 2  

An enumeration representing trade side. The value 0 maps to Unknown. The value 1 maps to Buy. The value 2 maps to Sell.

Public Functions Documentation

function toString

static string toString(
    short tradeSide
)

function mamdaTradeSideFromString

static MamdaTradeSide.mamdaTradeSide mamdaTradeSideFromString(
    string tradeSide
)

function setState

void setState(
    short side
)

function getState

short getState()

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