Classes Files

Wombat::MamdaSecurityStatus

Security Status values

Public Types

  Name
enum class mamdaSecurityStatus { SECURITY_STATUS_NONE = 0, SECURITY_STATUS_NORMAL = 1, SECURITY_STATUS_CLOSED = 2, SECURITY_STATUS_HALTED = 3, SECURITY_STATUS_NOT_EXIST = 4, SECURITY_STATUS_DELETED = 5, SECURITY_STATUS_AUCTION = 6, SECURITY_STATUS_CROSSING = 7, SECURITY_STATUS_SUSPENDED = 8, SECURITY_STATUS_AT_LAST = 9, SECURITY_STATUS_INACTIVE = 10, SECURITY_STATUS_UNKNOWN = 99}
An enumeration representing the status of a security such as whether or not it is halted or closed for trading.

Public Functions

  Name
string toString(MamdaSecurityStatus.mamdaSecurityStatus securityStatus)
Convert a MamdaSecurityStatus to an appropriate, displayable string
MamdaSecurityStatus.mamdaSecurityStatus mamdaSecurityStatusFromString(string securityStatus)
Convert a string representation of a security status to the enumeration.

Public Types Documentation

enum mamdaSecurityStatus

Enumerator Value Description
SECURITY_STATUS_NONE 0  
SECURITY_STATUS_NORMAL 1  
SECURITY_STATUS_CLOSED 2  
SECURITY_STATUS_HALTED 3  
SECURITY_STATUS_NOT_EXIST 4  
SECURITY_STATUS_DELETED 5  
SECURITY_STATUS_AUCTION 6  
SECURITY_STATUS_CROSSING 7  
SECURITY_STATUS_SUSPENDED 8  
SECURITY_STATUS_AT_LAST 9  
SECURITY_STATUS_INACTIVE 10  
SECURITY_STATUS_UNKNOWN 99  

An enumeration representing the status of a security such as whether or not it is halted or closed for trading.

Public Functions Documentation

function toString

static string toString(
    MamdaSecurityStatus.mamdaSecurityStatus securityStatus
)

Convert a MamdaSecurityStatus to an appropriate, displayable string

function mamdaSecurityStatusFromString

static MamdaSecurityStatus.mamdaSecurityStatus mamdaSecurityStatusFromString(
    string securityStatus
)

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


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