secType (property)
The type of security.
Syntax
- (int)secType:(int)secIndex;
/* Possible Values */
ST_DEBTINFO(0),
ST_MFINFO(1),
ST_OPTINFO(2),
ST_OTHERINFO(3),
ST_STOCKINFO(4),
ST_OTHER(255)
public func secType(secIndex: Int32) throws -> InvstatementSecTypes
public enum InvstatementSecTypes : Int32 { case stDEBTINFO = 0 case stMFINFO = 1 case stOPTINFO = 2 case stOTHERINFO = 3 case stSTOCKINFO = 4 case stOTHER = 255 }
Default Value
0
Remarks
The type of security. This is a string representation of the value returned by the SecType property.
The security types and their meanings are as follows:
stDEBTINFO (0) | Debt information |
stMFINFO (1) | Mutual fund information |
stOPTINFO (2) | Option information |
stOTHERINFO (3) | Other information |
stSTOCKINFO (4) | Stock information |
stOTHER(255) | Other |
The SecIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SecCount property.
This property is read-only.