Table of Contents


NxST_EQUITYCLASSIFICATIONS(31) - Equity Classification Flags


#define Value Comments
ETF 0x00000001
NQGlobalSelect 0x00000002
HasOptions 0x00000010
HasSSFutures 0x00000020
Dividend 0x00000100
Split 0x00000200
SymHist 0x00000400
NewSymbol 0x00000800
ClosedEndFund 0x00001000
ADR 0x00002000

You may use code from a helper header file

You may use the code below in your own program



// example
   bool bIsETF            = (field & nxST_EQUITYCLASSIFICATIONS::ETF)            != 0;
   bool bIsNQGlobalSelect = (field & nxST_EQUITYCLASSIFICATIONS::NQGlobalSelect) != 0;
   bool bIsHasOptions     = (field & nxST_EQUITYCLASSIFICATIONS::HasOptions)     != 0;
   bool bIsHasSSFutures   = (field & nxST_EQUITYCLASSIFICATIONS::HasSSFutures)   != 0;
   bool bIsDividend       = (field & nxST_EQUITYCLASSIFICATIONS::Dividend)       != 0;
   bool bIsSplit          = (field & nxST_EQUITYCLASSIFICATIONS::Split)          != 0;
   bool bIsSymHist        = (field & nxST_EQUITYCLASSIFICATIONS::SymHist)        != 0;
   bool bIsNewSymbol      = (field & nxST_EQUITYCLASSIFICATIONS::NewSymbol)      != 0;
   bool bIsClosedEndFund  = (field & nxST_EQUITYCLASSIFICATIONS::ClosedEndFund)  != 0;
   bool bIsADR            = (field & nxST_EQUITYCLASSIFICATIONS::ADR)            != 0;