API Documentation

NxST_PRICEFLAGS(28) - Trade Price Flags


#define Value Comments
SetLast 0x00000001
SetHigh 0x00000002
SetLow 0x00000004
SetOpen 0x00000008
InsertRecord 0x00000010
CancelRecord 0x00000020
Settlement 0x00000040

You may use code from a helper header file

You may use the code below in your own program



// example
   bool bIsSetLast      = (field & nxST_PRICEFLAGS::SetLast)      != 0;
   bool bIsSetHigh      = (field & nxST_PRICEFLAGS::SetHigh)      != 0;
   bool bIsSetLow       = (field & nxST_PRICEFLAGS::SetLow)       != 0;
   bool bIsSetOpen      = (field & nxST_PRICEFLAGS::SetOpen)      != 0;
   bool bIsInsertRecord = (field & nxST_PRICEFLAGS::InsertRecord) != 0;
   bool bIsCancelRecord = (field & nxST_PRICEFLAGS::CancelRecord) != 0;
   bool bIsSettlement   = (field & nxST_PRICEFLAGS::Settlement)   != 0;