Category Description
Net asset value and change from previous session plus current yield, and offer, market, or wrap price where applicable.
Category Identification
| pNxCoreMessage->coreData.Category.pnxStringCategory->Atom | 71 |
| pNxCoreMessage->coreData.Category.pnxStringCategory->String | FundPricing |
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 | 6
| Index | FieldName | FieldType | C Code | Info |
|---|---|---|---|---|
| 0 | NetAssetValue | NxCFT_PRICE | pnxFields[0].data.nxPrice | Net asset value (NAV) |
| 1 | NavNetChange | NxCFT_PRICE | pnxFields[1].data.nxPrice | NAV net change |
| 2 | OfferPrice | NxCFT_PRICE | pnxFields[2].data.nxPrice | Offer price |
| 3 | MarketPrice | NxCFT_PRICE | pnxFields[3].data.nxPrice | Market price |
| 4 | WrapPrice | NxCFT_PRICE | pnxFields[4].data.nxPrice | Wrap price |
| 5 | CurrentYield | NxCFT_PRICE | pnxFields[5].data.nxPrice | Current yield |
Code Sample from CategoryDumper project:
void onNxCoreCategory_71(const NxCoreMessage *pNxCoreMsg)
{
NxCategoryField *pField;
// Print the category num and the Symbol
PrintSymbol(pNxCoreMsg);
pField=&pNxCoreMsg->coreData.Category.pnxFields[0];
if (pField->Set)
printf("Net Asset Value: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[1];
if (pField->Set)
printf("Nav Net Change: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[2];
if (pField->Set)
printf("Offer Price: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[3];
if (pField->Set)
printf("Market Price: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[4];
if (pField->Set)
printf("Wrap Price: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[5];
if (pField->Set)
printf("Current Yield: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
}