Category Description
Contains status and effective date -- status like Suspended, Deficient, etc
Category Identification
| pNxCoreMessage->coreData.Category.pnxStringCategory->Atom | 34 |
| pNxCoreMessage->coreData.Category.pnxStringCategory->String | FinancialStatus |
Update Time and Frequency
| Approximate Time | Info |
|---|---|
| 00:00 AM | Information from previous session |
| 05:15 AM | Current session information |
| No Updates | No updates throughout the day |
Category Fields | 2
| Index | FieldName | FieldType | C Code | Info |
|---|---|---|---|---|
| 0 | FinancialStatusMap | NxCFT_STRING_MAP | pnxFields[0].data.stringTableItem | Flags such as Deficient, Delinquent, Suspended, RestoredGood, etc, from table table_NxST_SYMBOLFNCLSTATUSMAP.html |
| 1 | StatusDate | NxCFT_DATE | pnxFields[1].data.nxDate | Date of last status change |
Code Sample from CategoryDumper project:
void onNxCoreCategory_34(const NxCoreMessage *pNxCoreMsg)
{
NxCategoryField *pField;
// Print the category num and the Symbol
PrintSymbol(pNxCoreMsg);
pField=&pNxCoreMsg->coreData.Category.pnxFields[0];
if (pField->Set)
{
printf("Financial Status Map: Table - %d Status - ",
pField->data.stringTableItem.ixTable);
// See table_NxST_SYMBOLFNCLSTATUSMAP.html
if (pField->data.stringTableItem.idString & 0x00000001)
printf("Restored Good \n");
if (pField->data.stringTableItem.idString & 0x00000002)
printf("Bankrupt \n");
if (pField->data.stringTableItem.idString & 0x00000004)
printf("Deficient \n");
if (pField->data.stringTableItem.idString & 0x00000008)
printf("Deliquent \n");
if (pField->data.stringTableItem.idString & 0x00000010)
printf("Suspended \n");
}
pField=&pNxCoreMsg->coreData.Category.pnxFields[1];
if (pField->Set)
printf("Status Date: %02d/%02d/%d \n",
pField->data.nxDate.Month,
pField->data.nxDate.Day,
pField->data.nxDate.Year);
}