Category Description
Name, CUSIP, Maturity Date, Call Date, Coupon Rate.
Category Identification
| pNxCoreMessage->coreData.Category.pnxStringCategory->Atom | 6 |
| pNxCoreMessage->coreData.Category.pnxStringCategory->String | BondSymbolInfo |
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 | 5
| Index | FieldName | FieldType | C Code | Info |
|---|---|---|---|---|
| 0 | Name | NxCFT_STRINGZ | pnxFields[0].data.StringZ | Name of the bond |
| 1 | CUSIP | NxCFT_STRINGZ | pnxFields[1].data.StringZ | A CUSIP is a unique identifier assigned to a bond at the time it is issued. |
| 2 | MaturityDate | NxCFT_DATE | pnxFields[2].data.nxDate | The maturity, or repayment, date of the bond. |
| 3 | CallDate | NxCFT_DATE | pnxFields[3].data.nxDate | The date when the bond can be redeemed prior to maturity. |
| 4 | CouponRate | NxCFT_PRICE | pnxFields[4].data.nxPrice | The Coupon, or stated interest, rate for this bond. |
Code Sample from CategoryDumper project:
void onNxCoreCategory_6(const NxCoreMessage *pNxCoreMsg)
{
NxCategoryField *pField;
// Print the category num and the Symbol
PrintSymbol(pNxCoreMsg);
pField=&pNxCoreMsg->coreData.Category.pnxFields[0];
if (pField->Set)
printf("Name of Bond: %s \n",
pField->data.StringZ);
pField=&pNxCoreMsg->coreData.Category.pnxFields[1];
if (pField->Set)
printf("CUSIP #: %s \n",
pField->data.StringZ);
pField=&pNxCoreMsg->coreData.Category.pnxFields[2];
if (pField->Set)
printf("Maturity Date: %02d/%02d/%d \n",
pField->data.nxDate.Month,
pField->data.nxDate.Day,
pField->data.nxDate.Year);
pField=&pNxCoreMsg->coreData.Category.pnxFields[3];
if (pField->Set)
printf("Call Date: %02d/%02d/%d \n",
pField->data.nxDate.Month,
pField->data.nxDate.Day,
pField->data.nxDate.Year);
pField=&pNxCoreMsg->coreData.Category.pnxFields[4];
if (pField->Set)
printf("Coupon Rate: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
}