Table of Contents

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
NQAG 16 Nasdaq Aggregate Quote
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
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
WCE 28 Winnipeg Commodity Exchange
ONEC 29 OneChicago Exchange
DOWJ 30 Dow Jones Indicies
GEMI 31 ISE Gemini
SIMX 32 Singapore International Monetary Exchange
FTSE 33 London Stock Exchange
EURX 34 Eurex
ENXT 35 EuroNext
DTN 36 Data Transmission Network
LMT 37 London Metals Exchange Matched Trades
LME 38 London Metals Exchange
IPEX 39 Intercontinental Exchange (IPE)
MX 40 Montreal Stock Exchange
WSE 41 Winnipeg Stock Exchange
C2 42 CBOE 2
MIAX 43 Miami Exchange
CLRP 44 NYMEX Clearport
BARK 45 Barclays
TEN4 46 Tenfore Forex
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
HWTB 56 Hannover WTB Exchange
NQNX 57 NSX Trade Reporting Facility
BTRF 58 BSE Trade Reporting Facility
NTRF 59 NYSE Trade Reporting Facility
BATS 60 BATS Trading
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

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::NQAG: break;
   case nxST_EXCHANGE::CHIC: break;
   case nxST_EXCHANGE::TSE:  break;
   case nxST_EXCHANGE::CDNX: break;
   case nxST_EXCHANGE::CME:  break;
   case nxST_EXCHANGE::MERC: break;
   case nxST_EXCHANGE::NYBA: 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::WCE:  break;
   case nxST_EXCHANGE::ONEC: 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::ENXT: break;
   case nxST_EXCHANGE::DTN:  break;
   case nxST_EXCHANGE::LMT:  break;
   case nxST_EXCHANGE::LME:  break;
   case nxST_EXCHANGE::IPEX: break;
   case nxST_EXCHANGE::MX:   break;
   case nxST_EXCHANGE::WSE:  break;
   case nxST_EXCHANGE::C2:   break;
   case nxST_EXCHANGE::MIAX: break;
   case nxST_EXCHANGE::CLRP: break;
   case nxST_EXCHANGE::BARK: break;
   case nxST_EXCHANGE::TEN4: break;
   cast 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::HWTB: break;
   case nxST_EXCHANGE::NQNX: break;
   case nxST_EXCHANGE::BTRF: break;
   case nxST_EXCHANGE::NTRF: break;
   case nxST_EXCHANGE::BATS: break;
   case nxST_EXCHANGE::NYLF: 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;
   cast nxST_EXCHANGE::CMEX: break;
   cast nxST_EXCHANGE::IEX: break;
   cast nxST_EXCHANGE::PERL: break;
   cast nxST_EXCHANGE::LSE: break;