Classes Files

com::wombat::mamda::MamdaSecurityStatus

Public Functions

  Name
String toString(short securityStatus)
short mamdaSecurityStatusFromString(String securityStatus)

Public Attributes

  Name
final short SECURITY_STATUS_NONE
final short SECURITY_STATUS_NORMAL
final short SECURITY_STATUS_CLOSED
final short SECURITY_STATUS_HALTED
final short SECURITY_STATUS_NOT_EXIST
final short SECURITY_STATUS_DELETED
final short SECURITY_STATUS_AUCTION
final short SECURITY_STATUS_CROSSING
final short SECURITY_STATUS_SUSPENDED
final short SECURITY_STATUS_AT_LAST
final short SECURITY_STATUS_INACTIVE
final short SECURITY_STATUS_UNKNOWN

Public Functions Documentation

function toString

static inline String toString(
    short securityStatus
)

Parameters:

  • securityStatus The security status as a long.

Convert a MamdaSecurityStatus to an appropriate, displayable string.

function mamdaSecurityStatusFromString

static inline short mamdaSecurityStatusFromString(
    String securityStatus
)

Parameters:

  • securityStatus The security status as a string.

Return: The security status as a short.

Convert a string representation of a security status to the enumeration.

Public Attributes Documentation

variable SECURITY_STATUS_NONE

static final short SECURITY_STATUS_NONE = 0;

A set of final shorts representing the status of a security such as whether or not it is halted or closed for trading.

variable SECURITY_STATUS_NORMAL

static final short SECURITY_STATUS_NORMAL = 1;

variable SECURITY_STATUS_CLOSED

static final short SECURITY_STATUS_CLOSED = 2;

variable SECURITY_STATUS_HALTED

static final short SECURITY_STATUS_HALTED = 3;

variable SECURITY_STATUS_NOT_EXIST

static final short SECURITY_STATUS_NOT_EXIST = 4;

variable SECURITY_STATUS_DELETED

static final short SECURITY_STATUS_DELETED = 5;

variable SECURITY_STATUS_AUCTION

static final short SECURITY_STATUS_AUCTION = 6;

variable SECURITY_STATUS_CROSSING

static final short SECURITY_STATUS_CROSSING = 7;

variable SECURITY_STATUS_SUSPENDED

static final short SECURITY_STATUS_SUSPENDED = 8;

variable SECURITY_STATUS_AT_LAST

static final short SECURITY_STATUS_AT_LAST = 9;

variable SECURITY_STATUS_INACTIVE

static final short SECURITY_STATUS_INACTIVE = 10;

variable SECURITY_STATUS_UNKNOWN

static final short SECURITY_STATUS_UNKNOWN = 99;

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