API Documentation

NxST_EXCHANGE(3) - Exchange Codes

#define Value Comments
Composite 0 Composite
NQEX 1 Nasdaq Exchange
NQAD 2 Nasdaq Alternative Display Facility
NYSE 3 New York Stock Exchange
AMEX 4 American Stock Exchange
CBOE 5 Chicago Board Options Exchange
ISEX 6 International Securities Exchange
PACF 7 NYSE ARCA (Pacific)
CINC 8 National Stock Exchange (Cincinnati)
PHIL 9 Philidelphia Stock Exchange
OPRA 10 Options Pricing Reporting Authority
BOST 11 Boston Stock/Options Exchange
NQNM 12 Nasdaq Global+Select Market (NMS)
NQSC 13 Nasdaq Capital Market (SmallCap)
NQBB 14 Nasdaq Bulletin Board
NQPK 15 Nasdaq OTC
NQIX 16 Nasdaq Indexes (GIDS)
CHIC 17 Chicago Stock Exchange
TSE 18 Toronto Stock Exchange
CDNX 19 Canadian Venture Exchange
CME 20 Chicago Mercantile Exchange
NYBT 21 New York Board of Trade
MRCY 22 ISE Mercury Options Exchange
COMX 23 COMEX (division of NYMEX)
CBOT 24 Chicago Board of Trade
NYMX 25 New York Mercantile Exchange
KCBT 26 Kansas City Board of Trade
MGEX 27 Minneapolis Grain Exchange
NQBS 29 Nasdaq Basic
DOWJ 30 Dow Jones Indicies
GEMI 31 ISE Gemini
SIMX 32 Singapore International Monetary Exchange
FTSE 33 London Stock Exchange
EURX 34 Eurex
IMPL 35 Implied Price
DTN 36 Data Transmission Network
LMT 37 London Metals Exchange Matched Trades
LME 38 London Metals Exchange
IPEX 39 Intercontinental Exchange (IPE)
NQMF 40 Nasdaq Mutual Funds (MFDS)
fcec 41 COMEX Clearport
C2 42 CBOE 2
MIAX 43 Miami Exchange
fnym 44 NYMEX Clearport
BARK 45 Barclays
EMLD 46 Miami Emerald Options Exchange
NQBX 47 Nasdaq Boston
HOTS 48 HotSpot Eurex US
EUUS 49 Eurex US
EUEU 50 Eurex EU
ENCM 51 Euronext Commodities
ENID 52 Euronext Index Derivatives
ENIR 53 Euronext Interest Rates
CFE 54 CBOE Futures Exchange
PBOT 55 Philadelphia Board of Trade
FCME 56 CME Floor
NQNX 57 Nasdaq Trade Reporting Facility
CTRF 58 Nasdaq Chicago Trade Reporting Facility
NTRF 59 NYSE Trade Reporting Facility
BATS 60 BATS Trading
FCBT 61 CBOT Floor
PINK 62 Pink Sheets
BATY 63 BATS Y Exchange
EDGE 64 Direct Edge A
EDGX 65 Direct Edge X
RUSL 66 Russell Indexes
CMEX 67 CME Indexes
IEX 68 Investors Exchange
PERL 69 Miami Pearl Options Exchange
LSE 70 London Stock Exchange
NYSE_GIF 71 NYSE Global Index Feed
TSX_IDX 72 TSX Indexes
MEMX 73 Members Exchange
LTSE 75 Long Term Stock Exchange

You may use code from a helper header file

You may be interested in a map of UTP/CTA/OPRA codes, which you can get here.

You may use the code below in your own program

// example
switch (ixMap)
   case nxST_EXCHANGE::NQEX: break;
   case nxST_EXCHANGE::NQAD: break;
   case nxST_EXCHANGE::NYSE: break;
   case nxST_EXCHANGE::AMEX: break;
   case nxST_EXCHANGE::CBOE: break;
   case nxST_EXCHANGE::ISEX: break;
   case nxST_EXCHANGE::PACF: break;
   case nxST_EXCHANGE::CINC: break;
   case nxST_EXCHANGE::PHIL: break;
   case nxST_EXCHANGE::OPRA: break;
   case nxST_EXCHANGE::BOST: break;
   case nxST_EXCHANGE::NQNM: break;
   case nxST_EXCHANGE::NQSC: break;
   case nxST_EXCHANGE::NQBB: break;
   case nxST_EXCHANGE::NQPK: break;
   case nxST_EXCHANGE::NQIX: break;
   case nxST_EXCHANGE::CHIC: break;
   case nxST_EXCHANGE::TSE:  break;
   case nxST_EXCHANGE::CDNX: break;
   case nxST_EXCHANGE::CME:  break;
   case nxST_EXCHANGE::NYBT: break;
   case nxST_EXCHANGE::MRCY: break;
   case nxST_EXCHANGE::COMX: break;
   case nxST_EXCHANGE::CBOT: break;
   case nxST_EXCHANGE::NYMX: break;
   case nxST_EXCHANGE::KCBT: break;
   case nxST_EXCHANGE::MGEX: break;
   case nxST_EXCHANGE::NYBO: break;
   case nxST_EXCHANGE::NQBS: break;
   case nxST_EXCHANGE::DOWJ: break;
   case nxST_EXCHANGE::GEMI: break;
   case nxST_EXCHANGE::SIMX: break;
   case nxST_EXCHANGE::FTSE: break;
   case nxST_EXCHANGE::EURX: break;
   case nxST_EXCHANGE::IMPL: break;
   case nxST_EXCHANGE::DTN:  break;
   case nxST_EXCHANGE::LMT:  break;
   case nxST_EXCHANGE::LME:  break;
   case nxST_EXCHANGE::IPEX: break;
   case nxST_EXCHANGE::NQMF: break;
   case nxST_EXCHANGE::fcec: break;
   case nxST_EXCHANGE::C2:   break;
   case nxST_EXCHANGE::MIAX: break;
   case nxST_EXCHANGE::fnym: break;
   case nxST_EXCHANGE::BARK: break;
   case nxST_EXCHANGE::EMLD: break;
   case nxST_EXCHANGE::NQBX: break;
   case nxST_EXCHANGE::HOTS: break;
   case nxST_EXCHANGE::EUUS: break;
   case nxST_EXCHANGE::EUEU: break;
   case nxST_EXCHANGE::ENCM: break;
   case nxST_EXCHANGE::ENID: break;
   case nxST_EXCHANGE::ENIR: break;
   case nxST_EXCHANGE::CFE:  break;
   case nxST_EXCHANGE::PBOT: break;
   case nxST_EXCHANGE::FCME: break;
   case nxST_EXCHANGE::NQNX: break;
   case nxST_EXCHANGE::CTRF: break;
   case nxST_EXCHANGE::NTRF: break;
   case nxST_EXCHANGE::BATS: break;
   case nxST_EXCHANGE::FCBT: break;
   case nxST_EXCHANGE::PINK: break;
   case nxST_EXCHANGE::BATY: break;
   case nxST_EXCHANGE::EDGE: break;
   case nxST_EXCHANGE::EDGX: break;
   case nxST_EXCHANGE::RUSL: break;
   case nxST_EXCHANGE::CMEX: break;
   case nxST_EXCHANGE::IEX:  break;
   case nxST_EXCHANGE::PERL: break;
   case nxST_EXCHANGE::LSE:  break;
   case nxST_EXCHANGE::GIF:  break;
   case nxST_EXCHANGE::TSIX: break;
   case nxST_EXCHANGE::MEMX: break;
   ;case nxST_EXCHANGE::: break;
   case nxST_EXCHANGE::LTSE: break;