enum TTMarketID {
TT_MARKET_ID_SYNTHETIC = 0;
TT_MARKET_ID_XETRA = 1;
TT_MARKET_ID_EUREX = 2;
TT_MARKET_ID_NYSE_LIFFE = 3;
TT_MARKET_ID_LSE = 4;
TT_MARKET_ID_OM = 5;
TT_MARKET_ID_CBOT = 6;
TT_MARKET_ID_CME = 7;
TT_MARKET_ID_CFFE = 8;
TT_MARKET_ID_SEHK = 9;
TT_MARKET_ID_ENXTFUT = 10;
TT_MARKET_ID_ENXTOPT = 11;
TT_MARKET_ID_SYCOM = 12;
TT_MARKET_ID_NQLX = 13;
TT_MARKET_ID_EPEX = 14;
TT_MARKET_ID_GARBAN = 15;
TT_MARKET_ID_LIFFE_EO = 16;
TT_MARKET_ID_ISE = 18;
TT_MARKET_ID_INSTINET = 19;
TT_MARKET_ID_NASDAQ = 20;
TT_MARKET_ID_BTECFUTURES = 21;
TT_MARKET_ID_BTEC = 22;
TT_MARKET_ID_ISLAND = 23;
TT_MARKET_ID_ASX = 24;
TT_MARKET_ID_EUREXUS = 25;
TT_MARKET_ID_CBOE = 26;
//TT_MARKET_ID_ASX = 27; This has been deprecated.
// Market ID 27 anymore is rebranded as Market ID 24 (ASX)
TT_MARKET_ID_ARCHIPELAGO = 28;
TT_MARKET_ID_IB = 29;
TT_MARKET_ID_EURONEXT = 30;
TT_MARKET_ID_ICE = 32;
TT_MARKET_ID_COREEX = 43;
TT_MARKET_ID_NYMEX = 61;
TT_MARKET_ID_HOTSPOT = 62;
TT_MARKET_ID_MONTREAL = 63;
TT_MARKET_ID_SGX = 64;
TT_MARKET_ID_IDEM = 65;
TT_MARKET_ID_MEFF = 66;
TT_MARKET_ID_TFX = 67;
TT_MARKET_ID_TOCOM = 68;
TT_MARKET_ID_TSE = 69;
TT_MARKET_ID_HKFE = 70;
TT_MARKET_ID_OSE = 71;
TT_MARKET_ID_MEXDER = 72;
TT_MARKET_ID_KRX = 73;
TT_MARKET_ID_CCX = 74;
TT_MARKET_ID_ECX = 75;
TT_MARKET_ID_CCFE = 76;
TT_MARKET_ID_NSE = 77;
TT_MARKET_ID_LME = 79;
TT_MARKET_ID_FXMS = 80;
TT_MARKET_ID_USFE = 81;
TT_MARKET_ID_DME = 82;
TT_MARKET_ID_EBS = 83;
TT_MARKET_ID_SSE = 85;
TT_MARKET_ID_MCX = 86;
TT_MARKET_ID_SIMEX = 87;
TT_MARKET_ID_TMX = 89;
TT_MARKET_ID_BVMF = 90;
TT_MARKET_ID_MX = 91;
TT_MARKET_ID_ICE_L = 92;
TT_MARKET_ID_CFE = 93;
TT_MARKET_ID_ERIS = 94;
TT_MARKET_ID_NASDAQ_OMX_EU= 95;
TT_MARKET_ID_AGGREGATOR = 96;
TT_MARKET_ID_TTEX = 97;
TT_MARKET_ID_ESPEED = 98;
TT_MARKET_ID_KCG = 99;
TT_MARKET_ID_EEX = 100;
TT_MARKET_ID_CME_MDP = 101;
TT_MARKET_ID_NFX = 102;
TT_MARKET_ID_NLX = 103;
TT_MARKET_ID_NORDIC = 104;
TT_MARKET_ID_GMEX = 105;
TT_MARKET_ID_NDAQ_EU = 106;
TT_MARKET_ID_HKEX = 107;
TT_MARKET_ID_FEX = 108;
TT_MARKET_ID_ASX2 = 111;
TT_MARKET_ID_OT_CME = 112;
TT_MARKET_ID_OT_DGCX = 113;
TT_MARKET_ID_DGCX = 114;
TT_MARKET_ID_FIX_GW2 = 115;
TT_MARKET_ID_FIX_GW3 = 116;
TT_MARKET_ID_FIX_GW4 = 117;
TT_MARKET_ID_FIX_GW5 = 118;
TT_MARKET_ID_FIX_GW6 = 119;
TT_MARKET_ID_FIX_GW7 = 120;
TT_MARKET_ID_FIX_GW8 = 121;
TT_MARKET_ID_FIX_GW9 = 122;
TT_MARKET_ID_DIRECTMATCH = 123;
TT_MARKET_ID_FENICS = 124;
TT_MARKET_ID_NODAL = 125;
TT_MARKET_ID_BIST = 126;
TT_MARKET_ID_TFEX = 127;
TT_MARKET_ID_GDAX = 128;
TT_MARKET_ID_SAFEX = 129;
TT_MARKET_ID_WSE = 130;
TT_MARKET_ID_CURVEGLOBAL = 131;
TT_MARKET_ID_COINFLOOREX = 132;
TT_MARKET_ID_KRAKEN = 133;
TT_MARKET_ID_BITMEX = 134;
//TT_MARKET_ID_NFI = 135; DEPRECATED - DO NOT USE (* ESPEED is now NFI *)
TT_MARKET_ID_MOEX = 136;
TT_MARKET_ID_TAIFEX = 137;
TT_MARKET_ID_ATHEX = 138;
TT_MARKET_ID_COINFLOORUK = 139;
TT_MARKET_ID_INE = 140;
TT_MARKET_ID_DCE = 141;
TT_MARKET_ID_ZCE = 142;
TT_MARKET_ID_SHFE = 143;
TT_MARKET_ID_JUMP = 145;
TT_MARKET_ID_GRAYSTONE = 146;
TT_MARKET_ID_CHFFE = 147;
TT_MARKET_ID_BITSO = 148;
TT_MARKET_ID_DERIBIT = 149;
TT_MARKET_ID_MYSTEEL = 150;
TT_MARKET_ID_XBTG = 151;
TT_MARKET_ID_CME_BTEC = 152;
TT_MARKET_ID_TADAWUL = 153;
TT_MARKET_ID_CEDX = 154;
TT_MARKET_ID_JPX = 155;
TT_MARKET_ID_OPRA = 156;
// Some markets that shadow native markets but are only intended for dev usage
// while we work on these markets in pre-production.
TT_MARKET_ID_PME = 600;
TT_MARKET_ID_DV = 601;
TT_MARKET_ID_TT = 602;
TT_MARKET_ID_EUREX_DEV = 802;
TT_MARKET_ID_LSE_DEV = 804;
TT_MARKET_ID_CME_UC = 807;
TT_MARKET_ID_BTEC_DEV = 822;
TT_MARKET_ID_BITMEX_DEV = 823;
TT_MARKET_ID_ASX_DEV = 824;
//TT_MARKET_ID_NFI_DEV = 825; DEPRECATED - DO NOT USE (* ESPEED is now NFI *)
TT_MARKET_ID_EURONEXT_DEV = 830;
TT_MARKET_ID_ICE_DEV = 832;
TT_MARKET_ID_ASE_DEV = 833;
TT_MARKET_ID_BIST_DEV = 834;
TT_MARKET_ID_CLEARPORT_DEV = 835;
TT_MARKET_ID_CME_DEV = 836;
TT_MARKET_ID_DGCX_DEV = 837;
TT_MARKET_ID_DIRECTMATCH_DEV = 838;
TT_MARKET_ID_EEX_DEV = 839;
TT_MARKET_ID_ERIS_DEV = 840;
TT_MARKET_ID_ESPEED_DEV = 841;
TT_MARKET_ID_FENICS_DEV = 842;
TT_MARKET_ID_FEX_DEV = 843;
TT_MARKET_ID_GDAX_DEV = 844;
TT_MARKET_ID_HKEX_DEV = 845;
TT_MARKET_ID_IDEM_DEV = 846;
TT_MARKET_ID_ISE_DEV = 847;
TT_MARKET_ID_KRX_DEV = 848;
TT_MARKET_ID_MCX_DEV = 849;
TT_MARKET_ID_MEXDER_DEV = 850;
TT_MARKET_ID_NDAQ_EU_DEV = 851;
TT_MARKET_ID_NFX_DEV = 852;
TT_MARKET_ID_NODAL_DEV = 853;
TT_MARKET_ID_NSE_DEV = 854;
TT_MARKET_ID_SAFEX_DEV = 855;
TT_MARKET_ID_SEHK_DEV = 856;
TT_MARKET_ID_TFEX_DEV = 857;
TT_MARKET_ID_TSE_DEV = 858;
TT_MARKET_ID_WSE_DEV = 859;
TT_MARKET_ID_CURVEGLOBAL_DEV = 860;
TT_MARKET_ID_COINFLOOREX_DEV = 861;
TT_MARKET_ID_KRAKEN_DEV = 862;
TT_MARKET_ID_SGX_DEV = 864;
TT_MARKET_ID_MEFF_DEV = 866;
TT_MARKET_ID_TFX_DEV = 867;
TT_MARKET_ID_TOCOM_DEV = 868;
TT_MARKET_ID_OSE_DEV = 871;
TT_MARKET_ID_LME_DEV = 879;
TT_MARKET_ID_BVMF_DEV = 890;
TT_MARKET_ID_MX_DEV = 891;
TT_MARKET_ID_ICE_L_DEV = 892;
TT_MARKET_ID_CFE_DEV = 893;
TT_MARKET_ID_KCG_DEV = 899;
TT_MARKET_ID_NLX_DEV = 903;
TT_MARKET_ID_ASX2_DEV = 911;
TT_MARKET_ID_MOEX_DEV = 912;
TT_MARKET_ID_TAIFEX_DEV = 913;
TT_MARKET_ID_ATHEX_DEV = 914;
TT_MARKET_ID_COINFLOORUK_DEV = 915;
TT_MARKET_ID_INE_DEV = 916;
TT_MARKET_ID_DCE_DEV = 917;
TT_MARKET_ID_ZCE_DEV = 918;
TT_MARKET_ID_SHFE_DEV = 919;
//TT_MARKET_ID_CFFE_DEV = 920; DEPRECATED - DO NOT USE
TT_MARKET_ID_JUMP_DEV = 921;
TT_MARKET_ID_GRAYSTONE_DEV = 922;
TT_MARKET_ID_CHFFE_DEV = 923;
TT_MARKET_ID_DERIBIT_DEV = 924;
TT_MARKET_ID_TFEX_DEV2 = 925;
TT_MARKET_ID_MYSTEEL_DEV = 926;
TT_MARKET_ID_CBOE_DEV = 927;
TT_MARKET_ID_CEDX_DEV = 928;
TT_MARKET_ID_JPX_DEV = 929;
// add native markets in the below 1000 range
// (894 slots still available)
// add synthetic markets in the 1000+ block
TT_MARKET_ID_SYNTHETIC_INSTRUMENT = 1000;
TT_MARKET_ID_ALGO_INSTRUMENT = 1001;
TT_MARKET_ID_DEBESYS = 1002;
TT_MARKET_ID_AGGREGATOR_INSTRUMENT= 1003;
TT_MARKET_ID_BANK_ALGO = 1004;
TT_MARKET_ID_SDK_ALGO = 1005;
TT_MARKET_ID_OTD = 1006;
// Only add **synthetic** markets after here
TT_MARKET_ID_CLEARPORT = 2001;
TT_MARKET_ID_ALGO_BACKTESTING = 2002;
TT_MARKET_ID_BLOOMBERG = 2003;
TT_MARKET_ID_FIX_ALT_ALIAS = 2004;
TT_MARKET_ID_BROKER_MATCH = 3000;
TT_MARKET_ID_42_FINANCIAL = 3001;
TT_MARKET_ID_BGC_PARTNERS = 3002;
TT_MARKET_ID_CIMD = 3003;
TT_MARKET_ID_GFI = 3004;
TT_MARKET_ID_GRIFFEN_MARKETS = 3005;
TT_MARKET_ID_ICAP = 3006;
TT_MARKET_ID_MAREX_SPECTRON = 3007;
TT_MARKET_ID_POWER_SOLUTIONS = 3008;
TT_MARKET_ID_TRADITION = 3009;
TT_MARKET_ID_TULLET_PREBON = 3010;
TT_MARKET_ID_TTEX_NEW_YORK = 3113;
TT_MARKET_ID_TTEX_FRANKFURT = 3127;
TT_MARKET_ID_TTEX_SYDNEY = 3144;
TT_MARKET_ID_TTEX_SINGAPORE = 3143;
TT_MARKET_ID_TTEX_GLADOS_A = 3192; // unfortunately proto doesnt allow '-' chars in identifiers only 'A sequence of letters, digits, and underscores, not starting with a digit.'
TT_MARKET_ID_TTEX_GLADOS_B = 3193; // so these dont match rb script values exactly, where it is GLADOS-A etc.
// we are blocking 5000 - 5999 for respective TT Linked Markets for actual TT Markets.
// ex CME is 7, so TT CME = 5007
TT_MARKET_ID_TTEUREX = 5002; // the TT internal echochamber market for EUREX orders
TT_MARKET_ID_TTCME = 5007; // the TT internal echochamber market for CME,ICE orders
TT_MARKET_ID_ECHO_TOWER = 5008; // the TT internal echochamber market for tower company orders
TT_MARKET_ID_ECHO_MERCURY = 5009; // the TT internal echochamber market for mercury company orders
TT_MARKET_ID_TTICE = 5032; // the TT internal echochamber market for ICE orders
TT_MARKET_ID_TTICE_L = 5092; // the TT internal echochamber market for ICE_L orders
TT_MARKET_ID_INVALID = 134217726;
}