API Documentation

Category Description

Up to last 4 ex-dividend dates, each contains ex-date, amount, attributes, record date, payment date, etcam

Category Identification

pNxCoreMessage->coreData.Category.pnxStringCategory->Atom 61
pNxCoreMessage->coreData.Category.pnxStringCategory->String ExDividend

Update Time and Frequency

Approximate Time Info
00:00 AM Information from previous session
05:15 AM Current session information
Very Rare Updates Very rare updates throughout the day

Category Fields | 32

Index FieldName FieldType C Code Info
0 ExDate NxCFT_DATE pnxFields[0].data.nxDate First day of stock trading ex-dividend
1 RecordDate NxCFT_DATE pnxFields[1].data.nxDate Date determining which stockholders are elgible for Dividend
2 PaymentDate NxCFT_DATE pnxFields[2].data.nxDate Date dividend is paid
3 AnnoucementDate NxCFT_DATE pnxFields[3].data.nxDate Date dividend was declared
4 Amount NxCFT_PRICE pnxFields[4].data.nxPrice Dividend amount in $US, unless specified in Attributes
5 Attributes NxCFT_STRING_MAP pnxFields[5].data.stringTableItem Flags such as Monthly, Annual, Increase, Multiple, GrossAmount, etc, from table table_NxST_EXDIVIDENDATTRIB.html
6 LessAmount NxCFT_32BIT pnxFields[6].data.i32Bit Fees (if any) deducted from the dividend Amount
7 SourceFlags NxCFT_32BIT pnxFields[7].data.i32Bit Origin of the category message: Nanex if 1, and DTN if 0, blank or any other value
8 ExDate NxCFT_DATE pnxFields[8].data.nxDate (Next Oldest 1) First day of stock trading ex-dividend
9 RecordDate NxCFT_DATE pnxFields[9].data.nxDate (Next Oldest 1) Date determining which stockholders are elgible for Dividend
10 PaymentDate NxCFT_DATE pnxFields[10].data.nxDate (Next Oldest 1) Date dividend is paid
11 AnnoucementDate NxCFT_DATE pnxFields[11].data.nxDate (Next Oldest 1) Date dividend was declared
12 Amount NxCFT_PRICE pnxFields[12].data.nxPrice (Next Oldest 1) Dividend amount in $US, unless specified in Attributes
13 Attributes NxCFT_STRING_MAP pnxFields[13].data.stringTableItem (Next Oldest 1) Flags such as Monthly, Annual, Increase, Multiple, GrossAmount, etc, from table table_NxST_EXDIVIDENDATTRIB.html
14 LessAmount NxCFT_32BIT pnxFields[14].data.i32Bit (Next Oldest 1) Fees (if any) deducted from the dividend Amount
15 SourceFlags NxCFT_32BIT pnxFields[15].data.i32Bit (Next Oldest 1) Origin of the category message: Nanex if 1, and DTN if 0, blank or any other value
16 ExDate NxCFT_DATE pnxFields[16].data.nxDate (Next Oldest 2) First day of stock trading ex-dividend
17 RecordDate NxCFT_DATE pnxFields[17].data.nxDate (Next Oldest 2) Date determining which stockholders are elgible for Dividend
18 PaymentDate NxCFT_DATE pnxFields[18].data.nxDate (Next Oldest 2) Date dividend is paid
19 AnnoucementDate NxCFT_DATE pnxFields[19].data.nxDate (Next Oldest 2) Date dividend was declared
20 Amount NxCFT_PRICE pnxFields[20].data.nxPrice (Next Oldest 2) Dividend amount in $US, unless specified in Attributes
21 Attributes NxCFT_STRING_MAP pnxFields[21].data.stringTableItem (Next Oldest 2) Flags such as Monthly, Annual, Increase, Multiple, GrossAmount, etc, from table table_NxST_EXDIVIDENDATTRIB.html
22 LessAmount NxCFT_32BIT pnxFields[22].data.i32Bit (Next Oldest 2) Fees (if any) deducted from the dividend Amount
23 SourceFlags NxCFT_32BIT pnxFields[23].data.i32Bit (Next Oldest 2) Origin of the category message: Nanex if 1, and DTN if 0, blank or any other value
24 ExDate NxCFT_DATE pnxFields[24].data.nxDate (Next Oldest 3) First day of stock trading ex-dividend
25 RecordDate NxCFT_DATE pnxFields[25].data.nxDate (Next Oldest 3) Date determining which stockholders are elgible for Dividend
26 PaymentDate NxCFT_DATE pnxFields[26].data.nxDate (Next Oldest 3) Date dividend is paid
27 AnnoucementDate NxCFT_DATE pnxFields[27].data.nxDate (Next Oldest 3) Date dividend was declared
28 Amount NxCFT_PRICE pnxFields[28].data.nxPrice (Next Oldest 3) Dividend amount in $US, unless specified in Attributes
29 Attributes NxCFT_STRING_MAP pnxFields[29].data.stringTableItem (Next Oldest 3) Flags such as Monthly, Annual, Increase, Multiple, GrossAmount, etc, from table table_NxST_EXDIVIDENDATTRIB.html
30 LessAmount NxCFT_32BIT pnxFields[30].data.i32Bit (Next Oldest 3) Fees (if any) deducted from the dividend Amount
31 SourceFlags NxCFT_32BIT pnxFields[31].data.i32Bit (Next Oldest 3) Origin of the category message: Nanex if 1, and DTN if 0, blank or any other value

Code Sample from CategoryDumper project:

void onNxCoreCategory_61(const NxCoreMessage *pNxCoreMsg)
{
     NxCategoryField *pField;
			 
     // Print the category num and the Symbol
     PrintSymbol(pNxCoreMsg);
 			 
     for (int n=0;n<=24;n+=8)
     {
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n];		          
         if (pField->Set)
             printf("Ex Date: %02d/%02d/%d \n",
                    pField->data.nxDate.Month,
                    pField->data.nxDate.Day,
                    pField->data.nxDate.Year);
 			 
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n+1];		          
         if (pField->Set)
             printf("Record Date: %02d/%02d/%d \n",
                    pField->data.nxDate.Month,
                    pField->data.nxDate.Day,
                    pField->data.nxDate.Year);
 			 
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n+2];		          
         if (pField->Set)
             printf("Payment Date: %02d/%02d/%d \n",
                    pField->data.nxDate.Month,
                    pField->data.nxDate.Day,
                    pField->data.nxDate.Year);
 			 
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n+3];		          
         if (pField->Set)
             printf("Announcement Date: %02d/%02d/%d \n",
                    pField->data.nxDate.Month,
                    pField->data.nxDate.Day,
                    pField->data.nxDate.Year);
 			 
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n+4];
         if (pField->Set)
             printf("Amount: %0.4f \n",
                    pfNxCorePriceToDouble(pField->data.nxPrice.Price,
                                          pField->data.nxPrice.PriceType));
 			 
         // See table_NxST_EXDIVIDENDATTRIB.html for possible attribute values  			 
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n+5];		 
         if (pField->Set)
             printf("Attributes: Table - %d  Attributes - %d \n",
                    pField->data.stringTableItem.ixTable,
                    pField->data.stringTableItem.idString);
 			 
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n+6];
         if (pField->Set)
             printf("Less Amount: %d \n",pField->data.i32Bit);
 			 
         pField=&pNxCoreMsg->coreData.Category.pnxFields[n+7];
         if (pField->Set)
             printf("Source Flags: %d \n",pField->data.i32Bit);
     }
}