Name | |
---|---|
String | toString(short tradeSide) |
short | mamdaTradeSideFromString(String tradeSide) |
void | setState(short side) |
short | getState() |
Name | |
---|---|
final short | TRADE_SIDE_UNKNOWN |
final short | TRADE_SIDE_BUY |
final short | TRADE_SIDE_SELL |
class com::wombat::mamda::MamdaTradeSide;
A class representing trade Side.
static inline String toString(
short tradeSide
)
Parameters:
Convert a MamdaTradeSide to an appropriate, displayable string.
static inline short mamdaTradeSideFromString(
String tradeSide
)
inline void setState(
short side
)
inline short getState()
static final short TRADE_SIDE_UNKNOWN = 0;
The Values of TradeSide: The value 0 maps to Unknown The value 1 maps to Buy The value 2 maps to Sell
static final short TRADE_SIDE_BUY = 1;
static final short TRADE_SIDE_SELL = 2;
Updated on 2023-03-31 at 15:30:36 +0100