Category Description
ICE End of Day Summary
Category Identification
| pNxCoreMessage->coreData.Category.pnxStringCategory->Atom | 59 |
| pNxCoreMessage->coreData.Category.pnxStringCategory->String | ICE_EndOfDaySummary |
Update Time and Frequency
| Approximate Time | Info |
|---|---|
| 00:00 AM | Minimal information from previous session |
| Market close | Updates after market close |
Category Fields | 4
| Index | FieldName | FieldType | C Code | Info |
|---|---|---|---|---|
| 0 | Open | NxCFT_PRICE | pnxFields[0].data.nxPrice | Open price |
| 1 | High | NxCFT_PRICE | pnxFields[1].data.nxPrice | High price |
| 2 | Low | NxCFT_PRICE | pnxFields[2].data.nxPrice | Low price |
| 3 | Last | NxCFT_PRICE | pnxFields[3].data.nxPrice | Last price |
Code Sample from CategoryDumper project:
void onNxCoreCategory_59(const NxCoreMessage *pNxCoreMsg)
{
NxCategoryField *pField;
// Print the category num and the Symbol
PrintSymbol(pNxCoreMsg);
pField=&pNxCoreMsg->coreData.Category.pnxFields[0];
if (pField->Set)
printf("Open: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[1];
if (pField->Set)
printf("High: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[2];
if (pField->Set)
printf("Low: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
pField=&pNxCoreMsg->coreData.Category.pnxFields[3];
if (pField->Set)
printf("Last: %0.4f \n",
pfNxCorePriceToDouble(pField->data.nxPrice.Price,
pField->data.nxPrice.PriceType));
}