API Documentation

Category Description

Average Maturity, 7-day yield, Annualized yield, Total Assets.

Category Identification

pNxCoreMessage->coreData.Category.pnxStringCategory->Atom 12
pNxCoreMessage->coreData.Category.pnxStringCategory->String MoneyMarketFundamental

Update Time and Frequency

Approximate Time Info
00:00 AM Information from previous session
Occasional Updates Occasional updates throughout the day

Category Fields | 4

Index FieldName FieldType C Code Info
0 AverageMaturity NxCFT_32BIT pnxFields[0].data.i32Bit Average maturity
1 SevenDayYield NxCFT_PRICE pnxFields[1].data.nxPrice 7-day yield
2 Annualized7DayYield NxCFT_PRICE pnxFields[2].data.nxPrice Annualized 7-day yield
3 TotalAssets NxCFT_PRICE pnxFields[3].data.nxPrice Total assets

Code Sample from CategoryDumper project:

void onNxCoreCategory_12(const NxCoreMessage *pNxCoreMsg)
{
     NxCategoryField *pField;
			 
     // Print the category num and the Symbol
     PrintSymbol(pNxCoreMsg); 			 
 			 
     pField=&pNxCoreMsg->coreData.Category.pnxFields[0];
     if (pField->Set)			 
         printf("Avg Maturity: %d \n",pField->data.i32Bit); 			 
 			 
     pField=&pNxCoreMsg->coreData.Category.pnxFields[1];
     if (pField->Set)
         printf("Seven Day Yield: %0.4f \n",
                pfNxCorePriceToDouble(pField->data.nxPrice.Price,
                                      pField->data.nxPrice.PriceType)); 			 
 			 
     pField=&pNxCoreMsg->coreData.Category.pnxFields[2];
     if (pField->Set)
         printf("Annualized 7 Day Yield: %0.4f \n",
                pfNxCorePriceToDouble(pField->data.nxPrice.Price,
                                      pField->data.nxPrice.PriceType)); 			 
 			 
     pField=&pNxCoreMsg->coreData.Category.pnxFields[3];
     if (pField->Set)
         printf("Total Assets: %0.4f \n",
                pfNxCorePriceToDouble(pField->data.nxPrice.Price,
                                      pField->data.nxPrice.PriceType));     
}