quickfix_ruby 1.14.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +7 -0
  2. data/ext/quickfix/Acceptor.cpp +248 -0
  3. data/ext/quickfix/Acceptor.h +127 -0
  4. data/ext/quickfix/Allocator.h +9 -0
  5. data/ext/quickfix/Application.h +127 -0
  6. data/ext/quickfix/AtomicCount.h +109 -0
  7. data/ext/quickfix/DOMDocument.h +74 -0
  8. data/ext/quickfix/DataDictionary.cpp +618 -0
  9. data/ext/quickfix/DataDictionary.h +539 -0
  10. data/ext/quickfix/DataDictionaryProvider.cpp +71 -0
  11. data/ext/quickfix/DataDictionaryProvider.h +70 -0
  12. data/ext/quickfix/DatabaseConnectionID.h +105 -0
  13. data/ext/quickfix/DatabaseConnectionPool.h +91 -0
  14. data/ext/quickfix/Dictionary.cpp +162 -0
  15. data/ext/quickfix/Dictionary.h +94 -0
  16. data/ext/quickfix/Event.h +95 -0
  17. data/ext/quickfix/Exceptions.h +299 -0
  18. data/ext/quickfix/Field.h +672 -0
  19. data/ext/quickfix/FieldConvertors.h +863 -0
  20. data/ext/quickfix/FieldMap.cpp +238 -0
  21. data/ext/quickfix/FieldMap.h +244 -0
  22. data/ext/quickfix/FieldNumbers.h +46 -0
  23. data/ext/quickfix/FieldTypes.cpp +64 -0
  24. data/ext/quickfix/FieldTypes.h +698 -0
  25. data/ext/quickfix/Fields.h +31 -0
  26. data/ext/quickfix/FileLog.cpp +200 -0
  27. data/ext/quickfix/FileLog.h +112 -0
  28. data/ext/quickfix/FileStore.cpp +332 -0
  29. data/ext/quickfix/FileStore.h +129 -0
  30. data/ext/quickfix/FixFieldNumbers.h +1537 -0
  31. data/ext/quickfix/FixFields.h +1538 -0
  32. data/ext/quickfix/FixValues.h +3281 -0
  33. data/ext/quickfix/FlexLexer.h +188 -0
  34. data/ext/quickfix/Group.cpp +64 -0
  35. data/ext/quickfix/Group.h +73 -0
  36. data/ext/quickfix/HtmlBuilder.h +186 -0
  37. data/ext/quickfix/HttpConnection.cpp +739 -0
  38. data/ext/quickfix/HttpConnection.h +78 -0
  39. data/ext/quickfix/HttpMessage.cpp +149 -0
  40. data/ext/quickfix/HttpMessage.h +133 -0
  41. data/ext/quickfix/HttpParser.cpp +49 -0
  42. data/ext/quickfix/HttpParser.h +54 -0
  43. data/ext/quickfix/HttpServer.cpp +169 -0
  44. data/ext/quickfix/HttpServer.h +78 -0
  45. data/ext/quickfix/Initiator.cpp +289 -0
  46. data/ext/quickfix/Initiator.h +149 -0
  47. data/ext/quickfix/Log.cpp +77 -0
  48. data/ext/quickfix/Log.h +179 -0
  49. data/ext/quickfix/Message.cpp +580 -0
  50. data/ext/quickfix/Message.h +370 -0
  51. data/ext/quickfix/MessageCracker.h +188 -0
  52. data/ext/quickfix/MessageSorters.cpp +105 -0
  53. data/ext/quickfix/MessageSorters.h +156 -0
  54. data/ext/quickfix/MessageStore.cpp +146 -0
  55. data/ext/quickfix/MessageStore.h +174 -0
  56. data/ext/quickfix/Mutex.h +131 -0
  57. data/ext/quickfix/MySQLConnection.h +194 -0
  58. data/ext/quickfix/MySQLLog.cpp +275 -0
  59. data/ext/quickfix/MySQLLog.h +145 -0
  60. data/ext/quickfix/MySQLStore.cpp +331 -0
  61. data/ext/quickfix/MySQLStore.h +142 -0
  62. data/ext/quickfix/NullStore.cpp +54 -0
  63. data/ext/quickfix/NullStore.h +99 -0
  64. data/ext/quickfix/OdbcConnection.h +266 -0
  65. data/ext/quickfix/OdbcLog.cpp +252 -0
  66. data/ext/quickfix/OdbcLog.h +117 -0
  67. data/ext/quickfix/OdbcStore.cpp +338 -0
  68. data/ext/quickfix/OdbcStore.h +113 -0
  69. data/ext/quickfix/PUGIXML_DOMDocument.cpp +112 -0
  70. data/ext/quickfix/PUGIXML_DOMDocument.h +81 -0
  71. data/ext/quickfix/Parser.cpp +103 -0
  72. data/ext/quickfix/Parser.h +57 -0
  73. data/ext/quickfix/PostgreSQLConnection.h +176 -0
  74. data/ext/quickfix/PostgreSQLLog.cpp +276 -0
  75. data/ext/quickfix/PostgreSQLLog.h +144 -0
  76. data/ext/quickfix/PostgreSQLStore.cpp +334 -0
  77. data/ext/quickfix/PostgreSQLStore.h +141 -0
  78. data/ext/quickfix/Queue.h +75 -0
  79. data/ext/quickfix/QuickfixRuby.cpp +252066 -0
  80. data/ext/quickfix/QuickfixRuby.h +34 -0
  81. data/ext/quickfix/Responder.h +43 -0
  82. data/ext/quickfix/Session.cpp +1487 -0
  83. data/ext/quickfix/Session.h +335 -0
  84. data/ext/quickfix/SessionFactory.cpp +274 -0
  85. data/ext/quickfix/SessionFactory.h +86 -0
  86. data/ext/quickfix/SessionID.h +170 -0
  87. data/ext/quickfix/SessionSettings.cpp +189 -0
  88. data/ext/quickfix/SessionSettings.h +171 -0
  89. data/ext/quickfix/SessionState.h +231 -0
  90. data/ext/quickfix/Settings.cpp +100 -0
  91. data/ext/quickfix/Settings.h +53 -0
  92. data/ext/quickfix/SharedArray.h +150 -0
  93. data/ext/quickfix/SocketAcceptor.cpp +222 -0
  94. data/ext/quickfix/SocketAcceptor.h +75 -0
  95. data/ext/quickfix/SocketConnection.cpp +238 -0
  96. data/ext/quickfix/SocketConnection.h +103 -0
  97. data/ext/quickfix/SocketConnector.cpp +116 -0
  98. data/ext/quickfix/SocketConnector.h +67 -0
  99. data/ext/quickfix/SocketInitiator.cpp +260 -0
  100. data/ext/quickfix/SocketInitiator.h +81 -0
  101. data/ext/quickfix/SocketMonitor.cpp +335 -0
  102. data/ext/quickfix/SocketMonitor.h +111 -0
  103. data/ext/quickfix/SocketServer.cpp +177 -0
  104. data/ext/quickfix/SocketServer.h +100 -0
  105. data/ext/quickfix/ThreadedSocketAcceptor.cpp +258 -0
  106. data/ext/quickfix/ThreadedSocketAcceptor.h +98 -0
  107. data/ext/quickfix/ThreadedSocketConnection.cpp +209 -0
  108. data/ext/quickfix/ThreadedSocketConnection.h +82 -0
  109. data/ext/quickfix/ThreadedSocketInitiator.cpp +268 -0
  110. data/ext/quickfix/ThreadedSocketInitiator.h +84 -0
  111. data/ext/quickfix/TimeRange.cpp +173 -0
  112. data/ext/quickfix/TimeRange.h +258 -0
  113. data/ext/quickfix/Utility.cpp +537 -0
  114. data/ext/quickfix/Utility.h +219 -0
  115. data/ext/quickfix/Values.h +62 -0
  116. data/ext/quickfix/config.h +0 -0
  117. data/ext/quickfix/config_windows.h +0 -0
  118. data/ext/quickfix/extconf.rb +12 -0
  119. data/ext/quickfix/index.h +37 -0
  120. data/ext/quickfix/pugiconfig.hpp +72 -0
  121. data/ext/quickfix/pugixml.cpp +10765 -0
  122. data/ext/quickfix/pugixml.hpp +1341 -0
  123. data/ext/quickfix/strptime.h +7 -0
  124. data/lib/quickfix40.rb +274 -0
  125. data/lib/quickfix41.rb +351 -0
  126. data/lib/quickfix42.rb +1184 -0
  127. data/lib/quickfix43.rb +3504 -0
  128. data/lib/quickfix44.rb +10721 -0
  129. data/lib/quickfix50.rb +13426 -0
  130. data/lib/quickfix50sp1.rb +15629 -0
  131. data/lib/quickfix50sp2.rb +17068 -0
  132. data/lib/quickfix_fields.rb +19853 -0
  133. data/lib/quickfix_ruby.rb +82 -0
  134. data/lib/quickfixt11.rb +70 -0
  135. data/spec/FIX40.xml +862 -0
  136. data/spec/FIX41.xml +1285 -0
  137. data/spec/FIX42.xml +2746 -0
  138. data/spec/FIX43.xml +4229 -0
  139. data/spec/FIX44.xml +6596 -0
  140. data/spec/FIX50.xml +8137 -0
  141. data/spec/FIX50SP1.xml +9496 -0
  142. data/spec/FIX50SP2.xml +10011 -0
  143. data/spec/FIXT11.xml +313 -0
  144. data/test/test_DataDictionaryTestCase.rb +268 -0
  145. data/test/test_DictionaryTestCase.rb +112 -0
  146. data/test/test_FieldBaseTestCase.rb +24 -0
  147. data/test/test_MessageTestCase.rb +368 -0
  148. data/test/test_SessionSettingsTestCase.rb +41 -0
  149. metadata +193 -0
@@ -0,0 +1,3281 @@
1
+ #ifndef FIX_VALUES_H
2
+ #define FIX_VALUES_H
3
+
4
+ #include <string>
5
+
6
+ namespace FIX
7
+ {
8
+ const int DeliveryForm_BOOKENTRY = 1;
9
+ const int DeliveryForm_BEARER = 2;
10
+ const int DeliveryForm_BOOK_ENTRY = 1;
11
+ const int ExecRestatementReason_WAREHOUSE_RECAP = 10;
12
+ const int ExecRestatementReason_CANCEL_ON_SYSTEM_FAILURE = 7;
13
+ const int ExecRestatementReason_PARTIAL_DECLINE_OF_ORDERQTY = 5;
14
+ const int ExecRestatementReason_GT_CORPORATE_ACTION = 0;
15
+ const int ExecRestatementReason_PEG_REFRESH = 11;
16
+ const int ExecRestatementReason_CANCELED_NOT_BEST = 9;
17
+ const int ExecRestatementReason_CANCEL_ON_TRADING_HALT = 6;
18
+ const int ExecRestatementReason_VERBAL_CHANGE = 2;
19
+ const int ExecRestatementReason_OTHER = 99;
20
+ const int ExecRestatementReason_BROKER_OPTION = 4;
21
+ const int ExecRestatementReason_REPRICING_OF_ORDER = 3;
22
+ const int ExecRestatementReason_MARKET = 8;
23
+ const int ExecRestatementReason_GT_RENEWAL = 1;
24
+ const int AllocIntermedReqType_PENDING_RELEASE = 2;
25
+ const int AllocIntermedReqType_PENDING_REVERSAL = 3;
26
+ const int AllocIntermedReqType_ACCOUNT_LEVEL_REJECT = 6;
27
+ const int AllocIntermedReqType_BLOCK_LEVEL_REJECT = 5;
28
+ const int AllocIntermedReqType_PENDING_ACCEPT = 1;
29
+ const int AllocIntermedReqType_ACCEPT = 4;
30
+ const int SecurityListTypeSource_GICS = 3;
31
+ const int SecurityListTypeSource_NAICS = 2;
32
+ const int SecurityListTypeSource_ICB = 1;
33
+ const int CollInquiryQualifier_OUTSTANDING_TRADES = 7;
34
+ const int CollInquiryQualifier_PARTIALLY_ASSIGNED = 5;
35
+ const int CollInquiryQualifier_TRADE_DATE = 0;
36
+ const int CollInquiryQualifier_FULLY_ASSIGNED = 6;
37
+ const int CollInquiryQualifier_SUBSTITUTION_ELIGIBLE = 3;
38
+ const int CollInquiryQualifier_NOT_ASSIGNED = 4;
39
+ const int CollInquiryQualifier_COLLATERAL_INSTRUMENT = 2;
40
+ const int CollInquiryQualifier_TRADEDATE = 0;
41
+ const int CollInquiryQualifier_COLLATERALINSTRUMENT = 2;
42
+ const int CollInquiryQualifier_GC_INSTRUMENT = 1;
43
+ const int ContingencyType_ONE_UPDATES_THE_OTHER_4 = 4;
44
+ const int ContingencyType_ONE_TRIGGERS_THE_OTHER = 2;
45
+ const int ContingencyType_ONE_CANCELS_THE_OTHER = 1;
46
+ const int ContingencyType_ONE_UPDATES_THE_OTHER_3 = 3;
47
+ const char EmailType_NEW = '0';
48
+ const char EmailType_REPLY = '1';
49
+ const char EmailType_ADMIN_REPLY = '2';
50
+ const char IOIQltyInd_MEDIUM = 'M';
51
+ const char IOIQltyInd_HIGH = 'H';
52
+ const char IOIQltyInd_LOW = 'L';
53
+ const int MultiLegRptTypeReq_REPORT_BY_INSTRUMENT_LEGS_BELONGING_TO_THE_MULTILEG_SECURITY_ONLY = 2;
54
+ const int MultiLegRptTypeReq_REPORT_BY_MULTILEG_SECURITY_AND_BY_INSTRUMENT_LEGS_BELONGING_TO_THE_MULTILEG_SECURITY = 1;
55
+ const int MultiLegRptTypeReq_REPORT_BY_MULITLEG_SECURITY_ONLY = 0;
56
+ const int AccountType_HOUSE_TRADER = 3;
57
+ const int AccountType_ACCOUNT_IS_CARRIED_ON_CUSTOMER_SIDE_OF_THE_BOOKS = 1;
58
+ const int AccountType_ACCOUNT_IS_CARRIED_ON_NON_CUSTOMER_SIDE_OF_BOOKS = 2;
59
+ const int AccountType_FLOOR_TRADER = 4;
60
+ const int AccountType_JOINT_BACK_OFFICE_ACCOUNT = 8;
61
+ const int AccountType_ACCOUNT_IS_CARRIED_ON_NON_CUSTOMER_SIDE_OF_BOOKS_AND_IS_CROSS_MARGINED = 6;
62
+ const int AccountType_ACCOUNT_IS_CARRIED_ON_CUSTOMER_SIDE_OF_BOOKS = 1;
63
+ const int AccountType_JOINT_BACKOFFICE_ACCOUNT = 8;
64
+ const int AccountType_ACCOUNT_IS_HOUSE_TRADER_AND_IS_CROSS_MARGINED = 7;
65
+ const int HaltReasonInt_ADDITIONAL_INFORMATION = 3;
66
+ const int HaltReasonInt_NEWS_PENDING = 4;
67
+ const int HaltReasonInt_ORDER_INFLUX = 1;
68
+ const int HaltReasonInt_NEWS_DISSEMINATION = 0;
69
+ const int HaltReasonInt_EQUIPMENT_CHANGEOVER = 5;
70
+ const int HaltReasonInt_ORDER_IMBALANCE = 2;
71
+ const char ClearingFeeIndicator_106H_AND_106J_FIRMS[] = "H";
72
+ const char ClearingFeeIndicator_1ST_YEAR_DELEGATE_TRADING_FOR_HIS_OWN_ACCOUNT[] = "1";
73
+ const char ClearingFeeIndicator_GIM_IDEM_AND_COM_MEMBERSHIP_INTEREST_HOLDERS[] = "I";
74
+ const char ClearingFeeIndicator_2ND_YEAR_DELEGATE_TRADING_FOR_HIS_OWN_ACCOUNT[] = "2";
75
+ const char ClearingFeeIndicator_4TH_YEAR_DELEGATE_TRADING_FOR_HIS_OWN_ACCOUNT[] = "4";
76
+ const char ClearingFeeIndicator_3RD_YEAR_DELEGATE_TRADING_FOR_OWN_ACCOUNT[] = "3";
77
+ const char ClearingFeeIndicator_LESSEE_106F_EMPLOYEES[] = "L";
78
+ const char ClearingFeeIndicator_NON_MEMBER_AND_CUSTOMER[] = "C";
79
+ const char ClearingFeeIndicator_5TH_YEAR_DELEGATE_TRADING_FOR_HIS_OWN_ACCOUNT[] = "5";
80
+ const char ClearingFeeIndicator_FULL_AND_ASSOCIATE_MEMBER_TRADING_FOR_OWN_ACCOUNT_AND_AS_FLOOR_BROKERS[] = "F";
81
+ const char ClearingFeeIndicator_CBOE_MEMBER[] = "B";
82
+ const char ClearingFeeIndicator_1ST_YEAR_DELEGATE_TRADING_FOR_OWN_ACCOUNT[] = "1";
83
+ const char ClearingFeeIndicator_5TH_YEAR_DELEGATE_TRADING_FOR_OWN_ACCOUNT[] = "5";
84
+ const char ClearingFeeIndicator_LESSEE_AND_106F_EMPLOYEES[] = "L";
85
+ const char ClearingFeeIndicator_FULL_AND_ASSOCIATE_MEMBER_TRADING_FOR_OWN_ACCOUNT_AND_AS_FLOOR[] = "F";
86
+ const char ClearingFeeIndicator_3RD_YEAR_DELEGATE_TRADING_FOR_HIS_OWN_ACCOUNT[] = "3";
87
+ const char ClearingFeeIndicator_2ND_YEAR_DELEGATE_TRADING_FOR_OWN_ACCOUNT[] = "2";
88
+ const char ClearingFeeIndicator_EQUITY_MEMBER_AND_CLEARING_MEMBER[] = "E";
89
+ const char ClearingFeeIndicator_ALL_OTHER_OWNERSHIP_TYPES[] = "M";
90
+ const char ClearingFeeIndicator_6TH_YEAR_AND_BEYOND_DELEGATE_TRADING_FOR_HIS_OWN_ACCOUNT[] = "9";
91
+ const char ClearingFeeIndicator_4TH_YEAR_DELEGATE_TRADING_FOR_OWN_ACCOUNT[] = "4";
92
+ const char ClearingFeeIndicator_6TH_YEAR_DELEGATE_TRADING_FOR_OWN_ACCOUNT[] = "9";
93
+ const int BidType_DISCLOSED_STYLE = 2;
94
+ const int BidType_NO_BIDDING_PROCESS = 3;
95
+ const int BidType_DISCLOSED_SYTLE = 2;
96
+ const int BidType_NON_DISCLOSED_STYLE = 1;
97
+ const int QuotePriceType_PER_SHARE = 2;
98
+ const int QuotePriceType_PREMIUM_PERCENTAGE_POINTS_OVER_PAR = 5;
99
+ const int QuotePriceType_DISCOUNT_PERCENTAGE_POINTS_BELOW_PAR = 4;
100
+ const int QuotePriceType_YIELD = 10;
101
+ const int QuotePriceType_PREMIUM = 5;
102
+ const int QuotePriceType_TED_YIELD = 8;
103
+ const int QuotePriceType_FIXED_AMOUNT = 3;
104
+ const int QuotePriceType_DISCOUNT = 4;
105
+ const int QuotePriceType_YIELD_SPREAD = 9;
106
+ const int QuotePriceType_TED_PRICE = 7;
107
+ const int QuotePriceType_PERCENT = 1;
108
+ const int QuotePriceType_SPREAD = 6;
109
+ const int QuotePriceType_BASIS_POINTS_RELATIVE_TO_BENCHMARK = 6;
110
+ const int MultilegPriceMethod_CONTRACT_WEIGHTED_AVERAGE_PRICE = 4;
111
+ const int MultilegPriceMethod_REVERSED_NET_PRICE = 1;
112
+ const int MultilegPriceMethod_MULTIPLIED_PRICE = 5;
113
+ const int MultilegPriceMethod_INDIVIDUAL = 3;
114
+ const int MultilegPriceMethod_YIELD_DIFFERENCE = 2;
115
+ const int MultilegPriceMethod_NET_PRICE = 0;
116
+ const int ListMethod_PRE_LISTED_ONLY = 0;
117
+ const int ListMethod_USER_REQUESTED = 1;
118
+ const char MDImplicitDelete_NO = 'N';
119
+ const char MDImplicitDelete_YES = 'Y';
120
+ const int RoutingType_TARGET_LIST = 2;
121
+ const int RoutingType_TARGET_FIRM = 1;
122
+ const int RoutingType_BLOCK_LIST = 4;
123
+ const int RoutingType_BLOCK_FIRM = 3;
124
+ const char BidTradeType_AGENCY = 'A';
125
+ const char BidTradeType_VWAP_GUARANTEE = 'G';
126
+ const char BidTradeType_RISK_TRADE = 'R';
127
+ const char BidTradeType_GUARANTEED_CLOSE = 'J';
128
+ const int OrdRejReason_INCORRECT_ALLOCATED_QUANTITY = 14;
129
+ const int OrdRejReason_DUPLICATE_OF_A_VERBALLY_COMMUNICATED_ORDER = 7;
130
+ const int OrdRejReason_ORDER_EXCEEDS_LIMIT = 3;
131
+ const int OrdRejReason_EXCHANGE_CLOSED = 2;
132
+ const int OrdRejReason_SURVEILLENCE_OPTION = 12;
133
+ const int OrdRejReason_UNKNOWN_ORDER = 5;
134
+ const int OrdRejReason_UNSUPPORTED_ORDER_CHARACTERISTIC = 11;
135
+ const int OrdRejReason_DUPLICATE_ORDER = 6;
136
+ const int OrdRejReason_TOO_LATE_TO_ENTER = 4;
137
+ const int OrdRejReason_UNSUPPORTED_ORDER_CHARACTERISTIC12_SURVEILLENCE_OPTION = 11;
138
+ const int OrdRejReason_INCORRECT_QUANTITY = 13;
139
+ const int OrdRejReason_INVALID_PRICE_INCREMENT = 18;
140
+ const int OrdRejReason_UNKNOWN_ACCOUNT = 15;
141
+ const int OrdRejReason_INVALID_INVESTOR_ID = 10;
142
+ const int OrdRejReason_UNKNOWN_SYMBOL = 1;
143
+ const int OrdRejReason_OTHER = 99;
144
+ const int OrdRejReason_BROKER = 0;
145
+ const int OrdRejReason_BROKER_OPTION = 0;
146
+ const int OrdRejReason_PRICE_EXCEEDS_CURRENT_PRICE_BAND = 16;
147
+ const int OrdRejReason_TRADE_ALONG_REQUIRED = 9;
148
+ const int OrdRejReason_STALE_ORDER = 8;
149
+ const int MaturityMonthYearIncrementUnits_WEEKS = 2;
150
+ const int MaturityMonthYearIncrementUnits_MONTHS = 0;
151
+ const int MaturityMonthYearIncrementUnits_YEARS = 3;
152
+ const int MaturityMonthYearIncrementUnits_DAYS = 1;
153
+ const char DisplayWhen_EXHAUST = '2';
154
+ const char DisplayWhen_IMMEDIATE = '1';
155
+ const int ApplQueueAction_END_SESSION = 3;
156
+ const int ApplQueueAction_QUEUE_FLUSHED = 1;
157
+ const int ApplQueueAction_OVERLAY_LAST = 2;
158
+ const int ApplQueueAction_NO_ACTION_TAKEN = 0;
159
+ const char RegistTransType_REPLACE = '1';
160
+ const char RegistTransType_NEW = '0';
161
+ const char RegistTransType_CANCEL = '2';
162
+ const int PriceType_PRODUCT_TICKS_IN_HALFS = 13;
163
+ const int PriceType_PER_SHARE = 2;
164
+ const int PriceType_DISCOUNT_PERCENTAGE_POINTS_BELOW_PAR = 4;
165
+ const int PriceType_PREMIUM_PERCENTAGE_POINTS_OVER_PAR = 5;
166
+ const int PriceType_PRODUCT_TICKS_IN_FOURTHS = 14;
167
+ const int PriceType_YIELD = 9;
168
+ const int PriceType_TED_YIELD = 8;
169
+ const int PriceType_PREMIUM = 5;
170
+ const int PriceType_FIXED_AMOUNT = 3;
171
+ const int PriceType_DISCOUNT = 4;
172
+ const int PriceType_PRODUCT_TICKS_IN_SIXTY_FORTHS = 18;
173
+ const int PriceType_PRODUCT_TICKS_IN_ONE_TWENTY_EIGHTS = 19;
174
+ const int PriceType_PERCENTAGE = 1;
175
+ const int PriceType_PRODUCT_TICKS_IN_EIGHTS = 15;
176
+ const int PriceType_PRODUCT_TICKS_IN_THIRTY_SECONDS = 17;
177
+ const int PriceType_PRODUCT_TICKS_IN_SIXTEENTHS = 16;
178
+ const int PriceType_PER_UNIT = 2;
179
+ const int PriceType_VARIABLE_CABINET_TRADE_PRICE = 11;
180
+ const int PriceType_TED_PRICE = 7;
181
+ const int PriceType_SPREAD = 6;
182
+ const int PriceType_FIXED_CABINET_TRADE_PRICE = 10;
183
+ const int PriceType_BASIS_POINTS_RELATIVE_TO_BENCHMARK = 6;
184
+ const int SettlObligMode_PRELIMINARY = 1;
185
+ const int SettlObligMode_FINAL = 2;
186
+ const char SecurityUpdateAction_DELETE = 'D';
187
+ const char SecurityUpdateAction_ADD = 'A';
188
+ const char SecurityUpdateAction_MODIFY = 'M';
189
+ const int NetworkRequestType_STOP_SUBSCRIBING = 4;
190
+ const int NetworkRequestType_SUBSCRIBE = 2;
191
+ const int NetworkRequestType_SNAPSHOT = 1;
192
+ const int NetworkRequestType_LEVEL_OF_DETAIL_THEN_NOCOMPIDS_BECOMES_REQUIRED = 8;
193
+ const int PartyRole_EXECUTION_VENUE = 73;
194
+ const int PartyRole_CLIENT_ID = 3;
195
+ const int PartyRole_MARKET_DATA_ENTRY_ORIGINATOR = 74;
196
+ const int PartyRole_ORDER_ORIGINATION_FIRM = 13;
197
+ const int PartyRole_PLEDGEE_ACCOUNT = 51;
198
+ const int PartyRole_CONTRA_TRADER = 37;
199
+ const int PartyRole_MULTILATERAL_TRADING_FACILITY = 64;
200
+ const int PartyRole_CENTRAL_REGISTRATION_DEPOSITORY = 82;
201
+ const int PartyRole_REPORT_ORIGINATOR = 62;
202
+ const int PartyRole_TRANSFER_TO_FIRM = 40;
203
+ const int PartyRole_BROKERCLEARINGID = 81;
204
+ const int PartyRole_ASSET_MANAGER = 49;
205
+ const int PartyRole_INTRODUCING_BROKER = 60;
206
+ const int PartyRole_LOCATE_LENDING_FIRM = 8;
207
+ const int PartyRole_CONTRA_CLEARING_FIRM = 18;
208
+ const int PartyRole_CORRESPONDENT_CLEARING_ORGANIZATION = 25;
209
+ const int PartyRole_CUSTODIAN = 28;
210
+ const int PartyRole_GIVEUP_CLEARING_FIRM = 14;
211
+ const int PartyRole_EXECUTING_TRADER = 12;
212
+ const int PartyRole_EXECUTING_UNIT = 59;
213
+ const int PartyRole_BROKER_OF_CREDIT = 2;
214
+ const int PartyRole_CORRESPONDANT_CLEARING_FIRM = 15;
215
+ const int PartyRole_SETTLEMENT_LOCATION = 10;
216
+ const int PartyRole_THIRD_PARTY_ALLOCATION_FIRM = 47;
217
+ const int PartyRole_ORDER_ORIGINATION_TRADER = 11;
218
+ const int PartyRole_HOST_COMPETENT_AUTHORITY = 68;
219
+ const int PartyRole_ORDER_ENTRY_OPERATOR_ID = 44;
220
+ const int PartyRole_SPONSORING_FIRM = 19;
221
+ const int PartyRole_INTRODUCING_FIRM = 6;
222
+ const int PartyRole_CLEARING_FIRM = 4;
223
+ const int PartyRole_CONTRA_POSITION_ACCOUNT = 41;
224
+ const int PartyRole_INVESTOR_ID = 5;
225
+ const int PartyRole_ENTERING_TRADER = 36;
226
+ const int PartyRole_LOCATE = 8;
227
+ const int PartyRole_LARGE_TRADER_REPORTABLE_ACCOUNT = 52;
228
+ const int PartyRole_ACCEPTABLE_SETTLING_COUNTERPARTY = 84;
229
+ const int PartyRole_PRIME_BROKER_PROVIDING_GENERAL_TRADE_SERVICES = 79;
230
+ const int PartyRole_FORIEGN_FIRM = 46;
231
+ const int PartyRole_ACCEPTABLE_COUNTERPARTY = 56;
232
+ const int PartyRole_CUSTOMER_ACCOUNT = 24;
233
+ const int PartyRole_POSITION_ACCOUNT = 38;
234
+ const int PartyRole_LIQUIDITY_PROVIDER = 35;
235
+ const int PartyRole_MARKET_MAKER = 66;
236
+ const int PartyRole_AGENT = 30;
237
+ const int PartyRole_ENTERING_UNIT = 58;
238
+ const int PartyRole_FOREIGN_FIRM = 46;
239
+ const int PartyRole_CLEARING_ACCOUNT = 83;
240
+ const int PartyRole_HOME_COMPETENT_AUTHORITY = 69;
241
+ const int PartyRole_INTERESTED_PARTY = 33;
242
+ const int PartyRole_SESSION_ID = 55;
243
+ const int PartyRole_REPORTING_INTERMEDIARY = 72;
244
+ const int PartyRole_INVESTMENT_FIRM = 67;
245
+ const int PartyRole_TRADER_MNEMONIC = 53;
246
+ const int PartyRole_INTERNAL_CARRY_ACCOUNT = 43;
247
+ const int PartyRole_CONTRA_FIRM = 17;
248
+ const int PartyRole_CORRESPONDENT_BROKER = 26;
249
+ const int PartyRole_CLEARING_ORGANIZATION = 21;
250
+ const int PartyRole_SUB_CUSTODIAN = 31;
251
+ const int PartyRole_BUYER_SELLER = 27;
252
+ const int PartyRole_STEP_OUT_FIRM = 80;
253
+ const int PartyRole_MARKET_DATA_MARKET = 77;
254
+ const int PartyRole_EXCHANGE = 22;
255
+ const int PartyRole_CLAIMING_ACCOUNT = 48;
256
+ const int PartyRole_SECONDARY_ACCOUNT_NUMBER = 45;
257
+ const int PartyRole_ALLOCATION_ENTITY = 78;
258
+ const int PartyRole_INTERMEDIARY = 29;
259
+ const int PartyRole_EXECUTING_FIRM = 1;
260
+ const int PartyRole_LOCATION_ID = 75;
261
+ const int PartyRole_DESK_ID = 76;
262
+ const int PartyRole_EXECUTING_SYSTEM = 16;
263
+ const int PartyRole_BENEFICIARY = 32;
264
+ const int PartyRole_FUND_MANAGER_CLIENT_ID = 9;
265
+ const int PartyRole_CONTRA_INVESTOR_ID = 39;
266
+ const int PartyRole_UNACCEPTABLE_COUNTERPARTY = 57;
267
+ const int PartyRole_UNDERLYING_CONTRA_FIRM = 20;
268
+ const int PartyRole_QUOTE_ORIGINATOR = 61;
269
+ const int PartyRole_REGULATED_MARKET = 65;
270
+ const int PartyRole_COMPETENT_AUTHORITY_OF_THE_TRANSACTION = 71;
271
+ const int PartyRole_ENTERING_FIRM = 7;
272
+ const int PartyRole_UNACCEPTABLE_SETTLING_COUNTERPARTY = 85;
273
+ const int PartyRole_SENDER_LOCATION = 54;
274
+ const int PartyRole_SYSTEMATIC_INTERNALISER = 63;
275
+ const int PartyRole_CONTRA_EXCHANGE = 42;
276
+ const int PartyRole_REGULATORY_BODY = 34;
277
+ const int PartyRole_PLEDGOR_ACCOUNT = 50;
278
+ const int PartyRole_COMPETENT_AUTHORITY_OF_THE_MOST_RELEVANT_MARKET_IN_TERMS_OF_LIQUIDITY = 70;
279
+ const char AssignmentMethod_PRO_RATA = 'P';
280
+ const char AssignmentMethod_RANDOM = 'R';
281
+ const char AssignmentMethod_PRORATA = 'P';
282
+ const int StrategyParameterType_TZTIMEONLY = 27;
283
+ const int StrategyParameterType_MONTHYEAR = 18;
284
+ const int StrategyParameterType_PRICE = 8;
285
+ const int StrategyParameterType_QTY = 7;
286
+ const int StrategyParameterType_BOOLEAN = 13;
287
+ const int StrategyParameterType_MULTIPLECHARVALUE = 15;
288
+ const int StrategyParameterType_CHAR = 12;
289
+ const int StrategyParameterType_NUMINGROUP = 3;
290
+ const int StrategyParameterType_TAGNUM = 5;
291
+ const int StrategyParameterType_COUNTRY = 25;
292
+ const int StrategyParameterType_TENOR = 29;
293
+ const int StrategyParameterType_LOCALMKTTIME = 21;
294
+ const int StrategyParameterType_INT = 1;
295
+ const int StrategyParameterType_LOCALMKTDATE = 21;
296
+ const int StrategyParameterType_EXCHANGE = 17;
297
+ const int StrategyParameterType_LANGUAGE = 26;
298
+ const int StrategyParameterType_PERCENTAGE = 11;
299
+ const int StrategyParameterType_LENGTH = 2;
300
+ const int StrategyParameterType_TZTIMESTAMP = 28;
301
+ const int StrategyParameterType_MULTIPLESTRINGVALUE = 24;
302
+ const int StrategyParameterType_UTCTIMESTAMP = 19;
303
+ const int StrategyParameterType_DATA = 23;
304
+ const int StrategyParameterType_CURRENCY = 16;
305
+ const int StrategyParameterType_STRING = 14;
306
+ const int StrategyParameterType_AMT = 10;
307
+ const int StrategyParameterType_FLOAT = 6;
308
+ const int StrategyParameterType_UTCDATE = 22;
309
+ const int StrategyParameterType_UTCTIMEONLY = 20;
310
+ const int StrategyParameterType_SEQNUM = 4;
311
+ const int StrategyParameterType_UTCDATEONLY = 22;
312
+ const int StrategyParameterType_PRICEOFFSET = 9;
313
+ const int EncryptMethod_PGP_DES_MD5 = 5;
314
+ const int EncryptMethod_PKCS_DES = 3;
315
+ const int EncryptMethod_PKCS = 1;
316
+ const int EncryptMethod_PGP_DES = 4;
317
+ const int EncryptMethod_NONE = 0;
318
+ const int EncryptMethod_DES = 2;
319
+ const int EncryptMethod_NONE_OTHER = 0;
320
+ const int EncryptMethod_PEM_DES_MD5 = 6;
321
+ const char PosAmtType_ACCRUED_COUPON_AMOUNT[] = "ACPN";
322
+ const char PosAmtType_PREMIUM_AMOUNT[] = "PREM";
323
+ const char PosAmtType_INCREMENTAL_COLLATERALIZED_MARK_TO_MARKET[] = "ICMTM";
324
+ const char PosAmtType_TOTAL_BANKED_AMOUNT[] = "BANK";
325
+ const char PosAmtType_FINAL_MARK_TO_MARKET_AMOUNT[] = "FMTM";
326
+ const char PosAmtType_SETTLEMENT_VALUE[] = "SETL";
327
+ const char PosAmtType_CASH_AMOUNT[] = "CASH";
328
+ const char PosAmtType_INITIAL_TRADE_COUPON_AMOUNT[] = "ICPN";
329
+ const char PosAmtType_INCREMENTAL_ACCRUED_COUPON[] = "IACPN";
330
+ const char PosAmtType_VALUE_ADJUSTED_AMOUNT[] = "VADJ";
331
+ const char PosAmtType_START_OF_DAY_MARK_TO_MARKET_AMOUNT[] = "SMTM";
332
+ const char PosAmtType_COLLATERALIZED_MARK_TO_MARKET[] = "CMTM";
333
+ const char PosAmtType_CASH_RESIDUAL_AMOUNT[] = "CRES";
334
+ const char PosAmtType_COMPENSATION_AMOUNT[] = "DLV";
335
+ const char PosAmtType_TRADE_VARIATION_AMOUNT[] = "TVAR";
336
+ const char PosAmtType_COUPON_AMOUNT[] = "CPN";
337
+ const char PosAmtType_TOTAL_COLLATERALIZED_AMOUNT[] = "COLAT";
338
+ const char PosAmtType_INCREMENTAL_MARK_TO_MARKET_AMOUNT[] = "IMTM";
339
+ const char ResetSeqNumFlag_NO = 'N';
340
+ const char ResetSeqNumFlag_YES = 'Y';
341
+ const int CollInquiryResult_NO_COLLATERAL_FOUND_FOR_THE_ORDER_SPECIFIED = 7;
342
+ const int CollInquiryResult_INVALID_DESTINATION_REQUESTED = 5;
343
+ const int CollInquiryResult_UNAUTHORIZED_FOR_COLLATERAL_INQUIRY = 9;
344
+ const int CollInquiryResult_INVALID_OR_UNKNOWN_COLLATERAL_TYPE = 2;
345
+ const int CollInquiryResult_SUCCESSFUL = 0;
346
+ const int CollInquiryResult_OTHER = 99;
347
+ const int CollInquiryResult_COLLATERAL_INQUIRY_TYPE_NOT_SUPPORTED = 8;
348
+ const int CollInquiryResult_INVALID_OR_UNKNOWN_INSTRUMENT = 1;
349
+ const int CollInquiryResult_INVALID_PARTIES = 3;
350
+ const int CollInquiryResult_INVALID_TRANSPORT_TYPE_REQUESTED = 4;
351
+ const int CollInquiryResult_NO_COLLATERAL_FOUND_FOR_THE_TRADE_SPECIFIED = 6;
352
+ const int CollAsgnRespType_DECLINED = 2;
353
+ const int CollAsgnRespType_RECEIVED = 0;
354
+ const int CollAsgnRespType_REJECTED = 3;
355
+ const int CollAsgnRespType_ACCEPTED = 1;
356
+ const char UnsolicitedIndicator_NO = 'N';
357
+ const char UnsolicitedIndicator_YES = 'Y';
358
+ const int QuoteEntryRejectReason_INVALID_PRICE = 8;
359
+ const int QuoteEntryRejectReason_NOT_AUTHORIZED_TO_QUOTE_SECURITY = 9;
360
+ const int QuoteEntryRejectReason_TOO_LATE_TO_ENTER = 4;
361
+ const int QuoteEntryRejectReason_QUOTE_EXCEEDS_LIMIT = 3;
362
+ const int QuoteEntryRejectReason_EXCHANGE = 2;
363
+ const int QuoteEntryRejectReason_UNKNOWN_SYMBOL = 1;
364
+ const int QuoteEntryRejectReason_INVALID_BID_ASK_SPREAD = 7;
365
+ const int QuoteEntryRejectReason_UNKNOWN_QUOTE = 5;
366
+ const int QuoteEntryRejectReason_DUPLICATE_QUOTE = 6;
367
+ const char OrderCapacity_PROPRIETARY = 'G';
368
+ const char OrderCapacity_RISKLESS_PRINCIPAL = 'R';
369
+ const char OrderCapacity_AGENT_FOR_OTHER_MEMBER = 'W';
370
+ const char OrderCapacity_PRINCIPAL = 'P';
371
+ const char OrderCapacity_AGENCY = 'A';
372
+ const char OrderCapacity_INDIVIDUAL = 'I';
373
+ const int QuoteAckStatus_CANCELED_FOR_UNDERLYING = 3;
374
+ const int QuoteAckStatus_CANCELED_ALL = 4;
375
+ const int QuoteAckStatus_CANCELED_FOR_SECURITY_TYPE = 2;
376
+ const int QuoteAckStatus_REJECTED = 5;
377
+ const int QuoteAckStatus_CANCELED_FOR_SYMBOL = 1;
378
+ const int QuoteAckStatus_ACCEPTED = 0;
379
+ const int UserRequestType_CHANGE_PASSWORD_FOR_USER = 3;
380
+ const int UserRequestType_CHANGEPASSWORDFORUSER = 3;
381
+ const int UserRequestType_LOGOFFUSER = 2;
382
+ const int UserRequestType_LOG_OFF_USER = 2;
383
+ const int UserRequestType_REQUEST_INDIVIDUAL_USER_STATUS = 4;
384
+ const int UserRequestType_LOGONUSER = 1;
385
+ const int UserRequestType_LOG_ON_USER = 1;
386
+ const int TradeReportTransType_REPLACE = 2;
387
+ const int TradeReportTransType_NEW = 0;
388
+ const int TradeReportTransType_REVERSE = 4;
389
+ const int TradeReportTransType_CANCEL = 1;
390
+ const int TradeReportTransType_CANCEL_DUE_TO_BACK_OUT_OF_TRADE = 5;
391
+ const int TradeReportTransType_RELEASE = 3;
392
+ const char AdvSide_CROSS = 'X';
393
+ const char AdvSide_TRADE = 'T';
394
+ const char AdvSide_BUY = 'B';
395
+ const char AdvSide_SELL = 'S';
396
+ const int CoveredOrUncovered_COVERED = 0;
397
+ const int CoveredOrUncovered_UNCOVERED = 1;
398
+ const int AcctIDSource_TFM = 3;
399
+ const int AcctIDSource_BIC = 1;
400
+ const int AcctIDSource_OTHER = 99;
401
+ const int AcctIDSource_OMGEO = 4;
402
+ const int AcctIDSource_DTCC_CODE = 5;
403
+ const int AcctIDSource_SID_CODE = 2;
404
+ const int TradeRequestType_UNMATCHED_TRADES_THAT_MATCH_CRITERIA = 2;
405
+ const int TradeRequestType_ALL_TRADES = 0;
406
+ const int TradeRequestType_MATCHED_TRADES_MATCHING_CRITERIA_PROVIDED_ON_REQUEST = 1;
407
+ const int TradeRequestType_UNREPORTED_TRADES_THAT_MATCH_CRITERIA = 3;
408
+ const int TradeRequestType_ADVISORIES_THAT_MATCH_CRITERIA = 4;
409
+ const int TradSesStatus_HALTED = 1;
410
+ const int TradSesStatus_REQUEST_REJECTED = 6;
411
+ const int TradSesStatus_OPEN = 2;
412
+ const int TradSesStatus_PRE_OPEN = 4;
413
+ const int TradSesStatus_UNKNOWN = 0;
414
+ const int TradSesStatus_PRE_CLOSE = 5;
415
+ const int TradSesStatus_CLOSED = 3;
416
+ const int PegPriceType_LAST_PEG = 1;
417
+ const int PegPriceType_PRIMARY_PEG = 5;
418
+ const int PegPriceType_OPENING_PEG = 3;
419
+ const int PegPriceType_FIXED_PEG_TO_LOCAL_BEST_BID_OR_OFFER_AT_TIME_OF_ORDER = 6;
420
+ const int PegPriceType_TRAILING_STOP_PEG = 8;
421
+ const int PegPriceType_PEG_TO_LIMIT_PRICE = 9;
422
+ const int PegPriceType_MID_PRICE_PEG = 2;
423
+ const int PegPriceType_MARKET_PEG = 4;
424
+ const int PegPriceType_PEG_TO_VWAP = 7;
425
+ const int StreamAsgnRejReason_NO_AVAILABLE_STREAM = 3;
426
+ const int StreamAsgnRejReason_EXCEEDS_MAXIMUM_SIZE = 1;
427
+ const int StreamAsgnRejReason_UNKNOWN_CLIENT = 0;
428
+ const int StreamAsgnRejReason_UNKNOWN_OR_INVALID_CURRENCY_PAIR = 2;
429
+ const int StreamAsgnRejReason_OTHER = 99;
430
+ const char ValuationMethod_FUTURES_STYLE_WITH_AN_ATTACHED_CASH_ADJUSTMENT[] = "FUTDA";
431
+ const char ValuationMethod_PREMIUM_STYLE[] = "EQTY";
432
+ const char ValuationMethod_CDS_IN_DELIVERY[] = "CDSD";
433
+ const char ValuationMethod_CDS_STYLE_COLLATERALIZATION_OF_MARKET_TO_MARKET_AND_COUPON[] = "CDS";
434
+ const char ValuationMethod_FUTURES_STYLE_MARK_TO_MARKET[] = "FUT";
435
+ const char TriggerType_SPECIFIED_TRADING_SESSION = '2';
436
+ const char TriggerType_NEXT_AUCTION = '3';
437
+ const char TriggerType_PRICE_MOVEMENT = '4';
438
+ const char TriggerType_PARTIAL_EXECUTION = '1';
439
+ const char PriceProtectionScope_LOCAL = '1';
440
+ const char PriceProtectionScope_NONE = '0';
441
+ const char PriceProtectionScope_GLOBAL = '3';
442
+ const char PriceProtectionScope_NATIONAL = '2';
443
+ const int TradeReportRejectReason_INVALID_PARTY_INFORMATION = 1;
444
+ const int TradeReportRejectReason_UNAUTHORIZED_TO_REPORT_TRADES = 3;
445
+ const int TradeReportRejectReason_INVALID_PARTY_ONFORMATION = 1;
446
+ const int TradeReportRejectReason_UNKNOWN_INSTRUMENT = 2;
447
+ const int TradeReportRejectReason_SUCCESSFUL = 0;
448
+ const int TradeReportRejectReason_OTHER = 99;
449
+ const int TradeReportRejectReason_INVALID_TRADE_TYPE = 4;
450
+ const int SecurityListType_NEWSPAPER_LIST = 4;
451
+ const int SecurityListType_TRADING_LIST = 2;
452
+ const int SecurityListType_INDUSTRY_CLASSIFICATION = 1;
453
+ const int SecurityListType_MARKET = 3;
454
+ const int QuoteRejectReason_QUOTE_LOCKED = 11;
455
+ const int QuoteRejectReason_INVALID_OR_UNKNOWN_ISSUER_OF_UNDERLYING_SECURITY = 13;
456
+ const int QuoteRejectReason_INVALID_PRICE = 8;
457
+ const int QuoteRejectReason_NOT_AUTHORIZED_TO_QUOTE_SECURITY = 9;
458
+ const int QuoteRejectReason_TOO_LATE_TO_ENTER = 4;
459
+ const int QuoteRejectReason_EXCHANGE = 2;
460
+ const int QuoteRejectReason_UNKNOWN_SYMBOL = 1;
461
+ const int QuoteRejectReason_OTHER = 99;
462
+ const int QuoteRejectReason_INVALID_BID_ASK_SPREAD = 7;
463
+ const int QuoteRejectReason_UNKNOWN_QUOTE = 5;
464
+ const int QuoteRejectReason_INVALID_OR_UNKNOWN_SECURITY_ISSUER = 12;
465
+ const int QuoteRejectReason_DUPLICATE_QUOTE = 6;
466
+ const int QuoteRejectReason_PRICE_EXCEEDS_CURRENT_PRICE_BAND = 10;
467
+ const int QuoteRejectReason_QUOTE_REQUEST_EXCEEDS_LIMIT = 3;
468
+ const char PossResend_NO = 'N';
469
+ const char PossResend_YES = 'Y';
470
+ const int QuantityType_SHARES = 1;
471
+ const int QuantityType_CURRENTFACE = 3;
472
+ const int QuantityType_PAR = 8;
473
+ const int QuantityType_BONDS = 2;
474
+ const int QuantityType_ORIGINALFACE = 4;
475
+ const int QuantityType_CONTRACTS = 6;
476
+ const int QuantityType_OTHER = 7;
477
+ const int QuantityType_CURRENCY = 5;
478
+ const int ComplexEventPriceBoundaryMethod_GREATER_THAN_OR_EQUAL_TO_COMPLEXEVENTPRICE = 4;
479
+ const int ComplexEventPriceBoundaryMethod_EQUAL_TO_COMPLEXEVENTPRICE = 3;
480
+ const int ComplexEventPriceBoundaryMethod_LESS_THAN_COMPLEXEVENTPRICE = 1;
481
+ const int ComplexEventPriceBoundaryMethod_GREATER_THAN_COMPLEXEVENTPRICE = 5;
482
+ const int ComplexEventPriceBoundaryMethod_LESS_THAN_OR_EQUAL_TO_COMPLEXEVENTPRICE = 2;
483
+ const int ImpliedMarketIndicator_BOTH_IMPLIED_IN_AND_IMPLIED_OUT = 3;
484
+ const int ImpliedMarketIndicator_NOT_IMPLIED = 0;
485
+ const int ImpliedMarketIndicator_IMPLIED_OUT = 2;
486
+ const int ImpliedMarketIndicator_IMPLIED_IN = 1;
487
+ const int QuoteRequestType_AUTOMATIC = 2;
488
+ const int QuoteRequestType_MANUAL = 1;
489
+ const int SecurityRequestResult_NO_INSTRUMENTS_FOUND_THAT_MATCH_SELECTION_CRITERIA = 2;
490
+ const int SecurityRequestResult_NOT_AUTHORIZED_TO_RETRIEVE_INSTRUMENT_DATA = 3;
491
+ const int SecurityRequestResult_INSTRUMENT_DATA_TEMPORARILY_UNAVAILABLE = 4;
492
+ const int SecurityRequestResult_VALID_REQUEST = 0;
493
+ const int SecurityRequestResult_INVALID_OR_UNSUPPORTED_REQUEST = 1;
494
+ const int SecurityRequestResult_REQUEST_FOR_INSTRUMENT_DATA_NOT_SUPPORTED = 5;
495
+ const char OrderRestrictions_ISSUER_HOLDING = 'B';
496
+ const char OrderRestrictions_ACTING_AS_MARKET_MAKER_OR_SPECIALIST_IN_THE_SECURITY = '5';
497
+ const char OrderRestrictions_NON_ALGORITHMIC = 'D';
498
+ const char OrderRestrictions_EXTNERAL_INTER_CONNECTED_MARKET_LINKAGE = '9';
499
+ const char OrderRestrictions_NON_INDEX_ARBITRAGE = '3';
500
+ const char OrderRestrictions_ACTING_AS_MARKET_MAKER_OF_SPECIALIST_IN_THE_UNDERLYING_SECURITY_OF_A_DERIVATIVE_SEUCIRTY = '6';
501
+ const char OrderRestrictions_PROGRAM_TRADE = '1';
502
+ const char OrderRestrictions_ISSUE_PRICE_STABILIZATION = 'C';
503
+ const char OrderRestrictions_CROSS = 'F';
504
+ const char OrderRestrictions_EXTERNAL_INTER_CONNECTED_MARKET_LINKAGE = '9';
505
+ const char OrderRestrictions_FOREIGN_ENTITY = '7';
506
+ const char OrderRestrictions_INDEX_ARBITRAGE = '2';
507
+ const char OrderRestrictions_EXTERNAL_MARKET_PARTICIPANT = '8';
508
+ const char OrderRestrictions_ALGORITHMIC = 'E';
509
+ const char OrderRestrictions_ACTING_AS_MARKET_MAKER_OR_SPECIALIST_IN_THE_UNDERLYING_SECURITY_OF_A_DERIVATIVE_SECURITY = '6';
510
+ const char OrderRestrictions_RISKLESS_ARBITRAGE = 'A';
511
+ const char OrderRestrictions_COMPETING_MARKET_MAKER = '4';
512
+ const char ListExecInstType_WAIT_FOR_EXECUT_INSTRUCTION = '2';
513
+ const char ListExecInstType_EXCHANGE_SWITCH_CIV_ORDER_SELL_DRIVEN = '3';
514
+ const char ListExecInstType_EXCHANGE_SWITCH_CIV_ORDER_BUY_DRIVEN_CASH_WITHDRAW = '5';
515
+ const char ListExecInstType_EXCHANGE_SWITCH_CIV_ORDER_3 = '3';
516
+ const char ListExecInstType_IMMEDIATE = '1';
517
+ const char ListExecInstType_EXCHANGE_SWITCH_CIV_ORDER_4 = '4';
518
+ const char ListExecInstType_EXCHANGE_SWITCH_CIV_ORDER_5 = '5';
519
+ const char ListExecInstType_EXCHANGE_SWITCH_CIV_ORDER_BUY_DRIVEN_CASH_TOP_UP = '4';
520
+ const char ListExecInstType_WAIT_FOR_EXECUTE_INSTRUCTION = '2';
521
+ const int DistribPaymentMethod_FED_WIRE = 7;
522
+ const int DistribPaymentMethod_EUROCLEAR = 3;
523
+ const int DistribPaymentMethod_ACH_CREDIT = 9;
524
+ const int DistribPaymentMethod_TELEGRAPHIC_TRANSFER = 6;
525
+ const int DistribPaymentMethod_FEDWIRE = 7;
526
+ const int DistribPaymentMethod_CHEQUE = 5;
527
+ const int DistribPaymentMethod_DIRECT_CREDIT = 8;
528
+ const int DistribPaymentMethod_CREST = 1;
529
+ const int DistribPaymentMethod_HIGH_VALUE_CLEARING_SYSTEM = 11;
530
+ const int DistribPaymentMethod_CLEARSTREAM = 4;
531
+ const int DistribPaymentMethod_BPAY = 10;
532
+ const int DistribPaymentMethod_NSCC = 2;
533
+ const int DistribPaymentMethod_HIGH_VALUE_CLEARING_SYSTEM_HVACS = 11;
534
+ const int DistribPaymentMethod_REINVEST_IN_FUND = 12;
535
+ const int OrderHandlingInstSource_NASD_OATS = 1;
536
+ const int AffirmStatus_AFFIRMED = 3;
537
+ const int AffirmStatus_CONFIRM_REJECTED_IE_NOT_AFFIRMED = 2;
538
+ const int AffirmStatus_RECEIVED = 1;
539
+ const int OrigCustOrderCapacity_CLEARING_FIRM_TRADING_FOR_ITS_PROPRIETARY_ACCOUNT = 2;
540
+ const int OrigCustOrderCapacity_MEMBER_TRADING_FOR_THEIR_OWN_ACCOUNT = 1;
541
+ const int OrigCustOrderCapacity_MEMBER_TRADING_FOR_ANOTHER_MEMBER = 3;
542
+ const int OrigCustOrderCapacity_ALL_OTHER = 4;
543
+ const int AllocMethod_GUARANTOR = 2;
544
+ const int AllocMethod_AUTOMATIC = 1;
545
+ const int AllocMethod_MANUAL = 3;
546
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_SECURITY = '1';
547
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_ISSUER_OF_UNDERLYING_SECURITY = 'C';
548
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_SECURITY_GROUP = 'A';
549
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_MARKET = '8';
550
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_MARKET_SEGMENT = '9';
551
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_SECURITYTYPE = '5';
552
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_TRADING_SESSION = '6';
553
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_AN_UNDERLYING_SECURITY = '2';
554
+ const char MassCancelResponse_CANCEL_ALL_ORDERS = '7';
555
+ const char MassCancelResponse_CANCEL_REQUEST_REJECTED = '0';
556
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_SECURITIES_ISSUER = 'B';
557
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_CFICODE = '4';
558
+ const char MassCancelResponse_CANCEL_ORDERS_FOR_A_PRODUCT = '3';
559
+ const int StreamAsgnReqType_STREAM_ASSIGNMENT_FOR_NEW_CUSTOMER = 1;
560
+ const int StreamAsgnReqType_STREAM_ASSIGNMENT_FOR_EXISTING_CUSTOMER = 2;
561
+ const char SymbolSfx_EUCP_WITH_LUMP_SUM_INTEREST_RATHER_THAN_DISCOUNT_PRICE[] = "CD";
562
+ const char SymbolSfx_WHEN_ISSUED_FOR_A_SECURITY_TO_BE_REISSUED_UNDER_AN_OLD_CUSIP_OR_ISIN[] = "WI";
563
+ const char ExDestinationIDSource_PROPRIETARY = 'D';
564
+ const char ExDestinationIDSource_GENERALLY_ACCEPTED_MARKET_PARTICIPANT_IDENTIFIER = 'C';
565
+ const char ExDestinationIDSource_BIC = 'B';
566
+ const char ExDestinationIDSource_MIC = 'G';
567
+ const char ExDestinationIDSource_ISO_COUNTRY_CODE = 'E';
568
+ const int SecurityListRequestType_MARKETID_OR_MARKETID_PLUS_MARKETSEGMENTID = 5;
569
+ const int SecurityListRequestType_SYMBOL = 0;
570
+ const int SecurityListRequestType_SECURITYTYPE_AND_OR_CFICODE = 1;
571
+ const int SecurityListRequestType_TRADINGSESSIONID = 3;
572
+ const int SecurityListRequestType_ALL_SECURITIES = 4;
573
+ const int SecurityListRequestType_PRODUCT = 2;
574
+ const int CollAsgnReason_TIME_WARNING = 2;
575
+ const int CollAsgnReason_ADVERSE_TAX_EVENT = 7;
576
+ const int CollAsgnReason_MARGIN_DEFICIENCY = 3;
577
+ const int CollAsgnReason_SCHEDULED = 1;
578
+ const int CollAsgnReason_INITIAL = 0;
579
+ const int CollAsgnReason_FORWARD_COLLATERAL_DEMAND = 5;
580
+ const int CollAsgnReason_EVENT_OF_DEFAULT = 6;
581
+ const int CollAsgnReason_MARGIN_EXCESS = 4;
582
+ const int SettlPriceType_FINAL = 1;
583
+ const int SettlPriceType_THEORETICAL = 2;
584
+ const char DealingCapacity_RISKLESS_PRINCIPAL = 'R';
585
+ const char DealingCapacity_PRINCIPAL = 'P';
586
+ const char DealingCapacity_AGENT = 'A';
587
+ const int RateSourceType_SECONDARY = 1;
588
+ const int RateSourceType_PRIMARY = 0;
589
+ const char AggregatedBook_NO = 'N';
590
+ const char AggregatedBook_YES = 'Y';
591
+ const int PosQtyStatus_SUBMITTED = 0;
592
+ const int PosQtyStatus_REJECTED = 2;
593
+ const int PosQtyStatus_ACCEPTED = 1;
594
+ const char MsgType_TradingSessionStatusRequest[] = "g";
595
+ const char MsgType_ListStatus[] = "N";
596
+ const char MsgType_Email[] = "C";
597
+ const char MsgType_ListExecute[] = "L";
598
+ const char MsgType_Confirmation[] = "AK";
599
+ const char MsgType_NewOrderMultileg[] = "AB";
600
+ const char MsgType_MarketDataIncrementalRefresh[] = "X";
601
+ const char MsgType_TradeCaptureReport[] = "AE";
602
+ const char MsgType_RequestForPositionsAck[] = "AO";
603
+ const char MsgType_StreamAssignmentRequest[] = "CC";
604
+ const char MsgType_SecurityListRequest[] = "x";
605
+ const char MsgType_CollateralReport[] = "BA";
606
+ const char MsgType_PositionMaintenanceReport[] = "AM";
607
+ const char MsgType_PositionReport[] = "AP";
608
+ const char MsgType_StreamAssignmentReportACK[] = "CE";
609
+ const char MsgType_UserRequest[] = "BE";
610
+ const char MsgType_PositionMaintenanceRequest[] = "AL";
611
+ const char MsgType_NetworkCounterpartySystemStatusResponse[] = "BD";
612
+ const char MsgType_NewOrderCross[] = "s";
613
+ const char MsgType_AdjustedPositionReport[] = "BL";
614
+ const char MsgType_Logon[] = "A";
615
+ const char MsgType_IOI[] = "6";
616
+ const char MsgType_ListStrikePrice[] = "m";
617
+ const char MsgType_BidRequest[] = "k";
618
+ const char MsgType_TradingSessionStatus[] = "h";
619
+ const char MsgType_RegistrationInstructionsResponse[] = "p";
620
+ const char MsgType_Advertisement[] = "7";
621
+ const char MsgType_MassQuote[] = "i";
622
+ const char MsgType_Logout[] = "5";
623
+ const char MsgType_AllocationReport[] = "AS";
624
+ const char MsgType_SecurityDefinitionUpdateReport[] = "BP";
625
+ const char MsgType_ListStatusRequest[] = "M";
626
+ const char MsgType_BusinessMessageReject[] = "j";
627
+ const char MsgType_ConfirmationAck[] = "AU";
628
+ const char MsgType_XMLnonFIX[] = "n";
629
+ const char MsgType_TestRequest[] = "1";
630
+ const char MsgType_SecurityList[] = "y";
631
+ const char MsgType_ListCancelRequest[] = "K";
632
+ const char MsgType_News[] = "B";
633
+ const char MsgType_TradingSessionListUpdateReport[] = "BS";
634
+ const char MsgType_Heartbeat[] = "0";
635
+ const char MsgType_QuoteAcknowledgement[] = "b";
636
+ const char MsgType_AllocationReportAck[] = "AT";
637
+ const char MsgType_ConfirmationRequest[] = "BH";
638
+ const char MsgType_OrderMassActionReport[] = "BZ";
639
+ const char MsgType_CollateralInquiry[] = "BB";
640
+ const char MsgType_SecurityTypeRequest[] = "v";
641
+ const char MsgType_NewOrderList[] = "E";
642
+ const char MsgType_ExecutionAcknowledgement[] = "BN";
643
+ const char MsgType_TradingSessionListRequest[] = "BI";
644
+ const char MsgType_SecurityTypes[] = "w";
645
+ const char MsgType_MarketDefinition[] = "BU";
646
+ const char MsgType_SequenceReset[] = "4";
647
+ const char MsgType_CollateralResponse[] = "AZ";
648
+ const char MsgType_MassQuoteAcknowledgement[] = "b";
649
+ const char MsgType_QuoteResponse[] = "AJ";
650
+ const char MsgType_QuoteStatusRequest[] = "a";
651
+ const char MsgType_QuoteCancel[] = "Z";
652
+ const char MsgType_ContraryIntentionReport[] = "BO";
653
+ const char MsgType_CrossOrderCancelRequest[] = "u";
654
+ const char MsgType_NewOrderSingle[] = "D";
655
+ const char MsgType_DerivativeSecurityListRequest[] = "z";
656
+ const char MsgType_CollateralRequest[] = "AX";
657
+ const char MsgType_UserNotification[] = "CB";
658
+ const char MsgType_UserResponse[] = "BF";
659
+ const char MsgType_DontKnowTrade[] = "Q";
660
+ const char MsgType_TradeCaptureReportAck[] = "AR";
661
+ const char MsgType_ApplicationMessageRequest[] = "BW";
662
+ const char MsgType_MultilegOrderCancelReplace[] = "AC";
663
+ const char MsgType_OrderCancelReject[] = "9";
664
+ const char MsgType_ExecutionReport[] = "8";
665
+ const char MsgType_QuoteStatusReport[] = "AI";
666
+ const char MsgType_ResendRequest[] = "2";
667
+ const char MsgType_Quote[] = "S";
668
+ const char MsgType_SettlementInstructionRequest[] = "AV";
669
+ const char MsgType_SecurityListUpdateReport[] = "BK";
670
+ const char MsgType_AllocationInstructionAlert[] = "BM";
671
+ const char MsgType_TradeCaptureReportRequestAck[] = "AQ";
672
+ const char MsgType_AllocationInstruction[] = "J";
673
+ const char MsgType_Allocation[] = "J";
674
+ const char MsgType_RegistrationInstructions[] = "o";
675
+ const char MsgType_SecurityDefinition[] = "d";
676
+ const char MsgType_SecurityDefinitionRequest[] = "c";
677
+ const char MsgType_SecurityStatus[] = "f";
678
+ const char MsgType_ApplicationMessageReport[] = "BY";
679
+ const char MsgType_DerivativeSecurityList[] = "AA";
680
+ const char MsgType_NetworkCounterpartySystemStatusRequest[] = "BC";
681
+ const char MsgType_MarketDefinitionRequest[] = "BT";
682
+ const char MsgType_Reject[] = "3";
683
+ const char MsgType_DerivativeSecurityListUpdateReport[] = "BR";
684
+ const char MsgType_QuoteRequestReject[] = "AG";
685
+ const char MsgType_OrderMassStatusRequest[] = "AF";
686
+ const char MsgType_ApplicationMessageRequestAck[] = "BX";
687
+ const char MsgType_SecurityStatusRequest[] = "e";
688
+ const char MsgType_MarketDefinitionUpdateReport[] = "BV";
689
+ const char MsgType_CrossOrderCancelReplaceRequest[] = "t";
690
+ const char MsgType_OrderMassCancelReport[] = "r";
691
+ const char MsgType_AssignmentReport[] = "AW";
692
+ const char MsgType_BidResponse[] = "l";
693
+ const char MsgType_RequestForPositions[] = "AN";
694
+ const char MsgType_SettlementObligationReport[] = "BQ";
695
+ const char MsgType_OrderMassCancelRequest[] = "q";
696
+ const char MsgType_TradingSessionList[] = "BJ";
697
+ const char MsgType_OrderStatusRequest[] = "H";
698
+ const char MsgType_CollateralAssignment[] = "AY";
699
+ const char MsgType_StreamAssignmentReport[] = "CD";
700
+ const char MsgType_OrderMassActionRequest[] = "CA";
701
+ const char MsgType_AllocationAck[] = "P";
702
+ const char MsgType_QuoteRequest[] = "R";
703
+ const char MsgType_CollateralInquiryAck[] = "BG";
704
+ const char MsgType_MarketDataSnapshotFullRefresh[] = "W";
705
+ const char MsgType_SettlementInstructions[] = "T";
706
+ const char MsgType_OrderCancelReplaceRequest[] = "G";
707
+ const char MsgType_TradeCaptureReportRequest[] = "AD";
708
+ const char MsgType_RFQRequest[] = "AH";
709
+ const char MsgType_OrderCancelRequest[] = "F";
710
+ const char MsgType_MultilegOrderCancelReplaceRequest[] = "AC";
711
+ const char MsgType_AllocationInstructionAck[] = "P";
712
+ const char MsgType_MarketDataRequest[] = "V";
713
+ const char MsgType_MarketDataRequestReject[] = "Y";
714
+ const char MultiLegReportingType_SINGLE_SECURITY = '1';
715
+ const char MultiLegReportingType_MULTI_LEG_SECURITY = '3';
716
+ const char MultiLegReportingType_INDIVIDUAL_LEG_OF_A_MULTI_LEG_SECURITY = '2';
717
+ const char MultiLegReportingType_INDIVIDUAL_LEG_OF_A_MULTILEG_SECURITY = '2';
718
+ const char IDSource_EXCHANGE_SYMBOL[] = "8";
719
+ const char IDSource_RIC_CODE[] = "5";
720
+ const char IDSource_ISO_CURRENCY_CODE[] = "6";
721
+ const char IDSource_ISIN_NUMBER[] = "4";
722
+ const char IDSource_SEDOL[] = "2";
723
+ const char IDSource_ISO_COUNTRY_CODE[] = "7";
724
+ const char IDSource_CONSOLIDATED_TAPE_ASSOCIATION[] = "9";
725
+ const char IDSource_QUIK[] = "3";
726
+ const char IDSource_CUSIP[] = "1";
727
+ const char OrdStatus_NEW = '0';
728
+ const char OrdStatus_CALCULATED = 'B';
729
+ const char OrdStatus_PENDING_CANCEL = '6';
730
+ const char OrdStatus_PENDING_CANCEL_REPLACE = '6';
731
+ const char OrdStatus_PENDING_NEW = 'A';
732
+ const char OrdStatus_STOPPED = '7';
733
+ const char OrdStatus_FILLED = '2';
734
+ const char OrdStatus_PENDING_REPLACE = 'E';
735
+ const char OrdStatus_CANCELED = '4';
736
+ const char OrdStatus_ACCEPTED_FOR_BIDDING = 'D';
737
+ const char OrdStatus_SUSPENDED = '9';
738
+ const char OrdStatus_REJECTED = '8';
739
+ const char OrdStatus_PARTIALLY_FILLED = '1';
740
+ const char OrdStatus_EXPIRED = 'C';
741
+ const char OrdStatus_REPLACED = '5';
742
+ const char OrdStatus_DONE_FOR_DAY = '3';
743
+ const int CustomerOrFirm_FIRM = 1;
744
+ const int CustomerOrFirm_CUSTOMER = 0;
745
+ const int AdjustmentType_DELTA_MINUS = 2;
746
+ const int AdjustmentType_DELTA_PLUS = 1;
747
+ const int AdjustmentType_FINAL = 3;
748
+ const int AdjustmentType_PROCESS_REQUEST_AS_MARGIN_DISPOSITION = 0;
749
+ const char AsOfIndicator_TRUE = '1';
750
+ const char AsOfIndicator_FALSE = '0';
751
+ const int MassActionScope_ALL_ORDERS_FOR_A_MARKET_SEGMENT = 9;
752
+ const int MassActionScope_ALL_ORDERS_FOR_A_MARKET = 8;
753
+ const int MassActionScope_ALL_ORDERS_FOR_AN_UNDERLYING_SECURITY = 2;
754
+ const int MassActionScope_ALL_ORDERS = 7;
755
+ const int MassActionScope_ALL_ORDERS_FOR_A_CFICODE = 4;
756
+ const int MassActionScope_CANCEL_FOR_ISSUER_OF_UNDERLYING_SECURITY = 12;
757
+ const int MassActionScope_ALL_ORDERS_FOR_A_SECURITY = 1;
758
+ const int MassActionScope_ALL_ORDERS_FOR_A_TRADING_SESSION = 6;
759
+ const int MassActionScope_CANCEL_FOR_SECURITY_ISSUER = 11;
760
+ const int MassActionScope_ALL_ORDERS_FOR_A_SECURITY_GROUP = 10;
761
+ const int MassActionScope_ALL_ORDERS_FOR_A_PRODUCT = 3;
762
+ const int MassActionScope_ALL_ORDERS_FOR_A_SECURITYTYPE = 5;
763
+ const char VenueType_PIT = 'P';
764
+ const char VenueType_EX_PIT = 'X';
765
+ const char VenueType_ELECTRONIC = 'E';
766
+ const int MassActionType_CANCEL_ORDERS = 3;
767
+ const int MassActionType_RELEASE_ORDERS_FROM_SUSPENSION = 2;
768
+ const int MassActionType_SUSPEND_ORDERS = 1;
769
+ const int PosMaintResult_SUCCESSFUL_COMPLETION = 0;
770
+ const int PosMaintResult_OTHER = 99;
771
+ const int PosMaintResult_REJECTED = 1;
772
+ const char IOIShares_MEDIUM[] = "M";
773
+ const char IOIShares_LARGE[] = "L";
774
+ const char IOIShares_SMALL[] = "S";
775
+ const int PegOffsetType_PRICE = 0;
776
+ const int PegOffsetType_PRICE_TIER = 3;
777
+ const int PegOffsetType_TICKS = 2;
778
+ const int PegOffsetType_BASIS_POINTS = 1;
779
+ const int MassCancelRejectReason_INVALID_OR_UNKOWN_MARKET_SEGMENT = 8;
780
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_SECURITY = 1;
781
+ const int MassCancelRejectReason_MASS_CANCEL_NOT_SUPPORTED = 0;
782
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_SECURITY_GROUP = 9;
783
+ const int MassCancelRejectReason_INVALID_OR_UNKOWN_UNDERLYING_SECURITY = 2;
784
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_ISSUER_OF_UNDERLYING_SECURITY = 11;
785
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_SECURITYTYPE = 5;
786
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_CFICODE = 4;
787
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_TRADING_SESSION = 6;
788
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_MARKET = 7;
789
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_SECURITY_TYPE = 5;
790
+ const int MassCancelRejectReason_OTHER = 99;
791
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_SECURITY_ISSUER = 10;
792
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_PRODUCT = 3;
793
+ const int MassCancelRejectReason_INVALID_OR_UNKNOWN_UNDERLYING = 2;
794
+ const int ResponseTransportType_INBAND = 0;
795
+ const int ResponseTransportType_OUT_OF_BAND = 1;
796
+ const int ResponseTransportType_INBAND_TRANSPORT_THE_REQUEST_WAS_SENT_OVER = 0;
797
+ const int ResponseTransportType_OUT_OF_BAND_PRE_ARRANGED_OUT_OF_BAND_DELIVERY_MECHANISM = 1;
798
+ const int TradSesStatusRejReason_UNKNOWN_OR_INVALID_TRADINGSESSIONID = 1;
799
+ const int TradSesStatusRejReason_OTHER = 99;
800
+ const int TrdRegTimestampType_EXECUTION_TIME = 1;
801
+ const int TrdRegTimestampType_TIME_IN = 2;
802
+ const int TrdRegTimestampType_SUBMISSION_TO_CLEARING = 7;
803
+ const int TrdRegTimestampType_DESK_RECEIPT = 6;
804
+ const int TrdRegTimestampType_BROKER_RECEIPT = 4;
805
+ const int TrdRegTimestampType_BROKER_EXECUTION = 5;
806
+ const int TrdRegTimestampType_TIME_OUT = 3;
807
+ const char ApplVerID_FIX50SP1[] = "8";
808
+ const char ApplVerID_FIX27[] = "0";
809
+ const char ApplVerID_FIX50SP2[] = "9";
810
+ const char ApplVerID_FIX50[] = "7";
811
+ const char ApplVerID_FIX40[] = "2";
812
+ const char ApplVerID_FIX41[] = "3";
813
+ const char ApplVerID_FIX30[] = "1";
814
+ const char ApplVerID_FIX42[] = "4";
815
+ const char ApplVerID_FIX43[] = "5";
816
+ const char ApplVerID_FIX44[] = "6";
817
+ const char HandlInst_MANUAL_ORDER_BEST_EXECUTION = '3';
818
+ const char HandlInst_AUTOMATED_EXECUTION_ORDER_PRIVATE_NO_BROKER_INTERVENTION = '1';
819
+ const char HandlInst_AUTOMATED_EXECUTION_ORDER_PUBLIC_BROKER_INTERVENTION_OK = '2';
820
+ const char TradingSessionSubID_POST_TRADING[] = "5";
821
+ const char TradingSessionSubID_INTRADAY_AUCTION[] = "6";
822
+ const char TradingSessionSubID_PRE_TRADING[] = "1";
823
+ const char TradingSessionSubID_QUIESCENT[] = "7";
824
+ const char TradingSessionSubID_3[] = "3";
825
+ const char TradingSessionSubID_OPENING_OR_OPENING_AUCTION[] = "2";
826
+ const char TradingSessionSubID_CLOSING_OR_CLOSING_AUCTION[] = "4";
827
+ const char MDEntryType_SWAP_VALUE_FACTOR = 'S';
828
+ const char MDEntryType_COMPOSITE_UNDERLYING_PRICE = 'D';
829
+ const char MDEntryType_SESSION_HIGH_BID = 'N';
830
+ const char MDEntryType_OPEN_INTEREST = 'C';
831
+ const char MDEntryType_CLOSING_PRICE = '5';
832
+ const char MDEntryType_PRIOR_SETTLE_PRICE = 'M';
833
+ const char MDEntryType_TRADING_SESSION_VWAP_PRICE = '9';
834
+ const char MDEntryType_TRADING_SESSION_LOW_PRICE = '8';
835
+ const char MDEntryType_SETTLE_HIGH_PRICE = 'K';
836
+ const char MDEntryType_IMBALANCE = 'A';
837
+ const char MDEntryType_FIXING_PRICE = 'W';
838
+ const char MDEntryType_CASH_RATE = 'X';
839
+ const char MDEntryType_OPENING_PRICE = '4';
840
+ const char MDEntryType_TRADE = '2';
841
+ const char MDEntryType_CUMULATIVE_VALUE_ADJUSTMENT_FOR_SHORT_POSITIONS = 'V';
842
+ const char MDEntryType_SIMULATED_SELL_PRICE = 'E';
843
+ const char MDEntryType_EMPTY_BOOK = 'J';
844
+ const char MDEntryType_AUCTION_CLEARING_PRICE = 'Q';
845
+ const char MDEntryType_BID = '0';
846
+ const char MDEntryType_RECOVERY_RATE_FOR_SHORT = 'a';
847
+ const char MDEntryType_SIMULATED_BUY_PRICE = 'F';
848
+ const char MDEntryType_EARLY_PRICES = 'P';
849
+ const char MDEntryType_TRADING_SESSION_HIGH_PRICE = '7';
850
+ const char MDEntryType_INDEX_VALUE = '3';
851
+ const char MDEntryType_RECOVERY_RATE_FOR_LONG = 'Z';
852
+ const char MDEntryType_DAILY_VALUE_ADJUSTMENT_FOR_LONG_POSITIONS = 'R';
853
+ const char MDEntryType_MID_PRICE = 'H';
854
+ const char MDEntryType_RECOVERY_RATE = 'Y';
855
+ const char MDEntryType_CUMULATIVE_VALUE_ADJUSTMENT_FOR_LONG_POSITIONS = 'T';
856
+ const char MDEntryType_DAILY_VALUE_ADJUSTMENT_FOR_SHORT_POSITIONS = 'U';
857
+ const char MDEntryType_MARGIN_RATE = 'G';
858
+ const char MDEntryType_SETTLE_LOW_PRICE = 'L';
859
+ const char MDEntryType_SESSION_LOW_OFFER = 'O';
860
+ const char MDEntryType_TRADE_VOLUME = 'B';
861
+ const char MDEntryType_SETTLEMENT_PRICE = '6';
862
+ const char MDEntryType_OFFER = '1';
863
+ const int PegMoveType_FLOATING = 0;
864
+ const int PegMoveType_FIXED = 1;
865
+ const int AvgPxIndicator_LAST_TRADE_IN_THE_AVERAGE_PRICE_GROUP_IDENTIFIED_BY_THE_TRADELINKID = 2;
866
+ const int AvgPxIndicator_NO_AVERAGE_PRICING = 0;
867
+ const int AvgPxIndicator_TRADE_IS_PART_OF_AN_AVERAGE_PRICE_GROUP_IDENTIFIED_BY_THE_TRADELINKID = 1;
868
+ const int AvgPxIndicator_LAST_TRADE_IS_THE_AVERAGE_PRICE_GROUP_IDENTIFIED_BY_THE_TRADELINKID = 2;
869
+ const char CancellationRights_NO_WAIVER_AGREEMENT = 'M';
870
+ const char CancellationRights_NO_M = 'M';
871
+ const char CancellationRights_NO_N = 'N';
872
+ const char CancellationRights_NO_INSTITUTIONAL = 'O';
873
+ const char CancellationRights_YES = 'Y';
874
+ const char CancellationRights_NO_O = 'O';
875
+ const char CancellationRights_NO_EXECUTION_ONLY = 'N';
876
+ const char ExecPriceType_CREATION_PRICE = 'C';
877
+ const char ExecPriceType_CREATION_PRICE_PLUS_ADJUSTMENT_PERCENT = 'D';
878
+ const char ExecPriceType_OFFER_PRICE_MINUS_ADJUSTMENT = 'P';
879
+ const char ExecPriceType_OFFER_PRICE_MINUS_ADJUSTMENT_AMOUNT = 'Q';
880
+ const char ExecPriceType_CREATION_PRICE_PLUS_ADJUSTMENT_AMOUNT = 'E';
881
+ const char ExecPriceType_OFFER_PRICE_MINUS_ADJUSTMENT_PERCENT = 'P';
882
+ const char ExecPriceType_BID_PRICE = 'B';
883
+ const char ExecPriceType_SINGLE_PRICE = 'S';
884
+ const char ExecPriceType_CREATION_PRICE_PLUS_ADJUSTMENT = 'D';
885
+ const char ExecPriceType_OFFER_PRICE = 'O';
886
+ const int AllocSettlInstType_PHONE_FOR_INSTRUCTIONS = 4;
887
+ const int AllocSettlInstType_SSI_DB_IDS_PROVIDED = 3;
888
+ const int AllocSettlInstType_FULL_DETAILS_PROVIDED = 2;
889
+ const int AllocSettlInstType_DERIVE_FROM_PARAMETERS_PROVIDED = 1;
890
+ const int AllocSettlInstType_USE_DEFAULT_INSTRUCTIONS = 0;
891
+ const int StatsType_AVERAGE_PRICE = 3;
892
+ const int StatsType_HIGH = 2;
893
+ const int StatsType_EXCHANGE_LAST = 1;
894
+ const int StatsType_TURNOVER = 4;
895
+ const int TradSesMode_SIMULATED = 2;
896
+ const int TradSesMode_PRODUCTION = 3;
897
+ const int TradSesMode_TESTING = 1;
898
+ const char SettlInstSource_INSTITUTIONS_INSTRUCTIONS = '2';
899
+ const char SettlInstSource_BROKERS_INSTRUCTIONS = '1';
900
+ const char SettlInstSource_INVESTOR = '3';
901
+ const int ExpType_DIFFERENCE = 5;
902
+ const int ExpType_FINAL_WILL_BE_EXERCISED = 3;
903
+ const int ExpType_NON_AUTO_EXERCISE = 2;
904
+ const int ExpType_CONTRARY_INTENTION = 4;
905
+ const int ExpType_AUTO_EXERCISE = 1;
906
+ const char SettlInstTransType_REPLACE = 'R';
907
+ const char SettlInstTransType_NEW = 'N';
908
+ const char SettlInstTransType_RESTATE = 'T';
909
+ const char SettlInstTransType_CANCEL = 'C';
910
+ const int TradeRequestResult_INVALID_DESTINATION_REQUESTED = 5;
911
+ const int TradeRequestResult_UNAUTHORIZED_ROR_TRADE_CAPTURE_REPORT_REQUEST = 9;
912
+ const int TradeRequestResult_UNAUTHORIZED_FOR_TRADE_CAPTURE_REPORT_REQUEST = 9;
913
+ const int TradeRequestResult_SUCCESSFUL = 0;
914
+ const int TradeRequestResult_OTHER = 99;
915
+ const int TradeRequestResult_INVALID_OR_UNKNOWN_INSTRUMENT = 1;
916
+ const int TradeRequestResult_INVALID_PARTIES = 3;
917
+ const int TradeRequestResult_INVALID_TYPE_OF_TRADE_REQUESTED = 2;
918
+ const int TradeRequestResult_NOT_AUTHORIZED = 9;
919
+ const int TradeRequestResult_INVALID_TRANSPORT_TYPE_REQUESTED = 4;
920
+ const int TradeRequestResult_TRADEREQUESTTYPE_NOT_SUPPORTED = 8;
921
+ const char TestMessageIndicator_NO = 'N';
922
+ const char TestMessageIndicator_YES = 'Y';
923
+ const int ExpirationCycle_TRADING_ELIGIBILITY_EXPIRATION_SPECIFIED_IN_THE_DATE_AND_TIME_FIELDS_EVENTDATE = 2;
924
+ const int ExpirationCycle_EXPIRE_ON_TRADING_SESSION_CLOSE = 0;
925
+ const int ExpirationCycle_EXPIRE_ON_TRADING_SESSION_OPEN = 1;
926
+ const int AllocCancReplaceReason_CHANGE_IN_UNDERLYING_ORDER_DETAILS = 2;
927
+ const int AllocCancReplaceReason_OTHER = 99;
928
+ const int AllocCancReplaceReason_ORIGINAL_DETAILS_INCOMPLETE_INCORRECT = 1;
929
+ const int CxlRejReason_DUPLICATE_CLORDID = 6;
930
+ const int CxlRejReason_PRICE_EXCEEDS_CURRENT_PRICE = 7;
931
+ const int CxlRejReason_DUPLICATE_CLORDID_RECEIVED = 6;
932
+ const int CxlRejReason_UNKNOWN_ORDER = 1;
933
+ const int CxlRejReason_TOO_LATE_TO_CANCEL = 0;
934
+ const int CxlRejReason_INVALID_PRICE_INCREMENT = 18;
935
+ const int CxlRejReason_ORIGORDMODTIME = 5;
936
+ const int CxlRejReason_OTHER = 99;
937
+ const int CxlRejReason_BROKER = 2;
938
+ const int CxlRejReason_BROKER_OPTION = 2;
939
+ const int CxlRejReason_UNABLE_TO_PROCESS_ORDER_MASS_CANCEL_REQUEST = 4;
940
+ const int CxlRejReason_ORDER_ALREADY_IN_PENDING_CANCEL_OR_PENDING_REPLACE_STATUS = 3;
941
+ const int CxlRejReason_PRICE_EXCEEDS_CURRENT_PRICE_BAND = 8;
942
+ const int CxlRejReason_ORIGORDMODTIME_DID_NOT_MATCH_LAST_TRANSACTTIME_OF_ORDER = 5;
943
+ const int RespondentType_SPECIFIED_MARKET_PARTICIPANTS = 2;
944
+ const int RespondentType_ALL_MARKET_MAKERS = 3;
945
+ const int RespondentType_ALL_MARKET_PARTICIPANTS = 1;
946
+ const int RespondentType_PRIMARY_MARKET_MAKER = 4;
947
+ const char DKReason_NO_MATCHING_ORDER = 'D';
948
+ const char DKReason_PRICE_EXCEEDS_LIMIT = 'E';
949
+ const char DKReason_QUANTITY_EXCEEDS_ORDER = 'C';
950
+ const char DKReason_UNKNOWN_SYMBOL = 'A';
951
+ const char DKReason_OTHER = 'Z';
952
+ const char DKReason_WRONG_SIDE = 'B';
953
+ const char DKReason_CALCULATION_DIFFERENCE = 'F';
954
+ const char PositionEffect_DEFAULT = 'D';
955
+ const char PositionEffect_CLOSE = 'C';
956
+ const char PositionEffect_CLOSE_BUT_NOTIFY_ON_OPEN = 'N';
957
+ const char PositionEffect_OPEN = 'O';
958
+ const char PositionEffect_FIFO = 'F';
959
+ const char PositionEffect_ROLLED = 'R';
960
+ const char TriggerAction_ACTIVATE = '1';
961
+ const char TriggerAction_MODIFY = '2';
962
+ const char TriggerAction_CANCEL = '3';
963
+ const int ClearingInstruction_EXCLUDE_FROM_ALL_NETTING = 1;
964
+ const int ClearingInstruction_AUTOMATIC_POSTING_MODE = 9;
965
+ const int ClearingInstruction_MULTILATERAL_NETTING = 5;
966
+ const int ClearingInstruction_EXCLUDE_FROM_CENTRAL_COUNTERPARTY = 7;
967
+ const int ClearingInstruction_AUTOMATIC_GIVE_UP_MODE = 10;
968
+ const int ClearingInstruction_CUSTOMER_TRADE = 12;
969
+ const int ClearingInstruction_EX_CLEARING = 3;
970
+ const int ClearingInstruction_CLEAR_AGAINST_CENTRAL_COUNTERPARTY = 6;
971
+ const int ClearingInstruction_BILATERAL_NETTING_ONLY = 2;
972
+ const int ClearingInstruction_PROCESS_NORMALLY = 0;
973
+ const int ClearingInstruction_SPECIAL_TRADE = 4;
974
+ const int ClearingInstruction_MANUAL_MODE = 8;
975
+ const int ClearingInstruction_QUALIFIED_SERVICE_REPRESENTATIVE_QSR = 11;
976
+ const int ClearingInstruction_QUALIFIED_SERVICE_REPRESENTATIVE = 11;
977
+ const int ClearingInstruction_SELF_CLEARING = 13;
978
+ const char OpenCloseSettlFlag_SESSION_OPEN = '1';
979
+ const char OpenCloseSettlFlag_EXPECTED_ENTRY = '3';
980
+ const char OpenCloseSettlFlag_DAILY_OPEN = '0';
981
+ const char OpenCloseSettlFlag_THEORETICAL_PRICE_VALUE = '5';
982
+ const char OpenCloseSettlFlag_ENTRY_FROM_PREVIOUS_BUSINESS_DAY = '4';
983
+ const char OpenCloseSettlFlag_DELIVERY_SETTLEMENT_ENTRY = '2';
984
+ const int DiscretionMoveType_FLOATING = 0;
985
+ const int DiscretionMoveType_FIXED = 1;
986
+ const int MDUpdateType_INCREMENTAL_REFRESH = 1;
987
+ const int MDUpdateType_FULL_REFRESH = 0;
988
+ const char TickDirection_MINUS_TICK = '2';
989
+ const char TickDirection_ZERO_PLUS_TICK = '1';
990
+ const char TickDirection_ZERO_MINUS_TICK = '3';
991
+ const char TickDirection_PLUS_TICK = '0';
992
+ const char YieldType_MARK_TO_MARKET_YIELD[] = "MARK";
993
+ const char YieldType_CLOSING_YIELD_MOST_RECENT_QUARTER[] = "LASTQUARTER";
994
+ const char YieldType_YIELD_TO_MATURITY[] = "MATURITY";
995
+ const char YieldType_COMPOUND_YIELD_THE_YIELD_OF_CERTAIN_JAPANESE_BONDS_BASED_ON_ITS_PRICE_CERTAIN_JAPANESE_BONDS_HAVE_IRREGULAR_FIRST_OR_LAST_COUPONS_AND_THE_YIELD_IS_CALCULATED_COMPOUND_FOR_THESE_IRREGULAR_PERIODS[] = "COMPOUND";
996
+ const char YieldType_PREVIOUS_CLOSE_YIELD[] = "PREVCLOSE";
997
+ const char YieldType_YIELD_AT_ISSUE[] = "ATISSUE";
998
+ const char YieldType_YIELD_TO_NEXT_REFUND[] = "NEXTREFUND";
999
+ const char YieldType_AFTER_TAX_YIELD[] = "AFTERTAX";
1000
+ const char YieldType_GVNT_EQUIVALENT_YIELD[] = "GOVTEQUIV";
1001
+ const char YieldType_YIELD_TO_SHORTEST_AVERAGE_LIFE_SAME_AS_AVGLIFE_ABOVE[] = "SHORTAVGLIFE";
1002
+ const char YieldType_YIELD_CHANGE_SINCE_CLOSE_THE_CHANGE_IN_THE_YIELD_SINCE_THE_PREVIOUS_DAYS_CLOSING_YIELD[] = "CHANGE";
1003
+ const char YieldType_CURRENT_YIELD_ANNUAL_INTEREST_ON_A_BOND_DIVIDED_BY_THE_MARKET_VALUE_THE_ACTUAL_INCOME_RATE_OF_RETURN_AS_OPPOSED_TO_THE_COUPON_RATE_EXPRESSED_AS_A_PERCENTAGE[] = "CURRENT";
1004
+ const char YieldType_YIELD_TO_MATURITY_THE_YIELD_OF_A_BOND_TO_ITS_MATURITY_DATE[] = "MATURITY";
1005
+ const char YieldType_CLOSING_YIELD_MOST_RECENT_YEAR[] = "LASTYEAR";
1006
+ const char YieldType_YIELD_TO_NEXT_CALL[] = "CALL";
1007
+ const char YieldType_YIELD_CHANGE_SINCE_CLOSE[] = "CHANGE";
1008
+ const char YieldType_PROCEEDS_YIELD[] = "PROCEEDS";
1009
+ const char YieldType_TAX_EQUIVALENT_YIELD_THE_AFTER_TAX_YIELD_GROSSED_UP_BY_THE_MAXIMUM_FEDERAL_TAX_RATE_OF_396_FOR_COMPARISON_TO_TAXABLE_YIELDS[] = "TAXEQUIV";
1010
+ const char YieldType_INVERSE_FLOATER_BOND_YIELD_INVERSE_FLOATER_SEMI_ANNUAL_BOND_EQUIVALENT_RATE[] = "INVERSEFLOATER";
1011
+ const char YieldType_CURRENT_YIELD[] = "CURRENT";
1012
+ const char YieldType_BOOK_YIELD_THE_YIELD_OF_A_SECURITY_CALCULATED_BY_USING_ITS_BOOK_VALUE_INSTEAD_OF_THE_CURRENT_MARKET_PRICE_THIS_TERM_IS_TYPICALLY_USED_IN_THE_US_DOMESTIC_MARKET[] = "BOOK";
1013
+ const char YieldType_COMPOUND_YIELD[] = "COMPOUND";
1014
+ const char YieldType_YIELD_TO_NEXT_PUT_THE_YIELD_TO_THE_DATE_AT_WHICH_THE_BOND_HOLDER_CAN_NEXT_PUT_THE_BOND_TO_THE_ISSUER[] = "PUT";
1015
+ const char YieldType_GOVERNMENT_EQUIVALENT_YIELD_ASK_YIELD_BASED_ON_SEMI_ANNUAL_COUPONS_COMPOUNDING_IN_ALL_PERIODS_AND_ACTUAL_ACTUAL_CALENDAR[] = "GOVTEQUIV";
1016
+ const char YieldType_YIELD_TO_TENDER_DATE_THE_YIELD_ON_A_MUNICIPAL_BOND_TO_ITS_MANDATORY_TENDER_DATE[] = "TENDER";
1017
+ const char YieldType_YIELD_TO_AVG_MATURITY[] = "AVGMATURITY";
1018
+ const char YieldType_OPEN_AVERAGE_YIELD_THE_AVERAGE_YIELD_OF_THE_RESPECTIVE_SECURITIES_IN_THE_PORTFOLIO[] = "OPENAVG";
1019
+ const char YieldType_YIELD_TO_TENDER_DATE[] = "TENDER";
1020
+ const char YieldType_CLOSING_YIELD_MOST_RECENT_MONTH_THE_YIELD_OF_A_BOND_BASED_ON_THE_CLOSING_PRICE_AS_OF_THE_MOST_RECENT_MONTHS_END[] = "LASTMONTH";
1021
+ const char YieldType_CLOSING_YIELD_MOST_RECENT_YEAR_THE_YIELD_OF_A_BOND_BASED_ON_THE_CLOSING_PRICE_AS_OF_THE_MOST_RECENT_YEARS_END[] = "LASTYEAR";
1022
+ const char YieldType_ANNUAL_YIELD[] = "ANNUAL";
1023
+ const char YieldType_YIELD_TO_WORST[] = "WORST";
1024
+ const char YieldType_YIELD_TO_NEXT_PUT[] = "PUT";
1025
+ const char YieldType_BOOK_YIELD[] = "BOOK";
1026
+ const char YieldType_TRUE_YIELD[] = "TRUE";
1027
+ const char YieldType_TRUE_YIELD_THE_YIELD_CALCULATED_WITH_COUPON_DATES_MOVED_FROM_A_WEEKEND_OR_HOLIDAY_TO_THE_NEXT_VALID_SETTLEMENT_DATE[] = "TRUE";
1028
+ const char YieldType_SEMI_ANNUAL_YIELD_THE_YIELD_OF_A_BOND_WHOSE_COUPON_PAYMENTS_ARE_REINVESTED_SEMI_ANNUALLY[] = "SEMIANNUAL";
1029
+ const char YieldType_CLOSING_YIELD_THE_YIELD_OF_A_BOND_BASED_ON_THE_CLOSING_PRICE[] = "CLOSE";
1030
+ const char YieldType_TAX_EQUIVALENT_YIELD[] = "TAXEQUIV";
1031
+ const char YieldType_PREVIOUS_CLOSE_YIELD_THE_YIELD_OF_A_BOND_BASED_ON_THE_CLOSING_PRICE_1_DAY_AGO[] = "PREVCLOSE";
1032
+ const char YieldType_YIELD_VALUE_OF_1_32_THE_AMOUNT_THAT_THE_YIELD_WILL_CHANGE_FOR_A_1_32ND_CHANGE_IN_PRICE[] = "VALUE1/32";
1033
+ const char YieldType_TRUE_GROSS_YIELD[] = "GROSS";
1034
+ const char YieldType_YIELD_TO_LONGEST_AVERAGE[] = "LONGEST";
1035
+ const char YieldType_INVERSE_FLOATER_BOND_YIELD[] = "INVERSEFLOATER";
1036
+ const char YieldType_CLOSING_YIELD_MOST_RECENT_MONTH[] = "LASTMONTH";
1037
+ const char YieldType_YIELD_TO_AVERAGE_LIFE_THE_YIELD_ASSUMING_THAT_ALL_SINKS[] = "AVGLIFE";
1038
+ const char YieldType_CLOSING_YIELD_MOST_RECENT_QUARTER_THE_YIELD_OF_A_BOND_BASED_ON_THE_CLOSING_PRICE_AS_OF_THE_MOST_RECENT_QUARTERS_END[] = "LASTQUARTER";
1039
+ const char YieldType_YIELD_TO_SHORTEST_AVERAGE[] = "SHORTEST";
1040
+ const char YieldType_OPEN_AVERAGE_YIELD[] = "OPENAVG";
1041
+ const char YieldType_TRUE_GROSS_YIELD_YIELD_CALCULATED_USING_THE_PRICE_INCLUDING_ACCRUED_INTEREST_WHERE_COUPON_DATES_ARE_MOVED_FROM_HOLIDAYS_AND_WEEKENDS_TO_THE_NEXT_TRADING_DAY[] = "GROSS";
1042
+ const char YieldType_PROCEEDS_YIELD_THE_CD_EQUIVALENT_YIELD_WHEN_THE_REMAINING_TIME_TO_MATURITY_IS_LESS_THAN_TWO_YEARS[] = "PROCEEDS";
1043
+ const char YieldType_YIELD_WITH_INFLATION_ASSUMPTION[] = "INFLATION";
1044
+ const char YieldType_YIELD_TO_LONGEST_AVERAGE_LIFE_THE_YIELD_ASSUMING_ONLY_MANDATORY_SINKS_ARE_TAKEN_THIS_RESULTS_IN_A_LOWER_PAYDOWN_OF_DEBT_THE_YIELD_IS_THEN_CALCULATED_TO_THE_FINAL_PAYMENT_DATE[] = "LONGAVGLIFE";
1045
+ const char YieldType_MARK_TO_MARKET_YIELD_AN_ADJUSTMENT_IN_THE_VALUATION_OF_A_SECURITIES_PORTFOLIO_TO_REFLECT_THE_CURRENT_MARKET_VALUES_OF_THE_RESPECTIVE_SECURITIES_IN_THE_PORTFOLIO[] = "MARK";
1046
+ const char YieldType_YIELD_TO_AVERAGE_MATURITY[] = "AVGMATURITY";
1047
+ const char YieldType_YIELD_TO_WORST_CONVENTION_THE_LOWEST_YIELD_TO_ALL_POSSIBLE_REDEMPTION_DATE_SCENARIOS[] = "WORST";
1048
+ const char YieldType_YIELD_TO_NEXT_CALL_THE_YIELD_OF_A_BOND_TO_THE_NEXT_POSSIBLE_CALL_DATE[] = "CALL";
1049
+ const char YieldType_SIMPLE_YIELD[] = "SIMPLE";
1050
+ const char YieldType_ANNUAL_YIELD_THE_ANNUAL_INTEREST_OR_DIVIDEND_INCOME_AN_INVESTMENT_EARNS_EXPRESSED_AS_A_PERCENTAGE_OF_THE_INVESTMENTS_TOTAL_VALUE[] = "ANNUAL";
1051
+ const char YieldType_SEMI_ANNUAL_YIELD[] = "SEMIANNUAL";
1052
+ const char YieldType_MOST_RECENT_CLOSING_YIELD[] = "LASTCLOSE";
1053
+ const char YieldType_GOVERNMENT_EQUIVALENT_YIELD[] = "GOVTEQUIV";
1054
+ const char YieldType_YIELD_TO_SHORTEST_AVERAGE_LIFE[] = "SHORTAVGLIFE";
1055
+ const char YieldType_CLOSING_YIELD[] = "CLOSE";
1056
+ const char YieldType_YIELD_WITH_INFLATION_ASSUMPTION_BASED_ON_PRICE_THE_RETURN_AN_INVESTOR_WOULD_REQUIRE_ON_A_NORMAL_BOND_THAT_WOULD_MAKE_THE_REAL_RETURN_EQUAL_TO_THAT_OF_THE_INFLATION_INDEXED_BOND_ASSUMING_A_CONSTANT_INFLATION_RATE[] = "INFLATION";
1057
+ const char YieldType_YIELD_VALUE_OF_1_32[] = "VALUE1_32";
1058
+ const char YieldType_MOST_RECENT_CLOSING_YIELD_THE_LAST_AVAILABLE_YIELD_STORED_IN_HISTORY_COMPUTED_USING_PRICE[] = "LASTCLOSE";
1059
+ const char YieldType_YIELD_TO_LONGEST_AVERAGE_LIFE[] = "LONGAVGLIFE";
1060
+ const char YieldType_SIMPLE_YIELD_THE_YIELD_OF_A_BOND_ASSUMING_NO_REINVESTMENT_OF_COUPON_PAYMENTS[] = "SIMPLE";
1061
+ const char YieldType_YIELD_TO_AVERAGE_MATURITY_THE_YIELD_ACHIEVED_BY_SUBSTITUTING_A_BONDS_AVERAGE_MATURITY_FOR_THE_ISSUES_FINAL_MATURITY_DATE[] = "AVGMATURITY";
1062
+ const int PegScope_NATIONAL_XXCLUDING_LOCAL = 4;
1063
+ const int PegScope_NATIONAL_EXCLUDING_LOCAL = 4;
1064
+ const int PegScope_LOCAL = 1;
1065
+ const int PegScope_GLOBAL = 3;
1066
+ const int PegScope_NATIONAL = 2;
1067
+ const int SettlDeliveryType_TRI_PARTY = 2;
1068
+ const int SettlDeliveryType_HOLD_IN_CUSTODY = 3;
1069
+ const int SettlDeliveryType_FREE = 1;
1070
+ const int SettlDeliveryType_VERSUS_PAYMENT_DELIVER = 0;
1071
+ const int SettlDeliveryType_FREE_DELIVER = 1;
1072
+ const int SettlDeliveryType_VERSUS_PAYMENT = 0;
1073
+ const int DiscretionLimitType_STRICT = 1;
1074
+ const int DiscretionLimitType_OR_BETTER = 0;
1075
+ const int DiscretionLimitType_OR_WORSE = 2;
1076
+ const int DiscretionLimitType_STRICT_LIMIT_IS_A_STRICT_LIMIT = 1;
1077
+ const int DiscretionLimitType_OR_WORSE_FOR_A_BUY_THE_DISCRETION_PRICE_IS_A_MINIMUM_AND_FOR_A_SELL_THE_DISCRETION_PRICE_IS_A_MAXIMUM = 2;
1078
+ const char ExerciseMethod_AUTOMATIC = 'A';
1079
+ const char ExerciseMethod_MANUAL = 'M';
1080
+ const char WorkingIndicator_NO = 'N';
1081
+ const char WorkingIndicator_YES = 'Y';
1082
+ const int SideMultiLegReportingType_MULTILEG_SECURITY = 3;
1083
+ const int SideMultiLegReportingType_SINGLE_SECURITY = 1;
1084
+ const int SideMultiLegReportingType_MULTI_LEG_SECURITY = 3;
1085
+ const int SideMultiLegReportingType_INDIVIDUAL_LEG_OF_A_MULTI_LEG_SECURITY = 2;
1086
+ const int SideMultiLegReportingType_INDIVIDUAL_LEG_OF_A_MULTILEG_SECURITY = 2;
1087
+ const int ConfirmRejReason_MISSING_SETTLEMENT_INSTRUCTIONS = 2;
1088
+ const int ConfirmRejReason_OTHER = 99;
1089
+ const int ConfirmRejReason_MISMATCHED_ACCOUNT = 1;
1090
+ const char BidRequestTransType_NEW = 'N';
1091
+ const char BidRequestTransType_NO = 'N';
1092
+ const char BidRequestTransType_CANCEL = 'C';
1093
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_SECURITY = 1;
1094
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_SECURITY_GROUP = 9;
1095
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_ISSUER_OF_UNDERLYING_SECURITY = 11;
1096
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_SECURITYTYPE = 5;
1097
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_CFICODE = 4;
1098
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_UNDERLYING_SECURITY = 2;
1099
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_TRADING_SESSION = 6;
1100
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_MARKET_SEGMENT = 8;
1101
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_MARKET = 7;
1102
+ const int MassActionRejectReason_MASS_ACTION_NOT_SUPPORTED = 0;
1103
+ const int MassActionRejectReason_OTHER = 99;
1104
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_SECURITY_ISSUER = 10;
1105
+ const int MassActionRejectReason_INVALID_OR_UNKNOWN_PRODUCT = 3;
1106
+ const int CollApplType_GENERAL = 1;
1107
+ const int CollApplType_SPECIFIC_DEPOSIT = 0;
1108
+ const int ConfirmType_CONFIRMATION = 2;
1109
+ const int ConfirmType_CONFIRMATION_REQUEST_REJECTED = 3;
1110
+ const int ConfirmType_STATUS = 1;
1111
+ const int MDQuoteType_INDICATIVE = 0;
1112
+ const int MDQuoteType_RESTRICTED_TRADEABLE = 2;
1113
+ const int MDQuoteType_INDICATIVE_AND_TRADEABLE = 4;
1114
+ const int MDQuoteType_TRADEABLE = 1;
1115
+ const int MDQuoteType_COUNTER = 3;
1116
+ const int QtyType_CONTRACTS = 1;
1117
+ const int QtyType_UNITS_OF_MEASURE_PER_TIME_UNIT = 2;
1118
+ const int QtyType_UNITS = 0;
1119
+ const int QuoteRespType_END_TRADE = 7;
1120
+ const int QuoteRespType_COVER = 4;
1121
+ const int QuoteRespType_HIT_LIFT = 1;
1122
+ const int QuoteRespType_DONE_AWAY = 5;
1123
+ const int QuoteRespType_TIMED_OUT = 8;
1124
+ const int QuoteRespType_PASS = 6;
1125
+ const int QuoteRespType_EXPIRED = 3;
1126
+ const int QuoteRespType_COUNTER = 2;
1127
+ const char IOINaturalFlag_NO = 'N';
1128
+ const char IOINaturalFlag_YES = 'Y';
1129
+ const char SettlObligSource_INSTRUCTIONS_OF_BROKER = '1';
1130
+ const char SettlObligSource_INVESTOR = '3';
1131
+ const char SettlObligSource_INSTRUCTIONS_FOR_INSTITUTION = '2';
1132
+ const int TrdSubType_ON_HOURS_TRADE = 34;
1133
+ const int TrdSubType_INTERIM_PROTECTED_TRADE = 38;
1134
+ const int TrdSubType_K = 16;
1135
+ const int TrdSubType_LC = 17;
1136
+ const int TrdSubType_WN = 31;
1137
+ const int TrdSubType_CONVERTED_SWAP = 36;
1138
+ const int TrdSubType_B = 15;
1139
+ const int TrdSubType_M = 18;
1140
+ const int TrdSubType_RT = 28;
1141
+ const int TrdSubType_ONSET_DUE_TO_AN_ALLOCATION = 6;
1142
+ const int TrdSubType_CMTA = 0;
1143
+ const int TrdSubType_INTERNAL_TRANSFER_OR_ADJUSTMENT = 1;
1144
+ const int TrdSubType_DIFFERENTIAL_SPREAD = 7;
1145
+ const int TrdSubType_TRANSACTION_FROM_EXERCISE = 9;
1146
+ const int TrdSubType_TRANSACTION_FROM_ASSIGNMENT = 10;
1147
+ const int TrdSubType_N = 19;
1148
+ const int TrdSubType_IMPLIED_SPREAD_LEG_EXECUTED_AGAINST_AN_OUTRIGHT = 8;
1149
+ const int TrdSubType_NR = 21;
1150
+ const int TrdSubType_SW = 29;
1151
+ const int TrdSubType_OTC_QUOTE = 35;
1152
+ const int TrdSubType_ADVISORY_FOR_CONTRA_SIDE = 4;
1153
+ const int TrdSubType_OFFSET_DUE_TO_AN_ALLOCATION = 5;
1154
+ const int TrdSubType_P = 22;
1155
+ const int TrdSubType_CROSSED_TRADE = 37;
1156
+ const int TrdSubType_PA = 23;
1157
+ const int TrdSubType_EXTERNAL_TRANSFER_OR_TRANSFER_OF_ACCOUNT = 2;
1158
+ const int TrdSubType_R = 26;
1159
+ const int TrdSubType_RO = 27;
1160
+ const int TrdSubType_WT = 32;
1161
+ const int TrdSubType_OFF_HOURS_TRADE = 33;
1162
+ const int TrdSubType_REJECT_FOR_SUBMITTING_SIDE = 3;
1163
+ const int TrdSubType_ONSET_DUT_TO_AN_ALLOCATION = 6;
1164
+ const int TrdSubType_AI = 14;
1165
+ const int TrdSubType_PC = 24;
1166
+ const int TrdSubType_PN = 25;
1167
+ const int TrdSubType_LARGE_IN_SCALE = 39;
1168
+ const int TrdSubType_NM = 20;
1169
+ const int TrdSubType_T = 30;
1170
+ const int TrdSubType_ACATS = 11;
1171
+ const char ExecTransType_NEW = '0';
1172
+ const char ExecTransType_CORRECT = '2';
1173
+ const char ExecTransType_CANCEL = '1';
1174
+ const char ExecTransType_STATUS = '3';
1175
+ const char DayBookingInst_CAN_TRIGGER_BOOKING_WITHOUT_REFERENCE_TO_THE_ORDER_INITIATOR = '0';
1176
+ const char DayBookingInst_ACCUMULATE = '2';
1177
+ const char DayBookingInst_SPEAK_WITH_ORDER_INITIATOR_BEFORE_BOOKING = '1';
1178
+ const int FlowScheduleType_NERC_EASTERN_OFF_PEAK = 0;
1179
+ const int FlowScheduleType_NERC_WESTERN_PEAK = 4;
1180
+ const int FlowScheduleType_NERC_EASTERN_PEAK = 3;
1181
+ const int FlowScheduleType_NERC_CALENDAR_ALL_DAYS_IN_MONTH = 2;
1182
+ const int FlowScheduleType_NERC_WESTERN_OFF_PEAK = 1;
1183
+ const int MDOriginType_CROSS = 2;
1184
+ const int MDOriginType_OFF_BOOK = 1;
1185
+ const int MDOriginType_BOOK = 0;
1186
+ const int CollInquiryStatus_COMPLETED = 2;
1187
+ const int CollInquiryStatus_ACCEPTED_WITH_WARNINGS = 1;
1188
+ const int CollInquiryStatus_REJECTED = 4;
1189
+ const int CollInquiryStatus_ACCEPTED = 0;
1190
+ const int CollInquiryStatus_COMPLETED_WITH_WARNINGS = 3;
1191
+ const int CPProgram_OTHER = 99;
1192
+ const int CPProgram_3 = 1;
1193
+ const int CPProgram_4 = 2;
1194
+ const int PosReqType_POSITIONS = 0;
1195
+ const int PosReqType_BACKOUT_MESSAGE = 5;
1196
+ const int PosReqType_DELTA_POSITIONS = 6;
1197
+ const int PosReqType_SETTLEMENT_ACTIVITY = 4;
1198
+ const int PosReqType_TRADES = 1;
1199
+ const int PosReqType_EXERCISES = 2;
1200
+ const int PosReqType_ASSIGNMENTS = 3;
1201
+ const int MassStatusReqType_STATUS_FOR_ORDERS_FOR_AN_UNDERLYING_SECURITY = 2;
1202
+ const int MassStatusReqType_STATUS_FOR_ORDERS_FOR_A_SECURITY = 1;
1203
+ const int MassStatusReqType_STATUS_FOR_ORDERS_FOR_A_CFICODE = 4;
1204
+ const int MassStatusReqType_STATUS_FOR_ORDERS_FOR_A_PARTYID = 8;
1205
+ const int MassStatusReqType_STATUS_FOR_SECURITY_ISSUER = 9;
1206
+ const int MassStatusReqType_STATUS_FOR_ORDERS_FOR_A_TRADING_SESSION = 6;
1207
+ const int MassStatusReqType_STATUS_FOR_ORDERS_FOR_A_PRODUCT = 3;
1208
+ const int MassStatusReqType_STATUS_FOR_ORDERS_FOR_A_SECURITYTYPE = 5;
1209
+ const int MassStatusReqType_STATUS_FOR_ALL_ORDERS = 7;
1210
+ const int MassStatusReqType_STATUS_FOR_ISSUER_OF_UNDERLYING_SECURITY = 10;
1211
+ const char SubscriptionRequestType_DISABLE_PREVIOUS_SNAPSHOT_PLUS_UPDATE_REQUEST = '2';
1212
+ const char SubscriptionRequestType_SNAPSHOT_PLUS_UPDATES = '1';
1213
+ const char SubscriptionRequestType_SNAPSHOT = '0';
1214
+ const int NewsCategory_MARKETPLACE_NEWS = 1;
1215
+ const int NewsCategory_TECHNICAL_NEWS = 3;
1216
+ const int NewsCategory_COMPANY_NEWS = 0;
1217
+ const int NewsCategory_OTHER_NEWS = 99;
1218
+ const int NewsCategory_FINANCIAL_MARKET_NEWS = 2;
1219
+ const char IOIQty_MEDIUM[] = "M";
1220
+ const char IOIQty_LARGE[] = "L";
1221
+ const char IOIQty_SMALL[] = "S";
1222
+ const char IOIQty_UNDISCLOSED_QUANTITY[] = "U";
1223
+ const int ApplResponseError_USER_NOT_AUTHORIZED_FOR_APPLICATION = 2;
1224
+ const int ApplResponseError_APPLICATION_DOES_NOT_EXIST = 0;
1225
+ const int ApplResponseError_MESSAGES_REQUESTED_ARE_NOT_AVAILABLE = 1;
1226
+ const char TriggerPriceDirection_TRIGGER_IF_THE_PRICE_OF_THE_SPECIFIED_TYPE_GOES_DOWN_TO_OR_THROUGH_THE_SPECIFIED_TRIGGER_PRICE = 'D';
1227
+ const char TriggerPriceDirection_TRIGGER_IF_THE_PRICE_OF_THE_SPECIFIED_TYPE_GOES_UP_TO_OR_THROUGH_THE_SPECIFIED_TRIGGER_PRICE = 'U';
1228
+ const int LastLiquidityInd_LIQUIDITY_ROUTED_OUT = 3;
1229
+ const int LastLiquidityInd_AUCTION = 4;
1230
+ const int LastLiquidityInd_ADDED_LIQUIDITY = 1;
1231
+ const int LastLiquidityInd_REMOVED_LIQUIDITY = 2;
1232
+ const int StrikePriceDeterminationMethod_STRIKE_SET_TO_AVERAGE_OF_UNDERLYING_SETTLEMENT_PRICE_ACROSS_THE_LIFE_OF_THE_OPTION = 3;
1233
+ const int StrikePriceDeterminationMethod_STRIKE_SET_AT_EXPIRATION_TO_UNDERLYING_OR_OTHER_VALUE = 2;
1234
+ const int StrikePriceDeterminationMethod_FIXED_STRIKE = 1;
1235
+ const int StrikePriceDeterminationMethod_STRIKE_SET_TO_OPTIMAL_VALUE = 4;
1236
+ const int TargetStrategy_PARTICIPATE = 2;
1237
+ const int TargetStrategy_MININIZE_MARKET_IMPACT = 3;
1238
+ const int TargetStrategy_VWAP = 1;
1239
+ const char DueToRelated_NO = 'N';
1240
+ const char DueToRelated_YES = 'Y';
1241
+ const char UnderlyingCashType_DIFF[] = "DIFF";
1242
+ const char UnderlyingCashType_FIXED[] = "FIXED";
1243
+ const int CustOrderCapacity_CLEARING_FIRM_TRADING_FOR_ITS_PROPRIETARY_ACCOUNT = 2;
1244
+ const int CustOrderCapacity_MEMBER_TRADING_FOR_THEIR_OWN_ACCOUNT = 1;
1245
+ const int CustOrderCapacity_MEMBER_TRADING_FOR_ANOTHER_MEMBER = 3;
1246
+ const int CustOrderCapacity_ALL_OTHER = 4;
1247
+ const char OwnershipType_JOINT_TRUSTEES = '2';
1248
+ const char OwnershipType_JOINT_INVESTORS = 'J';
1249
+ const char OwnershipType_TENANTS_IN_COMMON = 'T';
1250
+ const char UnitOfMeasure_US_DOLLARS[] = "USD";
1251
+ const char UnitOfMeasure_TONS[] = "tn";
1252
+ const char UnitOfMeasure_TROY_OUNCES[] = "oz_tr";
1253
+ const char UnitOfMeasure_MEGAWATT_HOURS[] = "MWh";
1254
+ const char UnitOfMeasure_ONE_MILLION_BTU[] = "MMBtu";
1255
+ const char UnitOfMeasure_BILLION_CUBIC_FEET[] = "Bcf";
1256
+ const char UnitOfMeasure_MILLION_BARRELS[] = "MMbbl";
1257
+ const char UnitOfMeasure_GALLONS[] = "Gal";
1258
+ const char UnitOfMeasure_BARRELS[] = "Bbl";
1259
+ const char UnitOfMeasure_POUNDS[] = "lbs";
1260
+ const char UnitOfMeasure_METRIC_TONS[] = "t";
1261
+ const char UnitOfMeasure_ALLOWANCES[] = "Alw";
1262
+ const char UnitOfMeasure_BUSHELS[] = "Bu";
1263
+ const char SettlmntTyp_WHEN_AND_IF_ISSUED = '7';
1264
+ const char SettlmntTyp_T_PLUS_1 = 'A';
1265
+ const char SettlmntTyp_FUTURE = '6';
1266
+ const char SettlmntTyp_SELLERS_OPTION = '8';
1267
+ const char SettlmntTyp_T_PLUS_2 = '3';
1268
+ const char SettlmntTyp_T_PLUS_3 = '4';
1269
+ const char SettlmntTyp_T_PLUS_4 = '5';
1270
+ const char SettlmntTyp_REGULAR = '0';
1271
+ const char SettlmntTyp_T_PLUS_5 = '9';
1272
+ const char SettlmntTyp_WHEN_ISSUED = '7';
1273
+ const char SettlmntTyp_NEXT_DAY = '2';
1274
+ const char SettlmntTyp_CASH = '1';
1275
+ const int TradePublishIndicator_DO_NOT_PUBLISH_TRADE = 0;
1276
+ const int TradePublishIndicator_DEFERRED_PUBLICATION = 2;
1277
+ const int TradePublishIndicator_PUBLISH_TRADE = 1;
1278
+ const int ApplResponseType_MESSAGES_NOT_AVAILABLE = 2;
1279
+ const int ApplResponseType_APPLICATION_DOES_NOT_EXIST = 1;
1280
+ const int ApplResponseType_REQUEST_SUCCESSFULLY_PROCESSED = 0;
1281
+ const int StandInstDbType_DTC_SID = 1;
1282
+ const int StandInstDbType_ACCOUNTNET = 4;
1283
+ const int StandInstDbType_A_GLOBAL_CUSTODIAN = 3;
1284
+ const int StandInstDbType_THOMSON_ALERT = 2;
1285
+ const int StandInstDbType_OTHER = 0;
1286
+ const int QuoteEntryStatus_CROSS_MARKET_WARNING = 13;
1287
+ const int QuoteEntryStatus_LOCKED_MARKET_WARNING = 12;
1288
+ const int QuoteEntryStatus_CANCELED_DUE_TO_CROSS_MARKET = 15;
1289
+ const int QuoteEntryStatus_CANCELED_DUE_TO_LOCK_MARKET = 14;
1290
+ const int QuoteEntryStatus_REJECTED = 5;
1291
+ const int QuoteEntryStatus_EXPIRED = 7;
1292
+ const int QuoteEntryStatus_REMOVED_FROM_MARKET = 6;
1293
+ const int QuoteEntryStatus_ACCEPTED = 0;
1294
+ const int QuoteEntryStatus_ACTIVE = 16;
1295
+ const char TriggerPriceType_BEST_MID = '6';
1296
+ const char TriggerPriceType_BEST_BID_OR_LAST_TRADE = '4';
1297
+ const char TriggerPriceType_BEST_BID = '3';
1298
+ const char TriggerPriceType_BEST_OFFER_OR_LAST_TRADE = '5';
1299
+ const char TriggerPriceType_BEST_OFFER = '1';
1300
+ const char TriggerPriceType_LAST_TRADE = '2';
1301
+ const int SettlInstReqRejCode_UNABLE_TO_PROCESS_REQUEST = 0;
1302
+ const int SettlInstReqRejCode_NO_MATCHING_SETTLEMENT_INSTRUCTIONS_FOUND = 2;
1303
+ const int SettlInstReqRejCode_UNKNOWN_ACCOUNT = 1;
1304
+ const int SettlInstReqRejCode_OTHER = 99;
1305
+ const char Urgency_FLASH = '1';
1306
+ const char Urgency_NORMAL = '0';
1307
+ const char Urgency_BACKGROUND = '2';
1308
+ const int CollAsgnTransType_REPLACE = 1;
1309
+ const int CollAsgnTransType_NEW = 0;
1310
+ const int CollAsgnTransType_REVERSE = 4;
1311
+ const int CollAsgnTransType_CANCEL = 2;
1312
+ const int CollAsgnTransType_RELEASE = 3;
1313
+ const int PaymentMethod_FED_WIRE = 7;
1314
+ const int PaymentMethod_EUROCLEAR = 3;
1315
+ const int PaymentMethod_ACH_CREDIT = 13;
1316
+ const int PaymentMethod_TELEGRAPHIC_TRANSFER = 6;
1317
+ const int PaymentMethod_FEDWIRE = 7;
1318
+ const int PaymentMethod_DIRECT_DEBIT = 9;
1319
+ const int PaymentMethod_CREDIT_CARD = 11;
1320
+ const int PaymentMethod_CHEQUE = 5;
1321
+ const int PaymentMethod_DIRECT_CREDIT = 10;
1322
+ const int PaymentMethod_CREST = 1;
1323
+ const int PaymentMethod_HIGH_VALUE_CLEARING_SYSTEM = 15;
1324
+ const int PaymentMethod_CLEARSTREAM = 4;
1325
+ const int PaymentMethod_BPAY = 14;
1326
+ const int PaymentMethod_NSCC = 2;
1327
+ const int PaymentMethod_DEBIT_CARD = 8;
1328
+ const int PaymentMethod_ACH_DEBIT = 12;
1329
+ const char TriggerPriceTypeScope_LOCAL = '1';
1330
+ const char TriggerPriceTypeScope_NONE = '0';
1331
+ const char TriggerPriceTypeScope_GLOBAL = '3';
1332
+ const char TriggerPriceTypeScope_NATIONAL = '2';
1333
+ const int PegLimitType_STRICT = 1;
1334
+ const int PegLimitType_OR_BETTER = 0;
1335
+ const int PegLimitType_OR_WORSE = 2;
1336
+ const int PegLimitType_STRICT_LIMIT_IS_A_STRICT_LIMIT = 1;
1337
+ const int PegLimitType_OR_WORSE_FOR_A_BUY_THE_PEG_LIMIT_IS_A_MINIMUM_AND_FOR_A_SELL_THE_PEG_LIMIT_IS_A_MAXIMUM = 2;
1338
+ const char Side_BORROW = 'G';
1339
+ const char Side_BUY_MINUS = '3';
1340
+ const char Side_SUBSCRIBE = 'D';
1341
+ const char Side_CROSS_SHORT_EXEMPT = 'A';
1342
+ const char Side_UNDISCLOSED = '7';
1343
+ const char Side_CROSS = '8';
1344
+ const char Side_SELL_SHORT_EXEMPT = '6';
1345
+ const char Side_BUY = '1';
1346
+ const char Side_CROSS_SHORT_EXXMPT = 'A';
1347
+ const char Side_SELL = '2';
1348
+ const char Side_LEND = 'F';
1349
+ const char Side_SELL_SHORT = '5';
1350
+ const char Side_OPPOSITE = 'C';
1351
+ const char Side_CROSS_SHORT = '9';
1352
+ const char Side_SELL_PLUS = '4';
1353
+ const char Side_REDEEM = 'E';
1354
+ const char Side_AS_DEFINED = 'B';
1355
+ const int ContAmtType_EXIT_CHARGE = 10;
1356
+ const int ContAmtType_DILUTION_LEVY_AMOUNT = 7;
1357
+ const int ContAmtType_DILUTION_LEVY_PERCENT = 8;
1358
+ const int ContAmtType_DISCOUNT_AMOUNT = 5;
1359
+ const int ContAmtType_COMMISSION = 2;
1360
+ const int ContAmtType_INITIAL_CHARGE_PERCENT = 4;
1361
+ const int ContAmtType_DILUTION_LEVY = 8;
1362
+ const int ContAmtType_COMMISSION_AMOUNT = 1;
1363
+ const int ContAmtType_NET_SETTLEMENT_AMOUNT = 15;
1364
+ const int ContAmtType_FUND_BASED_RENEWAL_COMMISSION = 11;
1365
+ const int ContAmtType_DISCOUNT = 6;
1366
+ const int ContAmtType_FUND_BASED_RENEWAL_COMMISSION_AMOUNT_13 = 13;
1367
+ const int ContAmtType_EXIT_CHARGE_AMOUNT = 9;
1368
+ const int ContAmtType_INITIAL_CHARGE = 4;
1369
+ const int ContAmtType_DISCOUNT_PERCENT = 6;
1370
+ const int ContAmtType_EXIT_CHARGE_PERCENT = 10;
1371
+ const int ContAmtType_FUND_BASED_RENEWAL_COMMISSION_AMOUNT_14 = 14;
1372
+ const int ContAmtType_COMMISSION_PERCENT = 2;
1373
+ const int ContAmtType_FUND_BASED_RENEWAL_COMMISSION_PERCENT = 11;
1374
+ const int ContAmtType_PROJECTED_FUND_VALUE = 12;
1375
+ const int ContAmtType_INITIAL_CHARGE_AMOUNT = 3;
1376
+ const char OrderCategory_IMPLIED_ORDER = '7';
1377
+ const char OrderCategory_STREAMING_PRICE = '9';
1378
+ const char OrderCategory_QUOTE_REQUEST = '6';
1379
+ const char OrderCategory_CROSS_ORDER = '8';
1380
+ const char OrderCategory_MULTILEG_ORDER = '4';
1381
+ const char OrderCategory_PRIVATELY_NEGOTIATED_TRADE = '3';
1382
+ const char OrderCategory_QUOTE = '2';
1383
+ const char OrderCategory_ORDER = '1';
1384
+ const char OrderCategory_LINKED_ORDER = '5';
1385
+ const char AdvTransType_REPLACE[] = "R";
1386
+ const char AdvTransType_NEW[] = "N";
1387
+ const char AdvTransType_CANCEL[] = "C";
1388
+ const char PublishTrdIndicator_NO = 'N';
1389
+ const char PublishTrdIndicator_YES = 'Y';
1390
+ const int SecurityResponseType_LIST_OF_SECURITIES_RETURNED_PER_REQUEST = 4;
1391
+ const int SecurityResponseType_LIST_OF_SECURITY_TYPES_RETURNED_PER_REQUEST = 3;
1392
+ const int SecurityResponseType_ACCEPT_SECURITY_PROPOSAL_WITH_REVISIONS_AS_INDICATED_IN_THE_MESSAGE = 2;
1393
+ const int SecurityResponseType_ACCEPT_SECURITY_PROPOSAL_AS_IS = 1;
1394
+ const int SecurityResponseType_REJECT_SECURITY_PROPOSAL = 5;
1395
+ const int SecurityResponseType_CAN_NOT_MATCH_SELECTION_CRITERIA = 6;
1396
+ const int SecurityResponseType_CANNOT_MATCH_SELECTION_CRITERIA = 6;
1397
+ const int SessionStatus_PASSWORD_EXPIRED = 8;
1398
+ const int SessionStatus_SESSION_LOGOUT_COMPLETE = 4;
1399
+ const int SessionStatus_INVALID_USERNAME_OR_PASSWORD = 5;
1400
+ const int SessionStatus_SESSION_ACTIVE = 0;
1401
+ const int SessionStatus_SESSION_PASSWORD_CHANGED = 1;
1402
+ const int SessionStatus_ACCOUNT_LOCKED = 6;
1403
+ const int SessionStatus_LOGONS_ARE_NOT_ALLOWED_AT_THIS_TIME = 7;
1404
+ const int SessionStatus_SESSION_PASSWORD_DUE_TO_EXPIRE = 2;
1405
+ const int SessionStatus_NEW_SESSION_PASSWORD_DOES_NOT_COMPLY_WITH_POLICY = 3;
1406
+ const int AllocAccountType_HOUSE_TRADER = 3;
1407
+ const int AllocAccountType_FLOOR_TRADER = 4;
1408
+ const int AllocAccountType_ACCOUNT_IS_CARRIED_ON_NON_CUSTOMER_SIDE_OF_BOOKS = 2;
1409
+ const int AllocAccountType_JOINT_BACK_OFFICE_ACCOUNT = 8;
1410
+ const int AllocAccountType_ACCOUNT_IS_CARRIED_ON_NON_CUSTOMER_SIDE_OF_BOOKS_AND_IS_CROSS_MARGINED = 6;
1411
+ const int AllocAccountType_ACCOUNT_IS_CARRIED_ON_CUSTOMER_SIDE_OF_BOOKS = 1;
1412
+ const int AllocAccountType_ACCOUNT_IS_CARRIED_PN_CUSTOMER_SIDE_OF_BOOKS = 1;
1413
+ const int AllocAccountType_JOINT_BACKOFFICE_ACCOUNT = 8;
1414
+ const int AllocAccountType_ACCOUNT_IS_HOUSE_TRADER_AND_IS_CROSS_MARGINED = 7;
1415
+ const char AllocTransType_REPLACE = '1';
1416
+ const char AllocTransType_NEW = '0';
1417
+ const char AllocTransType_CALCULATED = '4';
1418
+ const char AllocTransType_PRELIMINARY = '3';
1419
+ const char AllocTransType_CANCEL = '2';
1420
+ const char AllocTransType_REVERSAL = '6';
1421
+ const char AllocTransType_CALCULATED_WITHOUT_PRELIMINARY = '5';
1422
+ const int ExpirationQtyType_DIFFERENCE = 5;
1423
+ const int ExpirationQtyType_FINAL_WILL_BE_EXERCISED = 3;
1424
+ const int ExpirationQtyType_NON_AUTO_EXERCISE = 2;
1425
+ const int ExpirationQtyType_CONTRARY_INTENTION = 4;
1426
+ const int ExpirationQtyType_AUTO_EXERCISE = 1;
1427
+ const int AllocHandlInst_FORWARD_AND_MATCH = 3;
1428
+ const int AllocHandlInst_FORWARD = 2;
1429
+ const int AllocHandlInst_MATCH = 1;
1430
+ const int TradeRequestStatus_COMPLETED = 1;
1431
+ const int TradeRequestStatus_REJECTED = 2;
1432
+ const int TradeRequestStatus_ACCEPTED = 0;
1433
+ const char PreallocMethod_DO_NOT_PRO_RATA_DISCUSS_FIRST = '1';
1434
+ const char PreallocMethod_PRO_RATA = '0';
1435
+ const char PreallocMethod_DO_NOT_PRO_RATA = '1';
1436
+ const int TaxAdvantageType_457 = 23;
1437
+ const int TaxAdvantageType_MAXI_ISA = 1;
1438
+ const int TaxAdvantageType_EMPLOYEE_CURRENT_YEAR = 10;
1439
+ const int TaxAdvantageType_EMPLOYEE_9 = 9;
1440
+ const int TaxAdvantageType_403 = 22;
1441
+ const int TaxAdvantageType_KEOGH = 18;
1442
+ const int TaxAdvantageType_401K = 20;
1443
+ const int TaxAdvantageType_SELF_DIRECTED_IRA = 21;
1444
+ const int TaxAdvantageType_DEFINED_CONTRIBUTION_PLAN = 15;
1445
+ const int TaxAdvantageType_INDIVIDUAL_RETIREMENT_ACCOUNT_16 = 16;
1446
+ const int TaxAdvantageType_ROTH_IRA_24 = 24;
1447
+ const int TaxAdvantageType_CURRENT_YEAR_PAYMENT = 6;
1448
+ const int TaxAdvantageType_MINI_INSURANCE_ISA = 5;
1449
+ const int TaxAdvantageType_INDIVIDUAL_RETIREMENT_ACCOUNT_17 = 17;
1450
+ const int TaxAdvantageType_EDUCATION_IRA_28 = 28;
1451
+ const int TaxAdvantageType_ROTH_IRA_25 = 25;
1452
+ const int TaxAdvantageType_INDIVIDUAL_RETIREMENT_ACCOUNT = 16;
1453
+ const int TaxAdvantageType_EMPLOYEE_10 = 10;
1454
+ const int TaxAdvantageType_EDUCATION_IRA_29 = 29;
1455
+ const int TaxAdvantageType_PRIOR_YEAR_PAYMENT = 7;
1456
+ const int TaxAdvantageType_INDIVIDUAL_RETIREMENT_ACCOUNT_ROLLOVER = 17;
1457
+ const int TaxAdvantageType_EMPLOYER_11 = 11;
1458
+ const int TaxAdvantageType_ASSET_TRANSFER = 8;
1459
+ const int TaxAdvantageType_EMPLOYER_12 = 12;
1460
+ const int TaxAdvantageType_OTHER = 999;
1461
+ const int TaxAdvantageType_MINI_STOCKS_AND_SHARES_ISA = 4;
1462
+ const int TaxAdvantageType_EMPLOYEE = 9;
1463
+ const int TaxAdvantageType_ROTH_CONVERSION_IRA_26 = 26;
1464
+ const int TaxAdvantageType_MINI_CASH_ISA = 3;
1465
+ const int TaxAdvantageType_ROTH_CONVERSION_IRA_27 = 27;
1466
+ const int TaxAdvantageType_NONE_NOT_APPLICABLE = 0;
1467
+ const int TaxAdvantageType_TESSA = 2;
1468
+ const int TaxAdvantageType_NON_FUND_QUALIFIED_PLAN = 14;
1469
+ const int TaxAdvantageType_EMPLOYER_CURRENT_YEAR = 12;
1470
+ const int TaxAdvantageType_EMPLOYER = 11;
1471
+ const int TaxAdvantageType_PROFIT_SHARING_PLAN = 19;
1472
+ const int TaxAdvantageType_401 = 20;
1473
+ const int TaxAdvantageType_NON_FUND_PROTOTYPE_IRA = 13;
1474
+ const char MessageEncoding_EUC_JP[] = "EUC-JP";
1475
+ const char MessageEncoding_SHIFT_JIS[] = "SHIFT_JIS";
1476
+ const char MessageEncoding_UTF_8[] = "UTF-8";
1477
+ const char MessageEncoding_ISO_2022_JP[] = "ISO-2022-JP";
1478
+ const char MessageEncoding_EUC[] = "EUC-JP";
1479
+ const char MessageEncoding_JIS[] = "ISO-2022-JP";
1480
+ const char MessageEncoding_FOR_USING_SJIS[] = "Shift_JIS";
1481
+ const char MessageEncoding_UNICODE[] = "UTF-8";
1482
+ const char TimeInForce_GOOD_TILL_CROSSING = '5';
1483
+ const char TimeInForce_FILL_OR_KILL = '4';
1484
+ const char TimeInForce_GOOD_TILL_DATE = '6';
1485
+ const char TimeInForce_GOOD_TILL_CANCEL = '1';
1486
+ const char TimeInForce_DAY = '0';
1487
+ const char TimeInForce_AT_CROSSING = '9';
1488
+ const char TimeInForce_IMMEDIATE_OR_CANCEL = '3';
1489
+ const char TimeInForce_GOOD_THROUGH_CROSSING = '8';
1490
+ const char TimeInForce_AT_THE_CLOSE = '7';
1491
+ const char TimeInForce_AT_THE_OPENING = '2';
1492
+ const char IOIQualifier_THROUGH_THE_DAY = 'T';
1493
+ const char IOIQualifier_INDIDCATION = 'W';
1494
+ const char IOIQualifier_AT_THE_MARKET = 'Q';
1495
+ const char IOIQualifier_AT_THE_MIDPOINT = 'Y';
1496
+ const char IOIQualifier_CROSSING_OPPORTUNITY = 'X';
1497
+ const char IOIQualifier_CURRENT_QUOTE = 'Q';
1498
+ const char IOIQualifier_IN_TOUCH_WITH = 'I';
1499
+ const char IOIQualifier_ALL_OR_NONE = 'A';
1500
+ const char IOIQualifier_TAKING_A_POSITION = 'P';
1501
+ const char IOIQualifier_AT_THE_OPEN = 'O';
1502
+ const char IOIQualifier_PORTFOLIO_SHOW_N = 'S';
1503
+ const char IOIQualifier_MARKET_ON_CLOSE = 'B';
1504
+ const char IOIQualifier_VERSUS = 'V';
1505
+ const char IOIQualifier_LIMIT = 'L';
1506
+ const char IOIQualifier_PORTFOLIO_SHOWN = 'S';
1507
+ const char IOIQualifier_READY_TO_TRADE = 'R';
1508
+ const char IOIQualifier_PRE_OPEN = 'Z';
1509
+ const char IOIQualifier_INDICATION = 'W';
1510
+ const char IOIQualifier_MORE_BEHIND = 'M';
1511
+ const char IOIQualifier_VWAP = 'D';
1512
+ const char IOIQualifier_AT_THE_CLOSE = 'C';
1513
+ const int StrikePriceBoundaryMethod_GREATER_THAN_OR_EQUAL_TO_UNDERLYING_PRICE_IS_IN_THE_MONEY = 4;
1514
+ const int StrikePriceBoundaryMethod_GREATER_THAN_UNDERLYING_IS_IN_THE_MONEY = 5;
1515
+ const int StrikePriceBoundaryMethod_LESS_THAN_OR_EQUAL_TO_THE_UNDERLYING_PRICE_IS_IN_THE_MONEY = 2;
1516
+ const int StrikePriceBoundaryMethod_LESS_THAN_UNDERLYING_PRICE_IS_IN_THE_MONEY = 1;
1517
+ const int StrikePriceBoundaryMethod_EQUAL_TO_THE_UNDERLYING_PRICE_IS_IN_THE_MONEY = 3;
1518
+ const char MiscFeeType_CONVERSION[] = "11";
1519
+ const char MiscFeeType_CONSUMPTION_TAX[] = "9";
1520
+ const char MiscFeeType_LOCAL_COMMISSION[] = "3";
1521
+ const char MiscFeeType_TAX[] = "2";
1522
+ const char MiscFeeType_MARKUP[] = "8";
1523
+ const char MiscFeeType_SECURITY_LENDING[] = "14";
1524
+ const char MiscFeeType_PER_TRANSACTION[] = "10";
1525
+ const char MiscFeeType_REGULATORY[] = "1";
1526
+ const char MiscFeeType_STAMP[] = "5";
1527
+ const char MiscFeeType_TRANSFER_FEE[] = "13";
1528
+ const char MiscFeeType_AGENT[] = "12";
1529
+ const char MiscFeeType_OTHER[] = "7";
1530
+ const char MiscFeeType_EXCHANGE_FEES[] = "4";
1531
+ const char MiscFeeType_LEVY[] = "6";
1532
+ const char SecurityIDSource_OPTION_PRICE_REPORTING_AUTHORITY[] = "J";
1533
+ const char SecurityIDSource_CLEARING_HOUSE[] = "H";
1534
+ const char SecurityIDSource_EXCHANGE_SYMBOL[] = "8";
1535
+ const char SecurityIDSource_SICOVAM[] = "E";
1536
+ const char SecurityIDSource_ISDA_FPML_PRODUCT_URL[] = "K";
1537
+ const char SecurityIDSource_ISDA_FPML_PRODUCT_SPECIFICATION[] = "I";
1538
+ const char SecurityIDSource_RIC_CODE[] = "5";
1539
+ const char SecurityIDSource_ISO_CURRENCY_CODE[] = "6";
1540
+ const char SecurityIDSource_COMMON[] = "G";
1541
+ const char SecurityIDSource_VALOREN[] = "D";
1542
+ const char SecurityIDSource_BELGIAN[] = "F";
1543
+ const char SecurityIDSource_OPTIONS_PRICE_REPORTING_AUTHORITY[] = "J";
1544
+ const char SecurityIDSource_ISIN_NUMBER[] = "4";
1545
+ const char SecurityIDSource_SEDOL[] = "2";
1546
+ const char SecurityIDSource_ISO_COUNTRY_CODE[] = "7";
1547
+ const char SecurityIDSource_LETTER_OF_CREDIT[] = "L";
1548
+ const char SecurityIDSource_BLOOMBERG_SYMBOL[] = "A";
1549
+ const char SecurityIDSource_WERTPAPIER[] = "B";
1550
+ const char SecurityIDSource_MARKETPLACE_ASSIGNED_IDENTIFIER[] = "M";
1551
+ const char SecurityIDSource_CONSOLIDATED_TAPE_ASSOCIATION[] = "9";
1552
+ const char SecurityIDSource_DUTCH[] = "C";
1553
+ const char SecurityIDSource_QUIK[] = "3";
1554
+ const char SecurityIDSource_CUSIP[] = "1";
1555
+ const int NewsRefType_OTHER_LANGUAGE = 1;
1556
+ const int NewsRefType_COMPLIMENTARY = 2;
1557
+ const int NewsRefType_REPLACEMENT = 0;
1558
+ const char TriggerOrderType_LIMIT = '2';
1559
+ const char TriggerOrderType_MARKET = '1';
1560
+ const int CrossType_CROSS_TRADE_IS_EXECUTED_WITH_EXISTING_ORDERS_WITH_THE_SAME_PRICE_IN_THE_CASE_OTHER_ORDERS_EXIST_WITH_THE_SAME_PRICE_THE_QUANTITY_OF_THE_CROSS_IS_EXECUTED_AGAINST_THE_EXISTING_ORDERS_AND_QUOTES_THE_REMAINDER_OF_THE_CROSS_IS_EXECUTED_AGAINST_THE_OTHER_SIDE_OF_THE_CROSS_THE_TWO_SIDES_POTENTIALLY_HAVE_DIFFERENT_QUANTITIES = 4;
1561
+ const int CrossType_CROSS_AON = 1;
1562
+ const int CrossType_CROSS_TRADE_WHICH_IS_PARTIALLY_EXECUTED_WITH_THE_UNFILLED_PORTIONS_REMAINING_ACTIVE_ONE_SIDE_OF_THE_CROSS_IS_FULLY_EXECUTED = 3;
1563
+ const int CrossType_CROSS_TRADE_WHICH_IS_EXECUTED_COMPLETELY_OR_NOT_BOTH_SIDES_ARE_TREATED_IN_THE_SAME_MANNER_THIS_IS_EQUIVALENT_TO_AN_ALL_OR_NONE = 1;
1564
+ const int CrossType_CROSS_TRADE_IS_EXECUTED_WITH_EXISTING_ORDERS_WITH_THE_SAME_PRICE = 4;
1565
+ const int CrossType_CROSS_ONE_SIDE = 3;
1566
+ const int CrossType_CROSS_SAME_PRICE = 4;
1567
+ const int CrossType_CROSS_IOC = 2;
1568
+ const int CrossType_CROSS_TRADE_WHICH_IS_EXECUTED_PARTIALLY_AND_THE_REST_IS_CANCELLED_ONE_SIDE_IS_FULLY_EXECUTED_THE_OTHER_SIDE_IS_PARTIALLY_EXECUTED_WITH_THE_REMAINDER_BEING_CANCELLED_THIS_IS_EQUIVALENT_TO_AN_IMMEDIATE_OR_CANCEL_ON_THE_OTHER_SIDE = 2;
1569
+ const int CrossType_CROSS_TRADE_WHICH_IS_EXECUTED_PARTIALLY_AND_THE_REST_IS_CANCELLED_ONE_SIDE_IS_FULLY_EXECUTED_THE_OTHER_SIDE_IS_PARTIALLY_EXECUTED_WITH_THE_REMAINDER_BEING_CANCELLED_THIS_IS_EQUIVALENT_TO_AN_IMMEDIATE_OR_CANCEL_ON_THE_OTHER_SIDE_NOTE_THE_CROSSPRIORITZATION = 2;
1570
+ const char OpenCloseSettleFlag_SESSION_OPEN = '1';
1571
+ const char OpenCloseSettleFlag_DAILY_OPEN = '0';
1572
+ const char OpenCloseSettleFlag_EXPECTED_PRICE = '3';
1573
+ const char OpenCloseSettleFlag_PRICE_FROM_PREVIOUS_BUSINESS_DAY = '4';
1574
+ const char OpenCloseSettleFlag_DELIVERY_SETTLEMENT_PRICE = '2';
1575
+ const int MDBookType_PRICE_DEPTH = 2;
1576
+ const int MDBookType_ORDER_DEPTH = 3;
1577
+ const int MDBookType_TOP_OF_BOOK = 1;
1578
+ const char BasisPxType_VWAP_THROUGH_A_DAY_EXCEPT_YORI = '9';
1579
+ const char BasisPxType_VWAP_THROUGH_A_MORNING_SESSION = '7';
1580
+ const char BasisPxType_CLOSING_PRICE = '3';
1581
+ const char BasisPxType_VWAP_THROUGH_A_DAY = '6';
1582
+ const char BasisPxType_OTHERS = 'Z';
1583
+ const char BasisPxType_OPEN = 'D';
1584
+ const char BasisPxType_CLOSING_PRICE_AT_MORNING_SESSION = '2';
1585
+ const char BasisPxType_CURRENT_PRICE = '4';
1586
+ const char BasisPxType_SQ = '5';
1587
+ const char BasisPxType_STRIKE = 'C';
1588
+ const char BasisPxType_VWAP_THROUGH_AN_AFTERNOON_SESSION_EXCEPT_YORI = 'B';
1589
+ const char BasisPxType_VWAP_THROUGH_A_MORNING_SESSION_EXCEPT_YORI = 'A';
1590
+ const char BasisPxType_VWAP_THROUGH_AN_AFTERNOON_SESSION = '8';
1591
+ const int ComplexEventType_ROLLING_BARRIER = 9;
1592
+ const int ComplexEventType_UNDERLYING = 7;
1593
+ const int ComplexEventType_KNOCK_OUT_UP = 5;
1594
+ const int ComplexEventType_KNOCK_IN_UP = 3;
1595
+ const int ComplexEventType_KOCK_IN_DOWN = 4;
1596
+ const int ComplexEventType_TRIGGER = 2;
1597
+ const int ComplexEventType_RESET_BARRIER = 8;
1598
+ const int ComplexEventType_CAPPED = 1;
1599
+ const int ComplexEventType_KNOCK_OUT_DOWN = 6;
1600
+ const int MassActionResponse_REJECTED = 0;
1601
+ const int MassActionResponse_ACCEPTED = 1;
1602
+ const int SecurityRequestType_MARKETID_OR_MARKETID_PLUS_MARKETSEGMENTID = 9;
1603
+ const int SecurityRequestType_REQUEST_LIST_SECURITY_TYPES = 2;
1604
+ const int SecurityRequestType_REQUEST_LIST_SECURITIES = 3;
1605
+ const int SecurityRequestType_SYMBOL = 4;
1606
+ const int SecurityRequestType_SECURITYTYPE_AND_OR_CFICODE = 5;
1607
+ const int SecurityRequestType_REQUEST_SECURITY_IDENTITY_FOR_THE_SPECIFICATIONS_PROVIDED = 1;
1608
+ const int SecurityRequestType_TRADINGSESSIONID = 7;
1609
+ const int SecurityRequestType_PRODUCT = 6;
1610
+ const int SecurityRequestType_ALL_SECURITIES = 8;
1611
+ const int SecurityRequestType_REQUEST_SECURITY_IDENTITY_AND_SPECIFICATIONS = 0;
1612
+ const int ListRejectReason_EXCHANGE_CLOSED = 2;
1613
+ const int ListRejectReason_UNKNOWN_ORDER = 5;
1614
+ const int ListRejectReason_UNSUPPORTED_ORDER_CHARACTERISTIC = 11;
1615
+ const int ListRejectReason_DUPLICATE_ORDER = 6;
1616
+ const int ListRejectReason_TOO_LATE_TO_ENTER = 4;
1617
+ const int ListRejectReason_OTHER = 99;
1618
+ const int ListRejectReason_BROKER = 0;
1619
+ const char DeskType_PROPRIETARY[] = "PR";
1620
+ const char DeskType_ARBITRAGE[] = "AR";
1621
+ const char DeskType_TRADING[] = "T";
1622
+ const char DeskType_DERIVATIVES[] = "D";
1623
+ const char DeskType_SALES[] = "S";
1624
+ const char DeskType_INSTITUTIONAL[] = "IS";
1625
+ const char DeskType_INTERNATIONAL[] = "IN";
1626
+ const char DeskType_AGENCY[] = "A";
1627
+ const char DeskType_PREFERRED_TRADING[] = "PF";
1628
+ const char DeskType_OTHER[] = "O";
1629
+ const char DeskType_PROGRAM_TRADING[] = "PT";
1630
+ const char SettlType_WHEN_AND_IF_ISSUED[] = "7";
1631
+ const char SettlType_FUTURE[] = "6";
1632
+ const char SettlType_BROKEN_DATE[] = "B";
1633
+ const char SettlType_SELLERS_OPTION[] = "8";
1634
+ const char SettlType_T_PLUS_2[] = "3";
1635
+ const char SettlType_T_PLUS_3[] = "4";
1636
+ const char SettlType_T_PLUS_4[] = "5";
1637
+ const char SettlType_REGULAR[] = "0";
1638
+ const char SettlType_FX_SPOT_NEXT_SETTLEMENT[] = "C";
1639
+ const char SettlType_T_PLUS_5[] = "9";
1640
+ const char SettlType_NEXT_DAY[] = "2";
1641
+ const char SettlType_CASH[] = "1";
1642
+ const char OpenClose_CLOSE = 'C';
1643
+ const char OpenClose_OPEN = 'O';
1644
+ const int ContractMultiplierUnit_SHARES = 0;
1645
+ const int ContractMultiplierUnit_HOURS = 1;
1646
+ const int ContractMultiplierUnit_DAYS = 2;
1647
+ const int TrdType_VOLUME_WEIGHTED_AVERAGE_TRADE = 51;
1648
+ const int TrdType_FUTURES_LARGE_ORDER_EXECUTION = 17;
1649
+ const int TrdType_EXCHANGE_OF_FUTURES_FOR_FUTURES = 18;
1650
+ const int TrdType_SPECIAL_EX_CAPITAL_REPAYMENTS = 35;
1651
+ const int TrdType_BLOCK_TRADE_38 = 38;
1652
+ const int TrdType_DELTA_NEUTRAL_TRANSACTION = 46;
1653
+ const int TrdType_LATE_TRADE = 4;
1654
+ const int TrdType_CASH_SETTLEMENT = 29;
1655
+ const int TrdType_SPECIAL_CUM_CAPITAL_REPAYMENTS = 34;
1656
+ const int TrdType_SPECIAL_CUM_BONUS = 36;
1657
+ const int TrdType_BLOCK_TRADES = 40;
1658
+ const int TrdType_ALL_OR_NONE = 16;
1659
+ const int TrdType_OPTION_EXERCISE = 45;
1660
+ const int TrdType_FINANCING_TRANSACTION = 47;
1661
+ const int TrdType_TRANSFER = 3;
1662
+ const int TrdType_TRADING_AT_SETTLEMENT = 15;
1663
+ const int TrdType_SPECIAL_EX_DIVIDEND = 26;
1664
+ const int TrdType_SPECIAL_EX_COUPON = 28;
1665
+ const int TrdType_SPECIAL_PRICE = 30;
1666
+ const int TrdType_SPECIAL_CUM_RIGHTS = 32;
1667
+ const int TrdType_SPECIAL_EX_BONUS = 37;
1668
+ const int TrdType_REGULAR_TRADE = 0;
1669
+ const int TrdType_EXCHANGE_GRANTED_TRADE = 52;
1670
+ const int TrdType_EXCHANGE_BASIS_FACILITY = 55;
1671
+ const int TrdType_BLOCK_TRADE_1 = 1;
1672
+ const int TrdType_ERROR_TRADE = 24;
1673
+ const int TrdType_NAME_CHANGE = 41;
1674
+ const int TrdType_LATE_BUNCHED_TRADE = 8;
1675
+ const int TrdType_EFP = 2;
1676
+ const int TrdType_NON_STANDARD_SETTLEMENT = 48;
1677
+ const int TrdType_EXCHANGE_FOR_RISK = 11;
1678
+ const int TrdType_EXCHANGE_FOR_SWAP = 12;
1679
+ const int TrdType_EXCHANGE_OF_FUTURES_FOR = 13;
1680
+ const int TrdType_OPTION_INTERIM_TRADE = 19;
1681
+ const int TrdType_PRIVATELY_NEGOTIATED_TRADES = 22;
1682
+ const int TrdType_SUBSTITUTION_OF_FUTURES_FOR_FORWARDS = 23;
1683
+ const int TrdType_SPECIAL_CUM_DIVIDEND = 25;
1684
+ const int TrdType_GUARANTEED_DELIVERY = 31;
1685
+ const int TrdType_PROROGATION_SELL = 44;
1686
+ const int TrdType_PRIOR_REFERENCE_PRICE_TRADE = 9;
1687
+ const int TrdType_PORTFOLIO_TRADE = 50;
1688
+ const int TrdType_WORKED_PRINCIPAL_TRADE = 39;
1689
+ const int TrdType_PORTFOLIO_TRANSFER = 42;
1690
+ const int TrdType_WEIGHTED_AVERAGE_PRICE_TRADE = 6;
1691
+ const int TrdType_EXCHANGE_OF_OPTIONS_FOR_OPTIONS = 14;
1692
+ const int TrdType_SPECIAL_CUM_COUPON = 27;
1693
+ const int TrdType_T_TRADE = 5;
1694
+ const int TrdType_BLOCK_TRADE = 1;
1695
+ const int TrdType_OTC = 54;
1696
+ const int TrdType_AFTER_HOURS_TRADE = 10;
1697
+ const int TrdType_DERIVATIVE_RELATED_TRANSACTION = 49;
1698
+ const int TrdType_REPURCHASE_AGREEMENT = 53;
1699
+ const int TrdType_SPECIAL_EX_RIGHTS = 33;
1700
+ const int TrdType_PROROGATION_BUY = 43;
1701
+ const int TrdType_OPTION_CABINET_TRADE = 20;
1702
+ const int TrdType_BUNCHED_TRADE = 7;
1703
+ const char RestructuringType_MODIFIED_MOD_RESTRUCTURING[] = "MM";
1704
+ const char RestructuringType_FULL_RESTRUCTURING[] = "FR";
1705
+ const char RestructuringType_NO_RESTRUCTURING_SPECIFIED[] = "XR";
1706
+ const char RestructuringType_MODIFIED_RESTRUCTURING[] = "MR";
1707
+ const int ProgRptReqs_REAL_TIME_EXECUTION_REPORTS = 3;
1708
+ const int ProgRptReqs_BUYSIDE_EXPLICITLY_REQUESTS_STATUS_USING_STATUSREQUEST = 1;
1709
+ const int ProgRptReqs_SELL_SIDE_PERIODICALLY_SENDS_STATUS_USING_LIST_STATUS_PERIOD_OPTIONALLY_SPECIFIED_IN_PROGRESSPERIOD = 2;
1710
+ const int ProgRptReqs_BUY_SIDE_EXPLICITLY_REQUESTS_STATUS_USING_STATUE_REQUEST = 1;
1711
+ const int ProgRptReqs_SELLSIDE_PERIODICALLY_SENDS_STATUS_USING_LISTSTATUS_PERIOD_OPTIONALLY_SPECIFIED_IN_PROGRESSPERIOD = 2;
1712
+ const char TradingSessionID_EVENING[] = "5";
1713
+ const char TradingSessionID_AFTER_HOURS[] = "6";
1714
+ const char TradingSessionID_HALFDAY[] = "2";
1715
+ const char TradingSessionID_DAY[] = "1";
1716
+ const char TradingSessionID_MORNING[] = "3";
1717
+ const char TradingSessionID_AFTERNOON[] = "4";
1718
+ const int ListOrderStatus_CANCELING = 4;
1719
+ const int ListOrderStatus_REJECT = 7;
1720
+ const int ListOrderStatus_ALL_DONE = 6;
1721
+ const int ListOrderStatus_IN_BIDDING_PROCESS = 1;
1722
+ const int ListOrderStatus_RECEIVED_FOR_EXECUTION = 2;
1723
+ const int ListOrderStatus_ALERT = 5;
1724
+ const int ListOrderStatus_RECEIVEDFOREXECUTION = 2;
1725
+ const int ListOrderStatus_INBIDDINGPROCESS = 1;
1726
+ const int ListOrderStatus_CANCELLING = 4;
1727
+ const int ListOrderStatus_EXECUTING = 3;
1728
+ const char RegistStatus_REJECT = 'R';
1729
+ const char RegistStatus_REMINDER_IE_REGISTRATION_INSTRUCTIONS_ARE_STILL_OUTSTANDING = 'N';
1730
+ const char RegistStatus_REJECTED = 'R';
1731
+ const char RegistStatus_ACCEPTED = 'A';
1732
+ const char RegistStatus_REMINDER = 'N';
1733
+ const char RegistStatus_HELD = 'H';
1734
+ const char RegistStatus_ACCEPT = 'A';
1735
+ const int UnderlyingPriceDeterminationMethod_OPTIMAL_VALUE = 3;
1736
+ const int UnderlyingPriceDeterminationMethod_SPECIAL_REFERENCE = 2;
1737
+ const int UnderlyingPriceDeterminationMethod_AVERAGE_VALUE = 4;
1738
+ const int UnderlyingPriceDeterminationMethod_REGULAR = 1;
1739
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_SECURITY = '1';
1740
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_SECURITY_GROUP = 'A';
1741
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_MARKET = '8';
1742
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_MARKET_SEGMENT = '9';
1743
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_SECURITYTYPE = '5';
1744
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_TRADING_SESSION = '6';
1745
+ const char MassCancelRequestType_CANCEL_FOR_ISSUER_OF_UNDERLYING_SECURITY = 'C';
1746
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_AN_UNDERLYING_SECURITY = '2';
1747
+ const char MassCancelRequestType_CANCEL_ALL_ORDERS = '7';
1748
+ const char MassCancelRequestType_CANCEL_FOR_SECURITY_ISSUER = 'B';
1749
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_PRODUCT = '3';
1750
+ const char MassCancelRequestType_CANCEL_ORDERS_FOR_A_CFICODE = '4';
1751
+ const char CxlRejResponseTo_ORDER_CANCEL_REQUEST = '1';
1752
+ const char CxlRejResponseTo_ORDER_CANCEL_REPLACE_REQUEST = '2';
1753
+ const int QuoteCancelType_CANCEL_BY_QUOTETYPE = 6;
1754
+ const int QuoteCancelType_CANCEL_FOR_ONE_OR_MORE_SECURITIES = 1;
1755
+ const int QuoteCancelType_CANCEL_QUOTE_SPECIFIED_IN_QUOTEID = 5;
1756
+ const int QuoteCancelType_CANCEL_FOR_UNDERLYING_SYMBOL = 3;
1757
+ const int QuoteCancelType_CANCEL_ALL_QUOTES = 4;
1758
+ const int QuoteCancelType_CANCEL_FOR_UNDERLYING_SECURITY = 3;
1759
+ const int QuoteCancelType_CANCEL_FOR_ISSUER_OF_UNDERLYING_SECURITY = 8;
1760
+ const int QuoteCancelType_CANCEL_FOR_SECURITY_ISSUER = 7;
1761
+ const int QuoteCancelType_CANCEL_FOR_ALL_QUOTES = 4;
1762
+ const int QuoteCancelType_CANCEL_FOR_SECURITY_TYPE = 2;
1763
+ const int QuoteCancelType_CANCEL_FOR_SYMBOL = 1;
1764
+ const char StipulationType_YIELD_TO_MATURITY[] = "YTM";
1765
+ const char StipulationType_ALTERNATIVE_MINIMUM_TAX[] = "AMT";
1766
+ const char StipulationType_WEIGHTED_AVERAGE_LIFE_COUPON_VALUE_IN_PERCENT[] = "WAL";
1767
+ const char StipulationType_GEOGRAPHICS_AND_RANGE[] = "GEOG";
1768
+ const char StipulationType_COUPON_RANGE[] = "COUPON";
1769
+ const char StipulationType_BANK_QUALIFIED[] = "BANKQUAL";
1770
+ const char StipulationType_RATING_SOURCE_AND_RANGE[] = "RATING";
1771
+ const char StipulationType_SUBSTITUTIONS_FREQUENCY[] = "SUBSFREQ";
1772
+ const char StipulationType_MINIMUM_DENOMINATION[] = "MINDNOM";
1773
+ const char StipulationType_AVAILABLE_OFFER_QUANTITY_TO_BE_SHOWN_TO_THE_STREET[] = "AVAILQTY";
1774
+ const char StipulationType_MAXIMUM_ORDER_SIZE[] = "MAXORDQTY";
1775
+ const char StipulationType_ABSOLUTE_PREPAYMENT_SPEED[] = "ABS";
1776
+ const char StipulationType_PRICING_FREQUENCY[] = "PRICEFREQ";
1777
+ const char StipulationType_CONSTANT_PREPAYMENT_YIELD[] = "CPY";
1778
+ const char StipulationType_YIELD_RANGE[] = "YIELD";
1779
+ const char StipulationType_PRINCIPAL_OF_ROLLING_OR_CLOSING_TRADE[] = "REFPRIN";
1780
+ const char StipulationType_BENCHMARK_PRICE_SOURCE[] = "PXSOURCE";
1781
+ const char StipulationType_MAXIMUM_SUBSTITUTIONS[] = "MAXSUBS";
1782
+ const char StipulationType_PERCENT_OF_PROSPECTUS_PREPAYMENT_CURVE[] = "PPC";
1783
+ const char StipulationType_MONTHLY_PREPAYMENT_RATE[] = "MPR";
1784
+ const char StipulationType_PURPOSE[] = "PURPOSE";
1785
+ const char StipulationType_WHOLE_POOL[] = "WHOLE";
1786
+ const char StipulationType_WEIGHTED_AVERAGE_LOAN_AGE[] = "WALA";
1787
+ const char StipulationType_WEIGHTED_AVERAGE_LIFE_COUPON[] = "WAL";
1788
+ const char StipulationType_POOLS_MAXIMUM[] = "PMAX";
1789
+ const char StipulationType_MINIMUM_QUANTITY[] = "MINQTY";
1790
+ const char StipulationType_FINAL_CPR_OF_HOME_EQUITY_PREPAYMENT_CURVE[] = "HEP";
1791
+ const char StipulationType_VALUATION_DISCOUNT[] = "HAIRCUT";
1792
+ const char StipulationType_GEOGRAPHICS[] = "GEOG";
1793
+ const char StipulationType_AMT[] = "AMT";
1794
+ const char StipulationType_WEIGHTED_AVERAGE_MATURITY[] = "WAM";
1795
+ const char StipulationType_CALL_PROTECTION[] = "PROTECT";
1796
+ const char StipulationType_EXPLICIT_LOT_IDENTIFIER[] = "LOT";
1797
+ const char StipulationType_FREEFORM_TEXT[] = "TEXT";
1798
+ const char StipulationType_TRADE_VARIANCE[] = "TRDVAR";
1799
+ const char StipulationType_WEIGHTED_AVERAGE_COUPONVALUE_IN_PERCENT[] = "WAC";
1800
+ const char StipulationType_OFFER_PRICE_TO_BE_SHOWN_TO_INTERNAL_BROKERS[] = "INTERNALPX";
1801
+ const char StipulationType_STRUCTURE[] = "STRUCT";
1802
+ const char StipulationType_RESTRICTED[] = "RESTRICTED";
1803
+ const char StipulationType_CONSTANT_PREPAYMENT_PENALTY[] = "CPP";
1804
+ const char StipulationType_OFFER_QUANTITY_TO_BE_SHOWN_TO_INTERNAL_BROKERS[] = "INTERNALQTY";
1805
+ const char StipulationType_REFERENCE_TO_ROLLING_OR_CLOSING_TRADE[] = "REFTRADE";
1806
+ const char StipulationType_PERCENT_OF_MANUFACTURED_HOUSING_PREPAYMENT_CURVE[] = "MHP";
1807
+ const char StipulationType_TYPE_OF_REDEMPTION[] = "REDEMPTION";
1808
+ const char StipulationType_SECURITYTYPE_INCLUDED_OR_EXCLUDED[] = "SECTYPE";
1809
+ const char StipulationType_PAYMENT_FREQUENCY_CALENDAR[] = "PAYFREQ";
1810
+ const char StipulationType_AUTO_REINVESTMENT_AT_RATE_OR_BETTER[] = "AUTOREINV";
1811
+ const char StipulationType_ISSUERS_TICKER[] = "ISSUER";
1812
+ const char StipulationType_MAXIMUM_LOAN_BALANCE[] = "MAXBAL";
1813
+ const char StipulationType_BROKER_SALES_CREDIT_OVERRIDE[] = "SALESCREDITOVR";
1814
+ const char StipulationType_OF_BMA_PREPAYMENT_CURVE[] = "PSA";
1815
+ const char StipulationType_ISO_CURRENCY_CODE[] = "CURRENCY";
1816
+ const char StipulationType_MARKET_SECTOR[] = "SECTOR";
1817
+ const char StipulationType_POOL_IDENTIFIER[] = "POOL";
1818
+ const char StipulationType_TYPE_OF_ROLL_TRADE[] = "ROLLTYPE";
1819
+ const char StipulationType_SECURITY_TYPE_INCLUDED_OR_EXCLUDED[] = "SECTYPE";
1820
+ const char StipulationType_YEAR_OF_ISSUE[] = "ISSUE";
1821
+ const char StipulationType_LOOKBACK_DAYS[] = "LOOKBACK";
1822
+ const char StipulationType_TYPE_OF_REDEMPTION_VALUES_ARE_NONCALLABLE_CALLABLE_PREFUNDED_ESCROWEDTOMATURITY_PUTABLE_CONVERTIBLE[] = "REDEMPTION";
1823
+ const char StipulationType_MATURITY_YEAR[] = "MAT";
1824
+ const char StipulationType_CUSTOM_START_END_DATE[] = "CUSTOMDATE";
1825
+ const char StipulationType_ORDER_QUANTITY_INCREMENT[] = "ORDRINCR";
1826
+ const char StipulationType_DISCOUNT_RATE[] = "DISCOUNT";
1827
+ const char StipulationType_PERCENT_OF_BMA_PREPAYMENT_CURVE[] = "PSA";
1828
+ const char StipulationType_CONSTANT_PREPAYMENT_RATE[] = "CPR";
1829
+ const char StipulationType_OF_PROSPECTUS_PREPAYMENT_CURVE[] = "PPC";
1830
+ const char StipulationType_AVERAGE_LOAN_SIZE[] = "AVSIZE";
1831
+ const char StipulationType_TRADERS_CREDIT[] = "TRADERCREDIT";
1832
+ const char StipulationType_POOLS_PER_LOT[] = "PPL";
1833
+ const char StipulationType_WEIGHTED_AVERAGE_LIFE[] = "WAL";
1834
+ const char StipulationType_MATURITY_RANGE[] = "MATURITY";
1835
+ const char StipulationType_POOLS_PER_MILLION[] = "PPM";
1836
+ const char StipulationType_LOT_VARIANCE[] = "LOTVAR";
1837
+ const char StipulationType_PRIMARY_OR_SECONDARY_MARKET_INDICATOR[] = "PRIMARY";
1838
+ const char StipulationType_AVERAGE_FICO_SCORE[] = "AVFICO";
1839
+ const char StipulationType_WEIGHTED_AVERAGE_MATURITY_VALUE_IN_MONTHS[] = "WAM";
1840
+ const char StipulationType_PRICE_RANGE[] = "PRICE";
1841
+ const char StipulationType_MATURITY_YEAR_AND_MONTH[] = "MAT";
1842
+ const char StipulationType_MINIMUM_INCREMENT[] = "MININCR";
1843
+ const char StipulationType_WEIGHTED_AVERAGE_COUPON[] = "WAC";
1844
+ const char StipulationType_YEAR_OR_YEAR_MONTH_OF_ISSUE[] = "ISSUE";
1845
+ const char StipulationType_SUBSTITUTIONS_LEFT[] = "SUBSLEFT";
1846
+ const char StipulationType_NUMBER_OF_PIECES[] = "PIECES";
1847
+ const char StipulationType_INSURED[] = "INSURED";
1848
+ const char StipulationType_OF_MANUFACTURED_HOUSING_PREPAYMENT_CURVE[] = "MHP";
1849
+ const char StipulationType_THE_MINIMUM_RESIDUAL_OFFER_QUANTITY[] = "LEAVEQTY";
1850
+ const char StipulationType_BARGAIN_CONDITIONS[] = "BGNCON";
1851
+ const char StipulationType_POOLS_PER_TRADE[] = "PPT";
1852
+ const char StipulationType_WEIGHTED_AVERAGE_LOAN_AGE_VALUE_IN_MONTHS[] = "WALA";
1853
+ const char StipulationType_SINGLE_MONTHLY_MORTALITY[] = "SMM";
1854
+ const char StipulationType_INTEREST_OF_ROLLING_OR_CLOSING_TRADE[] = "REFINT";
1855
+ const char StipulationType_BROKERS_SALES_CREDIT[] = "BROKERCREDIT";
1856
+ const char StipulationType_ISSUE_SIZE_RANGE[] = "ISSUESIZE";
1857
+ const char StipulationType_BARGAIN_CONDITIONS_SEE[] = "BGNCON";
1858
+ const char StipulationType_PRODUCTION_YEAR[] = "PROD";
1859
+ const char PriceQuoteMethod_PERCENT_OF_PAR[] = "PCTPAR";
1860
+ const char PriceQuoteMethod_STANDARD_MONEY_PER_UNIT_OF_A_PHYSICAL[] = "STD";
1861
+ const char PriceQuoteMethod_INDEX[] = "INX";
1862
+ const char PriceQuoteMethod_INTEREST_RATE_INDEX[] = "INT";
1863
+ const int SessionRejectReason_NON_DATA_VALUE_INCLUDES_FIELD_DELIMITER = 17;
1864
+ const int SessionRejectReason_COMPID_PROBLEM = 9;
1865
+ const int SessionRejectReason_SIGNATURE_PROBLEM = 8;
1866
+ const int SessionRejectReason_TAG_NOT_DEFINED_FOR_THIS_MESSAGE_TYPE = 2;
1867
+ const int SessionRejectReason_XML_VALIDATION_ERROR = 12;
1868
+ const int SessionRejectReason_UNDEFINED_TAG = 3;
1869
+ const int SessionRejectReason_INCORRECT_DATA_FORMAT_FOR_VALUE = 6;
1870
+ const int SessionRejectReason_REPEATING_GROUP_FIELDS_OUT_OF_ORDER = 15;
1871
+ const int SessionRejectReason_REQUIRED_TAG_MISSING = 1;
1872
+ const int SessionRejectReason_OTHER = 99;
1873
+ const int SessionRejectReason_INCORRECT_NUMINGROUP_COUNT_FOR_REPEATING_GROUP = 16;
1874
+ const int SessionRejectReason_TAG_APPEARS_MORE_THAN_ONCE = 13;
1875
+ const int SessionRejectReason_TAG_SPECIFIED_OUT_OF_REQUIRED_ORDER = 14;
1876
+ const int SessionRejectReason_DECRYPTION_PROBLEM = 7;
1877
+ const int SessionRejectReason_INVALID_TAG_NUMBER = 0;
1878
+ const int SessionRejectReason_VALUE_IS_INCORRECT = 5;
1879
+ const int SessionRejectReason_TAG_SPECIFIED_WITHOUT_A_VALUE = 4;
1880
+ const int SessionRejectReason_INVALID_MSGTYPE = 11;
1881
+ const int SessionRejectReason_SENDINGTIME_ACCURACY_PROBLEM = 10;
1882
+ const int DeliveryType_TRI_PARTY = 2;
1883
+ const int DeliveryType_HOLD_IN_CUSTODY = 3;
1884
+ const int DeliveryType_FREE_DELIVER = 1;
1885
+ const int DeliveryType_VERSUS_PAYMENT_DELIVER = 0;
1886
+ const char Scope_LOCAL = '1';
1887
+ const char Scope_LOCAL_MARKET = '1';
1888
+ const char Scope_GLOBAL = '3';
1889
+ const char Scope_NATIONAL = '2';
1890
+ const char DeleteReason_CANCELLATION = '0';
1891
+ const char DeleteReason_CANCELATION = '0';
1892
+ const char DeleteReason_ERROR = '1';
1893
+ const char InViewOfCommon_NO = 'N';
1894
+ const char InViewOfCommon_YES = 'Y';
1895
+ const char NoSides_ONE_SIDE = '1';
1896
+ const char NoSides_BOTH_SIDES = '2';
1897
+ const char SecurityType_EURO_CERTIFICATE_OF_DEPOSIT[] = "EUCD";
1898
+ const char SecurityType_MUNICIPAL_BOND[] = "MUNI";
1899
+ const char SecurityType_MORTGAGE_INTEREST_ONLY[] = "MIO";
1900
+ const char SecurityType_MATURED[] = "MATURED";
1901
+ const char SecurityType_FUTURE[] = "FUT";
1902
+ const char SecurityType_TREASURY_BILL[] = "TB";
1903
+ const char SecurityType_BILL_OF_EXCHANGES[] = "BOX";
1904
+ const char SecurityType_TIME_DEPOSIT[] = "TD";
1905
+ const char SecurityType_MORTGAGE_IOETTE[] = "IET";
1906
+ const char SecurityType_REPURCHASE_AGREEMENT[] = "RP";
1907
+ const char SecurityType_SPECIAL_OBLIGATION[] = "SPCLO";
1908
+ const char SecurityType_COMMERCIAL_PAPER[] = "CP";
1909
+ const char SecurityType_CORPORATE_BOND[] = "CORP";
1910
+ const char SecurityType_CORP_MORTGAGE_BACKED_SECURITIES[] = "CMBS";
1911
+ const char SecurityType_OTHER_ANTICIPATION_NOTES_BAN_GAN_ETC[] = "AN";
1912
+ const char SecurityType_STRUCTURED_NOTES[] = "STRUCT";
1913
+ const char SecurityType_REPURCHASE[] = "REPO";
1914
+ const char SecurityType_CANADIAN_MORTGAGE_BONDS[] = "CMB";
1915
+ const char SecurityType_PRINCIPAL_STRIP_FROM_A_NON_CALLABLE_BOND_OR_NOTE[] = "TPRN";
1916
+ const char SecurityType_TREASURIES_PLUS_AGENCY_DEBENTURE[] = "GOVT";
1917
+ const char SecurityType_TAX_REVENUE_ANTICIPATION_NOTE[] = "TRAN";
1918
+ const char SecurityType_US_TREASURY_BILL[] = "USTB";
1919
+ const char SecurityType_PLAZOS_FIJOS[] = "PZFJ";
1920
+ const char SecurityType_CANADIAN_TREASURY_NOTES[] = "CAN";
1921
+ const char SecurityType_YANKEE_CORPORATE_BOND[] = "YANK";
1922
+ const char SecurityType_FEDERAL_AGENCY_DISCOUNT_NOTE[] = "FADN";
1923
+ const char SecurityType_BUY_SELLBACK[] = "BUYSELL";
1924
+ const char SecurityType_NO_ISITC_SECURITY_TYPE[] = "NONE";
1925
+ const char SecurityType_PROMISSORY_NOTE[] = "PN";
1926
+ const char SecurityType_PRIVATE_EXPORT_FUNDING[] = "PEF";
1927
+ const char SecurityType_CASH[] = "CASH";
1928
+ const char SecurityType_DEPOSIT_NOTES[] = "DN";
1929
+ const char SecurityType_FOREIGN_EXCHANGE_CONTRACT[] = "FOR";
1930
+ const char SecurityType_SECURITIES_PLEDGE[] = "SECPLEDGE";
1931
+ const char SecurityType_RETIRED[] = "RETIRED";
1932
+ const char SecurityType_OVERNIGHT[] = "ONITE";
1933
+ const char SecurityType_REVENUE_ANTICIPATION_NOTE[] = "RAN";
1934
+ const char SecurityType_REVERSE_REPURCHASE_AGREEMENT[] = "RVRP";
1935
+ const char SecurityType_COLLATERALIZED_MORTGAGE_OBLIGATION[] = "CMO";
1936
+ const char SecurityType_WARRANT[] = "WAR";
1937
+ const char SecurityType_LIQUIDITY_NOTE[] = "LQN";
1938
+ const char SecurityType_MANDATORY_TENDER[] = "MT";
1939
+ const char SecurityType_COMMON_STOCK[] = "CS";
1940
+ const char SecurityType_EURO_CORPORATE_BOND[] = "EUCORP";
1941
+ const char SecurityType_CALL_LOANS[] = "CL";
1942
+ const char SecurityType_OPTIONS_ON_PHYSICAL[] = "OOP";
1943
+ const char SecurityType_REVOLVER_LOAN[] = "RVLV";
1944
+ const char SecurityType_OPTION[] = "OPT";
1945
+ const char SecurityType_FEDERAL_AGENCY_COUPON[] = "FAC";
1946
+ const char SecurityType_TAX_ALLOCATION[] = "TAXA";
1947
+ const char SecurityType_MISCELLANEOUS_PASS_THROUGH[] = "MPT";
1948
+ const char SecurityType_VARIABLE_RATE_DEMAND_NOTE[] = "VRDN";
1949
+ const char SecurityType_MORTGAGE_PRINCIPAL_ONLY[] = "MPO";
1950
+ const char SecurityType_TAXABLE_MUNICIPAL_CP[] = "TMCP";
1951
+ const char SecurityType_INTEREST_RATE_SWAP[] = "IRS";
1952
+ const char SecurityType_BANK_NOTES[] = "BN";
1953
+ const char SecurityType_ASSET_BACKED_SECURITIES[] = "ABS";
1954
+ const char SecurityType_MULTILEG_INSTRUMENT[] = "MLEG";
1955
+ const char SecurityType_INTEREST_STRIP_FROM_ANY_BOND_OR_NOTE[] = "TINT";
1956
+ const char SecurityType_CREDIT_DEFAULT_SWAP[] = "CDS";
1957
+ const char SecurityType_FEDERAL_NATIONAL_MORTGAGE_ASSOCIATION[] = "FN";
1958
+ const char SecurityType_USD_SUPRANATIONAL_COUPONS[] = "SUPRA";
1959
+ const char SecurityType_REVOLVER_TERM_LOAN[] = "RVLVTRM";
1960
+ const char SecurityType_MORTGAGE_PRINCIPLE_ONLY[] = "MPO";
1961
+ const char SecurityType_REPLACED[] = "REPLACD";
1962
+ const char SecurityType_US_TREASURY_BILL_TBILL[] = "TBILL";
1963
+ const char SecurityType_CERTIFICATE_OF_DEPOSIT[] = "CD";
1964
+ const char SecurityType_SPECIAL_ASSESSMENT[] = "SPCLA";
1965
+ const char SecurityType_SHORT_TERM_LOAN_NOTE[] = "STN";
1966
+ const char SecurityType_LETTER_OF_CREDIT[] = "LOFC";
1967
+ const char SecurityType_OPTIONS_ON_COMBO[] = "OOC";
1968
+ const char SecurityType_SPECIAL_TAX[] = "SPCLT";
1969
+ const char SecurityType_PREFERRED_STOCK[] = "PS";
1970
+ const char SecurityType_US_TREASURY_NOTE_TNOTE[] = "TNOTE";
1971
+ const char SecurityType_AGENCY_POOLS[] = "POOL";
1972
+ const char SecurityType_MEDIUM_TERM_NOTES[] = "MTN";
1973
+ const char SecurityType_CANADIAN_PROVINCIAL_BONDS[] = "PROV";
1974
+ const char SecurityType_IOETTE_MORTGAGE[] = "IET";
1975
+ const char SecurityType_STUDENT_LOAN_MARKETING_ASSOCIATION[] = "SL";
1976
+ const char SecurityType_SECURITIES_LOAN[] = "SECLOAN";
1977
+ const char SecurityType_EURO_CORPORATE_FLOATING_RATE_NOTES[] = "EUFRN";
1978
+ const char SecurityType_CERTIFICATE_OF_PARTICIPATION[] = "COFP";
1979
+ const char SecurityType_FEDERAL_HOME_LOAN[] = "FHL";
1980
+ const char SecurityType_US_CORPORATE_FLOATING_RATE_NOTES[] = "FRN";
1981
+ const char SecurityType_YANKEE_CERTIFICATE_OF_DEPOSIT[] = "YCD";
1982
+ const char SecurityType_MULTI_LEG_INSTRUMENT[] = "MLEG";
1983
+ const char SecurityType_WITHDRAWN[] = "WITHDRN";
1984
+ const char SecurityType_MISCELLANEOUS_PASS_THRU[] = "MPT";
1985
+ const char SecurityType_CANADIAN_MONEY_MARKETS[] = "CAMM";
1986
+ const char SecurityType_FORWARD[] = "FORWARD";
1987
+ const char SecurityType_EURO_SUPRANATIONAL_COUPONS[] = "EUSUPRA";
1988
+ const char SecurityType_PRINCIPAL_STRIP_OF_A_CALLABLE_BOND_OR_NOTE[] = "TCAL";
1989
+ const char SecurityType_EURO_SOVEREIGNS[] = "EUSOV";
1990
+ const char SecurityType_CERTIFICATE_OF_OBLIGATION[] = "COFO";
1991
+ const char SecurityType_BANK_DEPOSITORY_NOTE[] = "BDN";
1992
+ const char SecurityType_US_TREASURY_BILL_USTB[] = "USTB";
1993
+ const char SecurityType_FX_SWAP[] = "FXSWAP";
1994
+ const char SecurityType_WILDCARD_ENTRY[] = "WLD";
1995
+ const char SecurityType_SWING_LINE_FACILITY[] = "SWING";
1996
+ const char SecurityType_FEDERAL_HOUSING_AUTHORITY[] = "FHA";
1997
+ const char SecurityType_CORPORATE_PRIVATE_PLACEMENT[] = "CPP";
1998
+ const char SecurityType_GENERAL_OBLIGATION_BONDS[] = "GO";
1999
+ const char SecurityType_WILDCARD_ENTRY_FOR_USE_ON_SECURITY_DEFINITION_REQUEST[] = "?";
2000
+ const char SecurityType_INDEXED_LINKED[] = "XLINKD";
2001
+ const char SecurityType_TO_BE_ANNOUNCED[] = "TBA";
2002
+ const char SecurityType_TREASURY_INFLATION_PROTECTED_SECURITIES[] = "TIPS";
2003
+ const char SecurityType_NON_DELIVERABLE_FORWARD[] = "FXNDF";
2004
+ const char SecurityType_OPTIONS_ON_FUTURES[] = "OOF";
2005
+ const char SecurityType_TAX_ANTICIPATION_NOTE[] = "TAN";
2006
+ const char SecurityType_TERM_LOAN[] = "TERM";
2007
+ const char SecurityType_AMENDED_RESTATED[] = "AMENDED";
2008
+ const char SecurityType_FX_FORWARD[] = "FXFWD";
2009
+ const char SecurityType_CANADIAN_TREASURY_BILLS[] = "CTB";
2010
+ const char SecurityType_DUAL_CURRENCY[] = "DUAL";
2011
+ const char SecurityType_MORTGAGE_PRIVATE_PLACEMENT[] = "MPP";
2012
+ const char SecurityType_EURO_COMMERCIAL_PAPER[] = "EUCP";
2013
+ const char SecurityType_GOVERNMENT_NATIONAL_MORTGAGE_ASSOCIATION[] = "GN";
2014
+ const char SecurityType_US_TREASURY_BOND[] = "TBOND";
2015
+ const char SecurityType_SECURED_LIQUIDITY_NOTE[] = "SLQN";
2016
+ const char SecurityType_MORTGAGE_BACKED_SECURITIES[] = "MBS";
2017
+ const char SecurityType_US_TREASURY_NOTE_UST[] = "UST";
2018
+ const char SecurityType_DEBTOR_IN_POSSESSION[] = "DINP";
2019
+ const char SecurityType_TERM_LIQUIDITY_NOTE[] = "TLQN";
2020
+ const char SecurityType_US_TREASURY_NOTE_BOND[] = "UST";
2021
+ const char SecurityType_REVENUE_BONDS[] = "REV";
2022
+ const char SecurityType_BRIDGE_LOAN[] = "BRIDGE";
2023
+ const char SecurityType_CATS_TIGERS_LIONS[] = "ZOO";
2024
+ const char SecurityType_BRADY_BOND[] = "BRADY";
2025
+ const char SecurityType_NO_SECURITY_TYPE[] = "NONE";
2026
+ const char SecurityType_TAX_EXEMPT_COMMERCIAL_PAPER[] = "TECP";
2027
+ const char SecurityType_COLLATERALIZE_MORTGAGE_OBLIGATION[] = "CMO";
2028
+ const char SecurityType_DEFAULTED[] = "DEFLTED";
2029
+ const char SecurityType_OTHER_ANTICIPATION_NOTES[] = "AN";
2030
+ const char SecurityType_MUTUAL_FUND[] = "MF";
2031
+ const char SecurityType_EXTENDED_COMM_NOTE[] = "XCN";
2032
+ const char SecurityType_CONVERTIBLE_BOND[] = "CB";
2033
+ const char SecurityType_PFANDBRIEFE[] = "PFAND";
2034
+ const char SecurityType_FX_SPOT[] = "FXSPOT";
2035
+ const char SecurityType_BANKERS_ACCEPTANCE[] = "BA";
2036
+ const char RoundingDirection_ROUND_DOWN = '1';
2037
+ const char RoundingDirection_ROUND_TO_NEAREST = '0';
2038
+ const char RoundingDirection_ROUND_UP = '2';
2039
+ const char TimeUnit_MINUTE[] = "Min";
2040
+ const char TimeUnit_WEEK[] = "Wk";
2041
+ const char TimeUnit_SECOND[] = "S";
2042
+ const char TimeUnit_MONTH[] = "Mo";
2043
+ const char TimeUnit_HOUR[] = "H";
2044
+ const char TimeUnit_DAY[] = "D";
2045
+ const char TimeUnit_YEAR[] = "Yr";
2046
+ const int LegSwapType_MODIFIED_DURATION = 2;
2047
+ const int LegSwapType_RISK = 4;
2048
+ const int LegSwapType_PAR_FOR_PAR = 1;
2049
+ const int LegSwapType_PROCEEDS = 5;
2050
+ const char IOITransType_REPLACE = 'R';
2051
+ const char IOITransType_NEW = 'N';
2052
+ const char IOITransType_CANCEL = 'C';
2053
+ const int PosReqResult_VALID_REQUEST = 0;
2054
+ const int PosReqResult_NOT_AUTHORIZED_TO_REQUEST_POSITIONS = 3;
2055
+ const int PosReqResult_NO_POSITIONS_FOUND_THAT_MATCH_CRITERIA = 2;
2056
+ const int PosReqResult_INVALID_OR_UNSUPPORTED_REQUEST = 1;
2057
+ const int PosReqResult_OTHER = 99;
2058
+ const int PosReqResult_REQUEST_FOR_POSITION_NOT_SUPPORTED = 4;
2059
+ const char SettlInstMode_DEFAULT = '0';
2060
+ const char SettlInstMode_REQUEST_REJECT = '5';
2061
+ const char SettlInstMode_SPECIFIC_ALLOCATION_ACCOUNT_OVERRIDING = '2';
2062
+ const char SettlInstMode_SPECIFIC_ALLOCATION_ACCOUNT_STANDING = '3';
2063
+ const char SettlInstMode_SPECIFIC_ORDER_FOR_A_SINGLE_ACCOUNT = '4';
2064
+ const char SettlInstMode_STANDING_INSTRUCTIONS_PROVIDED = '1';
2065
+ const char PreviouslyReported_NO = 'N';
2066
+ const char PreviouslyReported_YES = 'Y';
2067
+ const char CustOrderHandlingInst_PEGGED[] = "PEG";
2068
+ const char CustOrderHandlingInst_MARKET_ON_OPEN[] = "MOO";
2069
+ const char CustOrderHandlingInst_SCALE[] = "SCL";
2070
+ const char CustOrderHandlingInst_FILL_OR_KILL[] = "FOK";
2071
+ const char CustOrderHandlingInst_ALL_OR_NONE[] = "AON";
2072
+ const char CustOrderHandlingInst_NOT_HELD[] = "NH";
2073
+ const char CustOrderHandlingInst_DIRECTED_ORDER[] = "DIR";
2074
+ const char CustOrderHandlingInst_STOP_STOCK_TRANSACTION[] = "S.W";
2075
+ const char CustOrderHandlingInst_OVER_THE_DAY[] = "OVD";
2076
+ const char CustOrderHandlingInst_ADD_ON_ORDER[] = "ADD";
2077
+ const char CustOrderHandlingInst_MARKET_AT_CLOSE[] = "MAC";
2078
+ const char CustOrderHandlingInst_LIMIT_ON_OPEN[] = "LOO";
2079
+ const char CustOrderHandlingInst_CASH_NOT_HELD[] = "CNH";
2080
+ const char CustOrderHandlingInst_MARKET_ON_CLOSE[] = "MOC";
2081
+ const char CustOrderHandlingInst_TIME_ORDER[] = "TMO";
2082
+ const char CustOrderHandlingInst_LIMIT_ON_CLOSE[] = "LOC";
2083
+ const char CustOrderHandlingInst_IMMEDIATE_OR_CANCEL[] = "IOC";
2084
+ const char CustOrderHandlingInst_TRAILING_STOP[] = "TS";
2085
+ const char CustOrderHandlingInst_WORK[] = "WRK";
2086
+ const char CustOrderHandlingInst_RESERVE_SIZE_ORDER[] = "RSV";
2087
+ const char CustOrderHandlingInst_MINIMUM_QUANTITY[] = "MQT";
2088
+ const char CustOrderHandlingInst_MARKET_AT_OPEN[] = "MAO";
2089
+ const char CustOrderHandlingInst_IMBALANCE_ONLY[] = "IO";
2090
+ const char CustOrderHandlingInst_EXCHANGE_FOR_PHYSICAL_TRANSACTION[] = "E.W";
2091
+ const char SecurityStatus_INACTIVE[] = "2";
2092
+ const char SecurityStatus_ACTIVE[] = "1";
2093
+ const char ProcessCode_SOFT_DOLLAR = '1';
2094
+ const char ProcessCode_PLAN_SPONSOR = '6';
2095
+ const char ProcessCode_STEP_IN = '2';
2096
+ const char ProcessCode_REGULAR = '0';
2097
+ const char ProcessCode_SOFT_DOLLAR_STEP_OUT = '5';
2098
+ const char ProcessCode_STEP_OUT = '3';
2099
+ const char ProcessCode_SOFT_DOLLAR_STEP_IN = '4';
2100
+ const char ExecInst_TRY_TO_STOP = 'Y';
2101
+ const char ExecInst_PEG_TO_LIMIT_PRICE = 'd';
2102
+ const char ExecInst_EXECUTE_AS_DURATION_NEUTRAL = 's';
2103
+ const char ExecInst_REINSTATE_ON_TRADING_HALT = 'J';
2104
+ const char ExecInst_NO_CROSS = 'A';
2105
+ const char ExecInst_PEGVWAP = 'W';
2106
+ const char ExecInst_STRICT_SCALE = '7';
2107
+ const char ExecInst_AON = 'G';
2108
+ const char ExecInst_MARKPEG = 'P';
2109
+ const char ExecInst_MIDPRCPEG = 'M';
2110
+ const char ExecInst_OKCROSS = 'B';
2111
+ const char ExecInst_TRAILING_STOP_PEG = 'a';
2112
+ const char ExecInst_EXECUTE_AS_FX_NEUTRAL = 't';
2113
+ const char ExecInst_CUSTDISPINST = 'U';
2114
+ const char ExecInst_OK_TO_CROSS = 'B';
2115
+ const char ExecInst_SUSPEND_ON_SYSTEM_FAILURE = 'l';
2116
+ const char ExecInst_GO_ALONG = '3';
2117
+ const char ExecInst_INSTITONLY = 'I';
2118
+ const char ExecInst_DO_NOT_INCREASE = 'E';
2119
+ const char ExecInst_SUSPEND = 'S';
2120
+ const char ExecInst_TRYTOSTOP = 'Y';
2121
+ const char ExecInst_FIXED_PEG_TO_LOCAL_BEST_BID_OR_OFFER_AT_TIME_OF_ORDER = 'T';
2122
+ const char ExecInst_REINSTATE_ON_SYSTEM_FAILURE = 'H';
2123
+ const char ExecInst_SUSPEND_ON_TRADING_HALT = 'm';
2124
+ const char ExecInst_INTERMARKET_SWEEP = 'f';
2125
+ const char ExecInst_BEST_EXECUTION = 'k';
2126
+ const char ExecInst_PARTICIPATE_DONT_INITIATE = '6';
2127
+ const char ExecInst_LASTPEG = 'L';
2128
+ const char ExecInst_PEG_TO_VWAP = 'W';
2129
+ const char ExecInst_PRIMARY_PEG = 'R';
2130
+ const char ExecInst_NONNEGO = 'N';
2131
+ const char ExecInst_IGNORE_PRICE_VALIDITY_CHECKS = 'c';
2132
+ const char ExecInst_STAY_ON_BID_SIDE = '9';
2133
+ const char ExecInst_NOTHELD = '1';
2134
+ const char ExecInst_STRICTSCALE = '7';
2135
+ const char ExecInst_REINSTATE_ON_CONNECTION_LOSS = 'n';
2136
+ const char ExecInst_DNI = 'E';
2137
+ const char ExecInst_TRYTOSCALE = '8';
2138
+ const char ExecInst_PERCENT_OF_VOLUME = 'D';
2139
+ const char ExecInst_GOALONG = '3';
2140
+ const char ExecInst_WORK = '2';
2141
+ const char ExecInst_HELD = '5';
2142
+ const char ExecInst_NOCROSS = 'A';
2143
+ const char ExecInst_RELEASE_FROM_SUSPENSION = 'q';
2144
+ const char ExecInst_STRICT_LIMIT = 'b';
2145
+ const char ExecInst_OPENPEG = 'O';
2146
+ const char ExecInst_STAY_ON_BIDSIDE = '9';
2147
+ const char ExecInst_STAY_ON_OFFERSIDE = '0';
2148
+ const char ExecInst_OVER_THE_DAY = '4';
2149
+ const char ExecInst_RESTATEONTRADINGHALT = 'J';
2150
+ const char ExecInst_INSTITUTIONS_ONLY = 'I';
2151
+ const char ExecInst_NOT_HELD = '1';
2152
+ const char ExecInst_CANCELONTRADINGHALT = 'K';
2153
+ const char ExecInst_CANCELONSYSFAIL = 'Q';
2154
+ const char ExecInst_MARKET_PEG = 'P';
2155
+ const char ExecInst_TRADEALONG = 'X';
2156
+ const char ExecInst_CALL_FIRST = 'C';
2157
+ const char ExecInst_CANCEL_ON_SYSTEM_FAILURE = 'Q';
2158
+ const char ExecInst_EXECUTE_AS_DELTA_NEUTRAL_USING_VOLATILITY_PROVIDED = 'r';
2159
+ const char ExecInst_SINGLE_EXECUTION_REQUESTED_FOR_BLOCK_TRADE = 'j';
2160
+ const char ExecInst_NON_NEGOTIABLE = 'N';
2161
+ const char ExecInst_TRY_TO_SCALE = '8';
2162
+ const char ExecInst_EXTERNAL_ROUTING_ALLOWED = 'g';
2163
+ const char ExecInst_STAY_ON_OFFER_SIDE = '0';
2164
+ const char ExecInst_CUSTOMER_DISPLAY_INSTRUCTION = 'U';
2165
+ const char ExecInst_WORK_TO_TARGET_STRATEGY = 'e';
2166
+ const char ExecInst_OVERDAY = '4';
2167
+ const char ExecInst_LAST_PEG = 'L';
2168
+ const char ExecInst_CALLFIRST = 'C';
2169
+ const char ExecInst_REINSTATE_ON_SYSTEM_FAILUE = 'H';
2170
+ const char ExecInst_DO_NOT_REDUCE = 'F';
2171
+ const char ExecInst_MID_PRICE_PEG = 'M';
2172
+ const char ExecInst_ALL_OR_NONE = 'G';
2173
+ const char ExecInst_OPENING_PEG = 'O';
2174
+ const char ExecInst_PERCVOL = 'D';
2175
+ const char ExecInst_SUSPEND_ON_CONNECTION_LOSS = 'p';
2176
+ const char ExecInst_CANCEL_ON_CONNECTION_LOSS = 'o';
2177
+ const char ExecInst_EXTERNAL_ROUTING_NOT_ALLOWED = 'h';
2178
+ const char ExecInst_CANCEL_IF_NOT_BEST = 'Z';
2179
+ const char ExecInst_PARTNOTINIT = '6';
2180
+ const char ExecInst_NETTING = 'V';
2181
+ const char ExecInst_IMBALANCE_ONLY = 'i';
2182
+ const char ExecInst_DNR = 'F';
2183
+ const char ExecInst_STAYOFFER = '0';
2184
+ const char ExecInst_STAYBID = '9';
2185
+ const char ExecInst_TRADE_ALONG = 'X';
2186
+ const char ExecInst_CANCEL_ON_TRADING_HALT = 'K';
2187
+ const char ExecInst_RESTATEONSYSFAIL = 'H';
2188
+ const char ExecInst_PRIMPEG = 'R';
2189
+ const char ExecType_REPLACE = '5';
2190
+ const char ExecType_NEW = '0';
2191
+ const char ExecType_CALCULATED = 'B';
2192
+ const char ExecType_PENDING_CANCEL = '6';
2193
+ const char ExecType_TRADE_IN_A_CLEARING_HOLD = 'J';
2194
+ const char ExecType_TRADE_HAS_BEEN_RELEASED_TO_CLEARING = 'K';
2195
+ const char ExecType_ORDER_STATUS = 'I';
2196
+ const char ExecType_PENDING_CANCEL_REPLACE = '6';
2197
+ const char ExecType_PARTIAL_FILL = '1';
2198
+ const char ExecType_PENDING_NEW = 'A';
2199
+ const char ExecType_STOPPED = '7';
2200
+ const char ExecType_CANCELED = '4';
2201
+ const char ExecType_PENDING_REPLACE = 'E';
2202
+ const char ExecType_TRADE = 'F';
2203
+ const char ExecType_TRADE_CORRECT = 'G';
2204
+ const char ExecType_SUSPENDED = '9';
2205
+ const char ExecType_FILL = '2';
2206
+ const char ExecType_RESTATED = 'D';
2207
+ const char ExecType_REJECTED = '8';
2208
+ const char ExecType_REPLACED = '5';
2209
+ const char ExecType_EXPIRED = 'C';
2210
+ const char ExecType_DONE_FOR_DAY = '3';
2211
+ const char ExecType_TRIGGERED_OR_ACTIVATED_BY_SYSTEM = 'L';
2212
+ const char ExecType_TRADE_CANCEL = 'H';
2213
+ const char ExecType_CANCELLED = '4';
2214
+ const int MultilegModel_USER_DEFINED_MULTLEG_SECURITY = 1;
2215
+ const int MultilegModel_PREDEFINED_MULTILEG_SECURITY = 0;
2216
+ const int MultilegModel_USER_DEFINED_NON_SECURITIZED_MULTILEG = 2;
2217
+ const int EventType_SWAP_NEXT_START_DATE = 11;
2218
+ const int EventType_LAST_ELIGIBLE_TRADE_DATE = 7;
2219
+ const int EventType_FIRST_DELIVERY_DATE = 13;
2220
+ const int EventType_TENDER = 3;
2221
+ const int EventType_INITIAL_INVENTORY_DUE_DATE = 15;
2222
+ const int EventType_FIRST_INTENT_DATE = 17;
2223
+ const int EventType_ACTIVATION = 5;
2224
+ const int EventType_PUT = 1;
2225
+ const int EventType_SWAP_START_DATE = 8;
2226
+ const int EventType_SWAP_NEXT_ROLL_DATE = 12;
2227
+ const int EventType_LAST_DELIVERY_DATE = 14;
2228
+ const int EventType_POSITION_REMOVAL_DATE = 19;
2229
+ const int EventType_SWAP_ROLL_DATE = 10;
2230
+ const int EventType_FINAL_INVENTORY_DUE_DATE = 16;
2231
+ const int EventType_OTHER = 99;
2232
+ const int EventType_INACTIVIATION = 6;
2233
+ const int EventType_SWAP_END_DATE = 9;
2234
+ const int EventType_LAST_INTENT_DATE = 18;
2235
+ const int EventType_SINKING_FUND_CALL = 4;
2236
+ const int EventType_CALL = 2;
2237
+ const int TradeAllocIndicator_ALLOCATION_REQUIRED = 1;
2238
+ const int TradeAllocIndicator_ALLOCATION_TO_CLAIM_ACCOUNT = 5;
2239
+ const int TradeAllocIndicator_ALLOCATION_FROM_EXECUTOR = 4;
2240
+ const int TradeAllocIndicator_USE_ALLOCATION_PROVIDED_WITH_THE_TRADE = 2;
2241
+ const int TradeAllocIndicator_ALLOCATION_GIVE_UP_EXECUTOR = 3;
2242
+ const int TradeAllocIndicator_ALLOCATION_NOT_REQUIRED = 0;
2243
+ const int UserStatus_NOT_LOGGED_IN = 2;
2244
+ const int UserStatus_PASSWORD_INCORRECT = 4;
2245
+ const int UserStatus_LOGGED_IN = 1;
2246
+ const int UserStatus_FORCED_USER_LOGOUT_BY_EXCHANGE = 7;
2247
+ const int UserStatus_USER_NOT_RECOGNISED = 3;
2248
+ const int UserStatus_OTHER = 6;
2249
+ const int UserStatus_PASSWORD_CHANGED = 5;
2250
+ const int UserStatus_SESSION_SHUTDOWN_WARNING = 8;
2251
+ const int OrderDelayUnit_WEEKS = 13;
2252
+ const int OrderDelayUnit_TENTHS_OF_A_SECOND = 1;
2253
+ const int OrderDelayUnit_SECONDS = 0;
2254
+ const int OrderDelayUnit_MONTHS = 14;
2255
+ const int OrderDelayUnit_YEARS = 15;
2256
+ const int OrderDelayUnit_NANOSECONDS = 5;
2257
+ const int OrderDelayUnit_HUNDREDTHS_OF_A_SECOND = 2;
2258
+ const int OrderDelayUnit_HOURS = 11;
2259
+ const int OrderDelayUnit_MICROSECONDS = 4;
2260
+ const int OrderDelayUnit_MINUTES = 10;
2261
+ const int OrderDelayUnit_MILLISECONDS = 3;
2262
+ const int OrderDelayUnit_DAYS = 12;
2263
+ const char TradedFlatSwitch_NO = 'N';
2264
+ const char TradedFlatSwitch_YES = 'Y';
2265
+ const int TrdRptStatus_ACCEPTED_WITH_ERRORS = 3;
2266
+ const int TrdRptStatus_REJECTED = 1;
2267
+ const int TrdRptStatus_ACCEPTED = 0;
2268
+ const int QuoteStatus_PENDING = 10;
2269
+ const int QuoteStatus_PENDING_END_TRADE = 19;
2270
+ const int QuoteStatus_CROSS_MARKET_WARNING = 13;
2271
+ const int QuoteStatus_CANCELED = 17;
2272
+ const int QuoteStatus_LOCKED_MARKET_WARNING = 12;
2273
+ const int QuoteStatus_CANCELED_FOR_UNDERLYING = 3;
2274
+ const int QuoteStatus_UNSOLICITED_QUOTE_REPLENISHMENT = 18;
2275
+ const int QuoteStatus_TOO_LATE_TO_END = 20;
2276
+ const int QuoteStatus_CANCELED_DUE_TO_LOCK_MARKET = 14;
2277
+ const int QuoteStatus_CANCELED_DUE_TO_CROSS_MARKET = 15;
2278
+ const int QuoteStatus_CANCELED_FOR_SECURITY_TYPE = 2;
2279
+ const int QuoteStatus_CANCELED_ALL = 4;
2280
+ const int QuoteStatus_PASS = 11;
2281
+ const int QuoteStatus_REJECTED = 5;
2282
+ const int QuoteStatus_QUERY = 8;
2283
+ const int QuoteStatus_ACCEPTED = 0;
2284
+ const int QuoteStatus_EXPIRED = 7;
2285
+ const int QuoteStatus_CANCELED_FOR_SYMBOL = 1;
2286
+ const int QuoteStatus_REMOVED_FROM_MARKET = 6;
2287
+ const int QuoteStatus_ACTIVE = 16;
2288
+ const int QuoteStatus_CANCEL_FOR_SYMBOL = 1;
2289
+ const int QuoteStatus_QUOTE_NOT_FOUND = 9;
2290
+ const char SolicitedFlag_NO = 'N';
2291
+ const char SolicitedFlag_YES = 'Y';
2292
+ const int ShortSaleReason_DEALER_SOLD_SHORT = 0;
2293
+ const int ShortSaleReason_QSR_OR_AGU_CONTRA_SIDE_SOLD_SHORT_EXEMPT = 5;
2294
+ const int ShortSaleReason_SELLING_CUSTOMER_SOLD_SHORT_EXEMPT = 3;
2295
+ const int ShortSaleReason_SELLING_CUSTOMER_SOLD_SHORT = 2;
2296
+ const int ShortSaleReason_QUALIFED_SERVICE_REPRESENTATIVE = 4;
2297
+ const int ShortSaleReason_DEALER_SOLD_SHORT_EXEMPT = 1;
2298
+ const int ShortSaleReason_QUALIFIED_SERVICE_REPRESENTATIVE = 4;
2299
+ const int PegRoundDirection_MORE_AGGRESSIVE_ON_A_BUY_ORDER_ROUND_THE_PRICE_UP_ROUND_UP_TO_THE_NEAREST_TICK_ON_A_SELL_ROUND_DOWN_TO_THE_NEAREST_TICK = 1;
2300
+ const int PegRoundDirection_MORE_AGGRESSIVE = 1;
2301
+ const int PegRoundDirection_MORE_PASSIVE = 2;
2302
+ const int PegRoundDirection_MORE_PASSIVE_ON_A_BUY_ORDER_ROUND_DOWN_TO_NEAREST_TICK_ON_A_SELL_ORDER_ROUND_UP_TO_NEAREST_TICK = 2;
2303
+ const int ModelType_PROPRIETARY = 1;
2304
+ const int ModelType_UTILITY_PROVIDED_STANDARD_MODEL = 0;
2305
+ const char FuturesValuationMethod_FUTURES_STYLE_WITH_AN_ATTACHED_CASH_ADJUSTMENT[] = "FUTDA";
2306
+ const char FuturesValuationMethod_PREMIUM_STYLE[] = "EQTY";
2307
+ const char FuturesValuationMethod_FUTURES_STYLE_MARK_TO_MARKET[] = "FUT";
2308
+ const char SettlMethod_CASH_SETTLEMENT_REQUIRED = 'C';
2309
+ const char SettlMethod_PHYSICAL_SETTLEMENT_REQUIRED = 'P';
2310
+ const int ConfirmStatus_CONFIRMED = 4;
2311
+ const int ConfirmStatus_MISSING_SETTLEMENT_INSTRUCTIONS = 3;
2312
+ const int ConfirmStatus_REQUEST_REJECTED = 5;
2313
+ const int ConfirmStatus_MISMATCHED_ACCOUNT = 2;
2314
+ const int ConfirmStatus_RECEIVED = 1;
2315
+ const char LocateReqd_NO = 'N';
2316
+ const char LocateReqd_YES = 'Y';
2317
+ const int Adjustment_CANCEL = 1;
2318
+ const int Adjustment_CORRECTION = 3;
2319
+ const int Adjustment_ERROR = 2;
2320
+ const int StreamAsgnType_ASSIGNMENT = 1;
2321
+ const int StreamAsgnType_TERMINATE_UNASSIGN = 3;
2322
+ const int StreamAsgnType_REJECTED = 2;
2323
+ const char LastRptRequested_NO = 'N';
2324
+ const char LastRptRequested_YES = 'Y';
2325
+ const char SettlSessID_END_OF_DAY[] = "EOD";
2326
+ const char SettlSessID_ELECTRONIC_TRADING_HOURS[] = "ETH";
2327
+ const char SettlSessID_REGULAR_TRADING_HOURS[] = "RTH";
2328
+ const char SettlSessID_INTRADAY[] = "ITD";
2329
+ const int TradeReportType_LOCKED_IN_TRADE_BREAK = 7;
2330
+ const int TradeReportType_NO_WAS = 5;
2331
+ const int TradeReportType_ADDENDUM = 4;
2332
+ const int TradeReportType_7 = 7;
2333
+ const int TradeReportType_PENDED = 10;
2334
+ const int TradeReportType_DEFAULTED = 8;
2335
+ const int TradeReportType_DECLINE = 3;
2336
+ const int TradeReportType_ALLEGED_NEW = 11;
2337
+ const int TradeReportType_ALLEGED_TRADE_REPORT_CANCEL = 14;
2338
+ const int TradeReportType_ALLEGED_15 = 15;
2339
+ const int TradeReportType_ALLEGED_ADDENDUM = 12;
2340
+ const int TradeReportType_ALLEGED = 1;
2341
+ const int TradeReportType_SUBMIT = 0;
2342
+ const int TradeReportType_ALLEGED_1 = 1;
2343
+ const int TradeReportType_INVALID_CMTA = 9;
2344
+ const int TradeReportType_ALLEGED_NO_WAS = 13;
2345
+ const int TradeReportType_TRADE_REPORT_CANCEL = 6;
2346
+ const int TradeReportType_ACCEPT = 2;
2347
+ const int ExerciseStyle_AMERICAN = 1;
2348
+ const int ExerciseStyle_EUROPEAN = 0;
2349
+ const int ExerciseStyle_BERMUDA = 2;
2350
+ const char HaltReasonChar_ADDITIONAL_INFORMATION = 'M';
2351
+ const char HaltReasonChar_NEW_PENDING = 'P';
2352
+ const char HaltReasonChar_NEWS_PENDING = 'P';
2353
+ const char HaltReasonChar_ORDER_INFLUX = 'E';
2354
+ const char HaltReasonChar_NEWS_DISSEMINATION = 'D';
2355
+ const char HaltReasonChar_EQUIPMENT_CHANGEOVER = 'X';
2356
+ const char HaltReasonChar_ORDER_IMBALANCE = 'I';
2357
+ const char ExDestination_POSIT = '4';
2358
+ const char ExDestination_NONE = '0';
2359
+ const int AllocReportType_SELLSIDE_CALCULATED_WITHOUT_PRELIMINARY = 4;
2360
+ const int AllocReportType_WAREHOUSE_RECAP = 5;
2361
+ const int AllocReportType_REJECT = 10;
2362
+ const int AllocReportType_ACCEPT_PENDING = 11;
2363
+ const int AllocReportType_COMPLETE = 12;
2364
+ const int AllocReportType_REQUEST_TO_INTERMEDIARY = 8;
2365
+ const int AllocReportType_PRELIMINARY_REQUEST_TO_INTERMEDIARY = 2;
2366
+ const int AllocReportType_SELLSIDE_CALCULATED_USING_PRELIMINARY = 3;
2367
+ const int AllocReportType_REVERSE_PENDING = 14;
2368
+ const int AllocReportType_ACCEPT = 9;
2369
+ const int AllocType_SELLSIDE_CALCULATED_WITHOUT_PRELIMINARY = 4;
2370
+ const int AllocType_INCOMPLETE_GROUP = 12;
2371
+ const int AllocType_REVERSAL_PENDING = 14;
2372
+ const int AllocType_CALCULATED = 1;
2373
+ const int AllocType_REJECT = 10;
2374
+ const int AllocType_PRELIMINARY = 2;
2375
+ const int AllocType_ACCEPT_PENDING = 11;
2376
+ const int AllocType_BUYSIDE_CALCULATED = 1;
2377
+ const int AllocType_REQUEST_TO_INTERMEDIARY = 8;
2378
+ const int AllocType_BUYSIDE_READY_TO_BOOK_5 = 5;
2379
+ const int AllocType_BUYSIDE_READY_TO_BOOK_6 = 6;
2380
+ const int AllocType_COMPLETE_GROUP = 13;
2381
+ const int AllocType_SELLSIDE_CALCULATED_USING_PRELIMINARY = 3;
2382
+ const int AllocType_BUYSIDE_READY_TO_BOOK = 6;
2383
+ const int AllocType_READY_TO_BOOK = 5;
2384
+ const int AllocType_WAREHOUSE_INSTRUCTION = 7;
2385
+ const int AllocType_BUYSIDE_PRELIMINARY = 2;
2386
+ const int AllocType_ACCEPT = 9;
2387
+ const int QuoteRequestRejectReason_INSUFFICIENT_CREDIT = 11;
2388
+ const int QuoteRequestRejectReason_NOT_AUTHORIZED_TO_REQUEST_QUOTE = 6;
2389
+ const int QuoteRequestRejectReason_INVALID_PRICE = 5;
2390
+ const int QuoteRequestRejectReason_TOO_LATE_TO_ENTER = 4;
2391
+ const int QuoteRequestRejectReason_NO_MATCH_FOR_INQUIRY = 7;
2392
+ const int QuoteRequestRejectReason_EXCHANGE = 2;
2393
+ const int QuoteRequestRejectReason_NO_MARKET_FOR_INSTRUMENT = 8;
2394
+ const int QuoteRequestRejectReason_UNKNOWN_SYMBOL = 1;
2395
+ const int QuoteRequestRejectReason_OTHER = 99;
2396
+ const int QuoteRequestRejectReason_PASS = 10;
2397
+ const int QuoteRequestRejectReason_NO_INVENTORY = 9;
2398
+ const int QuoteRequestRejectReason_QUOTE_REQUEST_EXCEEDS_LIMIT = 3;
2399
+ const int LiquidityIndType_20_DAY_MOVING_AVERAGE = 2;
2400
+ const int LiquidityIndType_5_DAY_MOVING_AVERAGE = 1;
2401
+ const int LiquidityIndType_5DAY_MOVING_AVERAGE = 1;
2402
+ const int LiquidityIndType_NORMAL_MARKET_SIZE = 3;
2403
+ const int LiquidityIndType_OTHER = 4;
2404
+ const int StatusValue_IN_PROCESS = 4;
2405
+ const int StatusValue_NOT_CONNECTED_DOWN_EXPECTED_DOWN = 3;
2406
+ const int StatusValue_NOT_CONNECTED_2 = 2;
2407
+ const int StatusValue_NOT_CONNECTED_DOWN_EXPECTED_UP = 2;
2408
+ const int StatusValue_CONNECTED = 1;
2409
+ const int StatusValue_NOT_CONNECTED_3 = 3;
2410
+ const char PosType_EXCHANGE_FOR_PHYSICAL_QTY[] = "EP";
2411
+ const char PosType_TRANSFER_TRADE_QTY[] = "TRF";
2412
+ const char PosType_INTER_SPREAD_QTY[] = "IES";
2413
+ const char PosType_INTRA_SPREAD_QTY[] = "IAS";
2414
+ const char PosType_START_OF_DAY_QTY[] = "SOD";
2415
+ const char PosType_DELIVERY_QTY[] = "DLV";
2416
+ const char PosType_PIT_TRADE_QTY[] = "PIT";
2417
+ const char PosType_TRANSACTION_FROM_ASSIGNMENT[] = "TA";
2418
+ const char PosType_TRANSACTION_FROM_EXERCISE[] = "TX";
2419
+ const char PosType_OPTION_ASSIGNMENT[] = "AS";
2420
+ const char PosType_AS_OF_TRADE_QTY[] = "ASF";
2421
+ const char PosType_ELECTRONIC_TRADE_QTY[] = "ETR";
2422
+ const char PosType_SUCCESSION_EVENT_ADJUSTMENT[] = "SEA";
2423
+ const char PosType_OPTION_EXERCISE_QTY[] = "EX";
2424
+ const char PosType_TRANSACTION_QUANTITY[] = "TQ";
2425
+ const char PosType_NET_DELTA_QTY[] = "DLT";
2426
+ const char PosType_DELIVERY_NOTICE_QTY[] = "DN";
2427
+ const char PosType_TOTAL_TRANSACTION_QTY[] = "TOT";
2428
+ const char PosType_ADJUSTMENT_QTY[] = "PA";
2429
+ const char PosType_END_OF_DAY_QTY[] = "FIN";
2430
+ const char PosType_RECEIVE_QUANTITY[] = "RCV";
2431
+ const char PosType_CREDIT_EVENT_ADJUSTMENT[] = "CEA";
2432
+ const char PosType_PRIVATELY_NEGOTIATED_TRADE_QTY[] = "PNTN";
2433
+ const char PosType_CORPORATE_ACTION_ADJUSTMENT[] = "CAA";
2434
+ const char PosType_CROSS_MARGIN_QTY[] = "XM";
2435
+ const char PosType_INTEGRAL_SPLIT[] = "SPL";
2436
+ const char PosType_ALLOCATION_TRADE_QTY[] = "ALC";
2437
+ const int StreamAsgnAckType_ASSIGNMENT_REJECTED = 1;
2438
+ const int StreamAsgnAckType_ASSIGNMENT_ACCEPTED = 0;
2439
+ const int MiscFeeBasis_ABSOLUTE = 0;
2440
+ const int MiscFeeBasis_PERCENTAGE = 2;
2441
+ const int MiscFeeBasis_PER_UNIT = 1;
2442
+ const char OrdType_FOREX_MARKET = 'C';
2443
+ const char OrdType_FOREX_PREVIOUSLY_QUOTED = 'H';
2444
+ const char OrdType_PREVIOUS_FUND_VALUATION_POINT = 'L';
2445
+ const char OrdType_PEGGED = 'P';
2446
+ const char OrdType_LIMIT_WITH_OR_WITHOUT = '8';
2447
+ const char OrdType_STOP_LIMIT = '4';
2448
+ const char OrdType_FOREX_SWAP = 'G';
2449
+ const char OrdType_MARKET_WITH_LEFT_OVER_AS_LIMIT = 'K';
2450
+ const char OrdType_PREVIOUSLY_QUOTED = 'D';
2451
+ const char OrdType_COUNTER_ORDER_SELECTION = 'Q';
2452
+ const char OrdType_MARKET_IF_TOUCHED = 'J';
2453
+ const char OrdType_NEXT_FUND_VALUATION_POINT = 'M';
2454
+ const char OrdType_FOREX_C = 'C';
2455
+ const char OrdType_ON_CLOSE = 'A';
2456
+ const char OrdType_STOP = '3';
2457
+ const char OrdType_FOREX_LIMIT = 'F';
2458
+ const char OrdType_FOREX = 'G';
2459
+ const char OrdType_FUNARI = 'I';
2460
+ const char OrdType_FOREX_F = 'F';
2461
+ const char OrdType_PREVIOUSLY_INDICATED = 'E';
2462
+ const char OrdType_WITH_OR_WITHOUT = '6';
2463
+ const char OrdType_MARKET_ON_CLOSE = '5';
2464
+ const char OrdType_LIMIT = '2';
2465
+ const char OrdType_MARKET_WITH_LEFTOVER_AS_LIMIT = 'K';
2466
+ const char OrdType_FOREX_G = 'G';
2467
+ const char OrdType_LIMIT_ON_CLOSE = 'B';
2468
+ const char OrdType_FOREX_H = 'H';
2469
+ const char OrdType_ON_BASIS = '9';
2470
+ const char OrdType_LIMIT_OR_BETTER = '7';
2471
+ const char OrdType_MARKET = '1';
2472
+ const char MatchType_COMPARED_RECORDS_RESULTING_FROM_STAMPED_ADVISORIES_OR_SPECIALIST_ACCEPTS_PAIR_OFFS[] = "AQ";
2473
+ const char MatchType_SUMMARIZED_MATCH_USING_A4_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED[] = "S4";
2474
+ const char MatchType_NON_ACT[] = "MT";
2475
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADE_TYPE_AND[] = "A4";
2476
+ const char MatchType_SUMMARIZED_MATCH_USING_A1_TO_A5_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED_S3[] = "S3";
2477
+ const char MatchType_AUTO_MATCH[] = "4";
2478
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADE_TYPE_AND_SPECIAL_TRADE_INDICATOR_PLUS_TWO_BADGES[] = "A4";
2479
+ const char MatchType_SUMMARIZED_MATCH_USING_A2_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED[] = "S2";
2480
+ const char MatchType_SUMMARIZED_MATCH_USING_A1_TO_A5_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED_S4[] = "S4";
2481
+ const char MatchType_CALL_AUCTION[] = "7";
2482
+ const char MatchType_SUMMARIZED_MATCH_USING_A1_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIED[] = "S1";
2483
+ const char MatchType_SUMMARIZED_MATCH_USING_A3_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED[] = "S3";
2484
+ const char MatchType_COMPARED_RECORDS_RESULTING_FROM_STAMPED_ADVISORIES_OR_SPECIALIST[] = "AQ";
2485
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADE_TYPE_AND_SPECIAL_TRADE_INDICATOR_PLUS_FOUR_BADGES[] = "A2";
2486
+ const char MatchType_ACT_M2_MATCH[] = "M2";
2487
+ const char MatchType_SUMMARIZED_MATCH_USING_A1_TO_A5_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED_S5[] = "S5";
2488
+ const char MatchType_ONE_PARTY_TRADE_REPORT[] = "1";
2489
+ const char MatchType_ACT_M1_MATCH[] = "M1";
2490
+ const char MatchType_COUNTER_ORDER_SELECTION[] = "6";
2491
+ const char MatchType_ISSUING_BUY_BACK_AUCTION[] = "8";
2492
+ const char MatchType_TWO_PARTY_PRIVATELY_NEGOTIATED_TRADE_REPORT[] = "61";
2493
+ const char MatchType_CROSS_AUCTION_63[] = "63";
2494
+ const char MatchType_CROSS_AUCTION_5[] = "5";
2495
+ const char MatchType_CALL_AUCTION_7[] = "7";
2496
+ const char MatchType_COUNTER_ORDER_SELECTION_64[] = "64";
2497
+ const char MatchType_TWO_PARTY_TRADE_REPORT[] = "2";
2498
+ const char MatchType_SUMMARIZED_MATCH_MINUS_BADGES_AND_TIMES_ACT_M2_MATCH[] = "M2";
2499
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADE_TYPE_AND_SPECIAL_TRADE_INDICATOR_PLUS_FOUR_BADGES_AND_EXECUTION_TIME[] = "A1";
2500
+ const char MatchType_ACT_DEFAULT_TRADE[] = "M4";
2501
+ const char MatchType_ACT_ACCEPTED_TRADE[] = "M3";
2502
+ const char MatchType_COUNTER_ORDER_SELECTION_6[] = "6";
2503
+ const char MatchType_SUMMARIZED_MATCH_USING_A1_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED[] = "S1";
2504
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADE_TYPE_AND_SPECIAL_TRADE_INDICATOR_PLUS_TWO_BADGES_AND_EXECUTION_TIME[] = "A3";
2505
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADETYPE_AND_SPECIAL_TRADE_INDICATOR_PLUS_EXECUTION_TIME[] = "A5";
2506
+ const char MatchType_CROSS_AUCTION[] = "5";
2507
+ const char MatchType_CALL_AUCTION_65[] = "65";
2508
+ const char MatchType_CONFIRMED_TRADE_REPORT[] = "3";
2509
+ const char MatchType_SUMMARIZED_MATCH_USING_A5_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED[] = "S5";
2510
+ const char MatchType_ACT_M6_MATCH[] = "M6";
2511
+ const char MatchType_ONE_PARTY_PRIVATELY_NEGOTIATED_TRADE_REPORT[] = "60";
2512
+ const char MatchType_CONTINUOUS_AUTO_MATCH[] = "62";
2513
+ const char MatchType_OCS_LOCKED_IN_NON_ACT[] = "MT";
2514
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADE_TYPE_AND_SPECIAL_TRADE_INDICATOR_PLUS_EXECUTION_TIME[] = "A5";
2515
+ const char MatchType_SUMMARIZED_MATCH_USING_A1_TO_A5_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED_S1[] = "S1";
2516
+ const char MatchType_EXACT_MATCH_ON_TRADE_DATE_STOCK_SYMBOL_QUANTITY_PRICE_TRADE_TYPE_AND_SPECIAL_TRADE_INDICATOR_MINUS_BADGES_AND_TIMES_ACT_M1_MATCH[] = "M1";
2517
+ const char MatchType_SUMMARIZED_MATCH_USING_A1_TO_A5_EXACT_MATCH_CRITERIA_EXCEPT_QUANTITY_IS_SUMMARIZED_S2[] = "S2";
2518
+ const char MatchType_ACT_DEFAULT_AFTER_M2[] = "M5";
2519
+ const int OptPayoutType_BINARY = 3;
2520
+ const int OptPayoutType_VANILLA = 1;
2521
+ const int OptPayoutType_CAPPED = 2;
2522
+ const char MarketUpdateAction_DELETE = 'D';
2523
+ const char MarketUpdateAction_ADD = 'A';
2524
+ const char MarketUpdateAction_MODIFY = 'M';
2525
+ const int CollAsgnRejectReason_UNAUTHORIZED_TRANSACTION = 2;
2526
+ const int CollAsgnRejectReason_UNKNOWN_OR_INVALID_INSTRUMENT = 1;
2527
+ const int CollAsgnRejectReason_UNKNOWN_DEAL = 0;
2528
+ const int CollAsgnRejectReason_INVALID_TYPE_OF_COLLATERAL = 4;
2529
+ const int CollAsgnRejectReason_OTHER = 99;
2530
+ const int CollAsgnRejectReason_EXCESSIVE_SUBSTITUTION = 5;
2531
+ const int CollAsgnRejectReason_INSUFFICIENT_COLLATERAL = 3;
2532
+ const int IndividualAllocType_SUB_ALLOCATE = 1;
2533
+ const int IndividualAllocType_THIRD_PARTY_ALLOCATION = 2;
2534
+ const int GTBookingInst_BOOK_OUT_ALL_TRADES_ON_DAY_OF_EXECUTION = 0;
2535
+ const int GTBookingInst_ACCUMULATE_UNTIL_VERBALLY_NOTIFIED_OTHERWISE = 2;
2536
+ const int GTBookingInst_ACCUMULATE_EXECUTIONS_UNTIL_ORDER_IS_FILLED_OR_EXPIRES = 1;
2537
+ const int GTBookingInst_ACCUMULATE_UNTIL_VERBALLLY_NOTIFIED_OTHERWISE = 2;
2538
+ const int GTBookingInst_ACCUMULATE_EXECTUIONS_UNTIL_FORDER_IS_FILLED_OR_EXPIRES = 1;
2539
+ const int PutOrCall_PUT = 0;
2540
+ const int PutOrCall_CALL = 1;
2541
+ const char FundRenewWaiv_NO = 'N';
2542
+ const char FundRenewWaiv_YES = 'Y';
2543
+ const char ForexReq_NO = 'N';
2544
+ const char ForexReq_YES = 'Y';
2545
+ const int TickRuleType_TRADED_AS_A_SPREAD_LEG = 3;
2546
+ const int TickRuleType_REGULAR = 0;
2547
+ const int TickRuleType_VARIABLE = 1;
2548
+ const int TickRuleType_SETTLED_AS_A_SPREAD_LEG = 4;
2549
+ const int TickRuleType_FIXED = 2;
2550
+ const int DiscretionOffsetType_PRICE = 0;
2551
+ const int DiscretionOffsetType_PRICE_TIER = 3;
2552
+ const int DiscretionOffsetType_TICKS = 2;
2553
+ const int DiscretionOffsetType_BASIS_POINTS = 1;
2554
+ const int ConfirmTransType_REPLACE = 1;
2555
+ const int ConfirmTransType_NEW = 0;
2556
+ const int ConfirmTransType_CANCEL = 2;
2557
+ const int MDSecSizeType_CUSTOMER = 1;
2558
+ const int TradSesEvent_CHANGE_OF_TRADING_STATUS = 3;
2559
+ const int TradSesEvent_CHANGE_OF_TRADING_SESSION = 1;
2560
+ const int TradSesEvent_CHANGE_OF_TRADING_SUBSESSION = 2;
2561
+ const int TradSesEvent_TRADING_RESUMES = 0;
2562
+ const char DlvyInstType_SECURITIES = 'S';
2563
+ const char DlvyInstType_CASH = 'C';
2564
+ const char TradeCondition_IMPLIED_TRADE[] = "1";
2565
+ const char TradeCondition_OPENING_PRICE[] = "R";
2566
+ const char TradeCondition_PRIOR_REFERENCE_PRICE[] = "AK";
2567
+ const char TradeCondition_CANCEL_LAST_ETH[] = "l";
2568
+ const char TradeCondition_SELLER[] = "L";
2569
+ const char TradeCondition_DISTRIBUTION[] = "e";
2570
+ const char TradeCondition_NEXT_DAY_TRADE[] = "J";
2571
+ const char TradeCondition_STRADDLE_ETH[] = "AD";
2572
+ const char TradeCondition_SPREAD[] = "AA";
2573
+ const char TradeCondition_CROSSED_AO[] = "AO";
2574
+ const char TradeCondition_SOLD_LAST_SALE[] = "o";
2575
+ const char TradeCondition_OPENED_SALE_ETH[] = "r";
2576
+ const char TradeCondition_REOPEN_ETH[] = "x";
2577
+ const char TradeCondition_SOLD_LAST_SALE_ETH[] = "m";
2578
+ const char TradeCondition_STOPPED_SOLD_LAST[] = "AL";
2579
+ const char TradeCondition_TRADES_RESULTING_FROM_INTERMARKET_SWEEP[] = "Z";
2580
+ const char TradeCondition_FORM_T[] = "AR";
2581
+ const char TradeCondition_ADJUSTED[] = "y";
2582
+ const char TradeCondition_CANCEL_ETH[] = "i";
2583
+ const char TradeCondition_OUT_OF_SEQUENCE_ETH[] = "k";
2584
+ const char TradeCondition_COMBO_ETH[] = "AI";
2585
+ const char TradeCondition_CANCEL_ONLY_ETH[] = "t";
2586
+ const char TradeCondition_STRADDLE[] = "AC";
2587
+ const char TradeCondition_OUTSIDE_SPREAD[] = "AV";
2588
+ const char TradeCondition_BUNCHED_SALE[] = "f";
2589
+ const char TradeCondition_CANCEL_STOPPED[] = "h";
2590
+ const char TradeCondition_LATE_OPEN_ETH[] = "u";
2591
+ const char TradeCondition_OPENING_REOPENING_TRADE_DETAIL[] = "E";
2592
+ const char TradeCondition_CANCEL[] = "0";
2593
+ const char TradeCondition_COMBO[] = "AH";
2594
+ const char TradeCondition_OPENING[] = "E";
2595
+ const char TradeCondition_ACQUISITION[] = "c";
2596
+ const char TradeCondition_OPENED[] = "K";
2597
+ const char TradeCondition_CANCEL_ONLY[] = "s";
2598
+ const char TradeCondition_NEXT_DAY[] = "D";
2599
+ const char TradeCondition_BARGAIN_CONDITION[] = "S";
2600
+ const char TradeCondition_STOPPED[] = "AE";
2601
+ const char TradeCondition_CONVERTED_PRICE_INDICATOR[] = "T";
2602
+ const char TradeCondition_OFFICIAL_CLOSING_PRICE[] = "AJ";
2603
+ const char TradeCondition_ADJUSTED_ETH[] = "z";
2604
+ const char TradeCondition_RULE_155_TRADE[] = "H";
2605
+ const char TradeCondition_AUTOMATIC_EXECUTION[] = "AQ";
2606
+ const char TradeCondition_CROSSED_X[] = "X";
2607
+ const char TradeCondition_AUTO_EXECUTION_ETH[] = "v";
2608
+ const char TradeCondition_MULTILEG_TO_MULTILEG_TRADE[] = "4";
2609
+ const char TradeCondition_BASKET_INDEX[] = "AS";
2610
+ const char TradeCondition_TRADES_RESULTING_FROM_MANUAL_SLOW_QUOTE[] = "Y";
2611
+ const char TradeCondition_FINAL_PRICE_OF_SESSION[] = "V";
2612
+ const char TradeCondition_STOPPED_STOCK[] = "N";
2613
+ const char TradeCondition_OFFICAL_CLOSING_PRICE[] = "AN";
2614
+ const char TradeCondition_MULT_ASSET_CLASS_MULTILEG_TRADE[] = "3";
2615
+ const char TradeCondition_CASH[] = "A";
2616
+ const char TradeCondition_CANCEL_OPEN[] = "p";
2617
+ const char TradeCondition_REGULAR_ETH[] = "AG";
2618
+ const char TradeCondition_STOPPED_ETH[] = "AF";
2619
+ const char TradeCondition_VOLUME_ONLY[] = "a";
2620
+ const char TradeCondition_CANCEL_STOPPED_ETH[] = "j";
2621
+ const char TradeCondition_STOPPED_OUT_OF_SEQUENCE[] = "AM";
2622
+ const char TradeCondition_CASH_TRADE[] = "C";
2623
+ const char TradeCondition_SPLIT_TRADE[] = "g";
2624
+ const char TradeCondition_IMBALANCE_MORE_BUYERS[] = "P";
2625
+ const char TradeCondition_IMBALANCE_MORE_SELLERS[] = "Q";
2626
+ const char TradeCondition_INTRADAY_TRADE_DETAIL[] = "F";
2627
+ const char TradeCondition_RULE_127_TRADE[] = "G";
2628
+ const char TradeCondition_BUNCHED[] = "d";
2629
+ const char TradeCondition_REOPEN[] = "w";
2630
+ const char TradeCondition_EX_PIT[] = "W";
2631
+ const char TradeCondition_DIRECT_PLUS[] = "b";
2632
+ const char TradeCondition_CANCEL_LAST[] = "n";
2633
+ const char TradeCondition_AVERAGE_PRICE_TRADE[] = "B";
2634
+ const char TradeCondition_SOLD_LAST[] = "I";
2635
+ const char TradeCondition_MARKETPLACE_ENTERED_TRADE[] = "2";
2636
+ const char TradeCondition_SPREAD_ETH[] = "AB";
2637
+ const char TradeCondition_CANCEL_OPEN_ETH[] = "q";
2638
+ const char TradeCondition_EXCHANGE_LAST[] = "U";
2639
+ const char TradeCondition_FAST_MARKET[] = "AP";
2640
+ const char TradeCondition_BURST_BASKET[] = "AT";
2641
+ const char TradeCondition_SOLD[] = "M";
2642
+ const int PriceLimitType_PRICE = 0;
2643
+ const int PriceLimitType_TICKS = 1;
2644
+ const int PriceLimitType_PERCENTAGE = 2;
2645
+ const char CommType_PER_SHARE = '1';
2646
+ const char CommType_POINTS_PER_BOND_OR_CONTRACT_SUPPLY_CONTRACTMULTIPLIER = '6';
2647
+ const char CommType_ABSOLUTE = '3';
2648
+ const char CommType_PER_BOND = '6';
2649
+ const char CommType_PERCENTAGE = '2';
2650
+ const char CommType_PERCENTAGE_WAIVED_4 = '4';
2651
+ const char CommType_POINTS_PER_BOND_OR_CONTRACT = '6';
2652
+ const char CommType_PERCENTAGE_WAIVED_5 = '5';
2653
+ const char CommType_PER_UNIT = '1';
2654
+ const char CommType_PERCENT = '2';
2655
+ const char CommType_4 = '4';
2656
+ const char CommType_5 = '5';
2657
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_NO_DISTRIB_INSTNS = 13;
2658
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_MAILING_DTLS = 7;
2659
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_NO_REG_DETAILS = 4;
2660
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_MAILING_INSTRUCTIONS = 8;
2661
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_TAX_EXEMPT_TYPE = 2;
2662
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_CASH_DISTRIB_AGENT_ACCT_NAME = 16;
2663
+ const int RegistRejReasonCode_INVALID_UNACEEPTABLE_INVESTOR_ID_SOURCE = 10;
2664
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_INVESTOR_ID_SOURCE = 10;
2665
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_DATE_OF_BIRTH = 11;
2666
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_MAILING_INST = 8;
2667
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_NO_REG_DETLS = 4;
2668
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_DISTRIB_PAYMENT_METHOD = 15;
2669
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_CASH_DISTRIB_AGENT_CODE = 17;
2670
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_REG_DETAILS = 6;
2671
+ const int RegistRejReasonCode_OTHER = 99;
2672
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_REG_DTLS = 6;
2673
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_ACCOUNT_TYPE = 1;
2674
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_MAILING_DETAILS = 7;
2675
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_INVESTOR_COUNTRY_OF_RESIDENCE = 12;
2676
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_DISTRIB_PERCENTAGE = 14;
2677
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_CASH_DISTRIB_AGENT_ACCT_NUM = 18;
2678
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_REG_SEQ_NO = 5;
2679
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_INVESTOR_ID = 9;
2680
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_OWNERSHIP_TYPE = 3;
2681
+ const int RegistRejReasonCode_INVALID_UNACCEPTABLE_NODISTRIBINSTNS = 13;
2682
+ const char FinancialStatus_BANKRUPT = '1';
2683
+ const char FinancialStatus_RESTRICTED = '3';
2684
+ const char FinancialStatus_PENDING_DELISTING = '2';
2685
+ const char LastFragment_NO = 'N';
2686
+ const char LastFragment_YES = 'Y';
2687
+ const char NotifyBrokerOfCredit_NO = 'N';
2688
+ const char NotifyBrokerOfCredit_YES = 'Y';
2689
+ const int PartySubIDType_DEPARTMENT = 24;
2690
+ const int PartySubIDType_FAX_NUMBER = 21;
2691
+ const int PartySubIDType_CASH_ACCOUNT_NUMBER = 15;
2692
+ const int PartySubIDType_REGISTERED_ADDRESS_12 = 12;
2693
+ const int PartySubIDType_CONTACT_NAME = 9;
2694
+ const int PartySubIDType_PERSON = 2;
2695
+ const int PartySubIDType_FIRM = 1;
2696
+ const int PartySubIDType_SECURITY_LOCATE_ID = 27;
2697
+ const int PartySubIDType_POSITION_ACCOUNT_TYPE = 26;
2698
+ const int PartySubIDType_CASH_ACCOUNT_NAME = 23;
2699
+ const int PartySubIDType_POSTAL_ADDRESS = 6;
2700
+ const int PartySubIDType_PROFESSIONAL_CLIENT = 30;
2701
+ const int PartySubIDType_LOCATION = 31;
2702
+ const int PartySubIDType_FUND_ACCOUNT_NAME = 19;
2703
+ const int PartySubIDType_REGISTRATION_NUMBER = 11;
2704
+ const int PartySubIDType_SYSTEM = 3;
2705
+ const int PartySubIDType_CSD_PARTICIPANT_MEMBER_CODE = 17;
2706
+ const int PartySubIDType_REGULATORY_STATUS = 13;
2707
+ const int PartySubIDType_CURRENCY_DELIVERY_IDENTIFIER = 33;
2708
+ const int PartySubIDType_TELEX_NUMBER = 20;
2709
+ const int PartySubIDType_REGISTERED_ADDRESS_18 = 18;
2710
+ const int PartySubIDType_BIC = 16;
2711
+ const int PartySubIDType_REGISTRATION_NAME = 14;
2712
+ const int PartySubIDType_EMAIL_ADDRESS = 8;
2713
+ const int PartySubIDType_LOCATION_DESK = 25;
2714
+ const int PartySubIDType_APPLICATION = 4;
2715
+ const int PartySubIDType_SECURITIES_ACCOUNT_NAME = 22;
2716
+ const int PartySubIDType_PHONE_NUMBER = 7;
2717
+ const int PartySubIDType_ELIGIBLE_COUNTERPARTY = 29;
2718
+ const int PartySubIDType_MARKET_MAKER = 28;
2719
+ const int PartySubIDType_EXECUTION_VENUE = 32;
2720
+ const int PartySubIDType_SECURITIES_ACCOUNT_NUMBER = 10;
2721
+ const int PartySubIDType_FULL_LEGAL_NAME_OF_FIRM = 5;
2722
+ const int AllocNoOrdersType_EXPLICIT_LIST_PROVIDED = 1;
2723
+ const int AllocNoOrdersType_NOT_SPECIFIED = 0;
2724
+ const int AllocLinkType_FX_SWAP = 1;
2725
+ const int AllocLinkType_F_X_NETTING = 0;
2726
+ const int AllocLinkType_FX_NETTING = 0;
2727
+ const int AllocLinkType_F_X_SWAP = 1;
2728
+ const int UnderlyingSettlementType_T_PLUS_1 = 2;
2729
+ const int UnderlyingSettlementType_T_PLUS_3 = 4;
2730
+ const int UnderlyingSettlementType_T_PLUS_4 = 5;
2731
+ const char DisplayMethod_NEW = '2';
2732
+ const char DisplayMethod_UNDISCLOSED = '4';
2733
+ const char DisplayMethod_RANDOM = '3';
2734
+ const char DisplayMethod_INITIAL = '1';
2735
+ const int CollStatus_PARTIALLY_ASSIGNED = 1;
2736
+ const int CollStatus_ASSIGNMENT_PROPOSED = 2;
2737
+ const int CollStatus_CHALLENGED = 4;
2738
+ const int CollStatus_ASSIGNED = 3;
2739
+ const int CollStatus_UNASSIGNED = 0;
2740
+ const int SideValueInd_SIDEVALUE_2 = 2;
2741
+ const int SideValueInd_SIDEVALUE1 = 1;
2742
+ const int SideValueInd_SIDE_VALUE_1 = 1;
2743
+ const int SideValueInd_SIDE_VALUE_2 = 2;
2744
+ const char MsgDirection_RECEIVE = 'R';
2745
+ const char MsgDirection_SEND = 'S';
2746
+ const char MDUpdateAction_DELETE = '2';
2747
+ const char MDUpdateAction_NEW = '0';
2748
+ const char MDUpdateAction_DELETE_THRU = '3';
2749
+ const char MDUpdateAction_DELETE_FROM = '4';
2750
+ const char MDUpdateAction_OVERLAY = '5';
2751
+ const char MDUpdateAction_CHANGE = '1';
2752
+ const char MatchStatus_UNCOMPARED_UNMATCHED_OR_UNAFFIRED = '1';
2753
+ const char MatchStatus_COMPARED_MATCHED_OR_AFFIRMED = '0';
2754
+ const char MatchStatus_ADVISORY_OR_ALERT = '2';
2755
+ const char MatchStatus_UNCOMPARED_UNMATCHED_OR_UNAFFIRMED = '1';
2756
+ const int RateSource_REUTERS = 1;
2757
+ const int RateSource_OTHER = 99;
2758
+ const int RateSource_BLOOMBERG = 0;
2759
+ const int RateSource_TELERATE = 2;
2760
+ const char AllocPositionEffect_CLOSE = 'C';
2761
+ const char AllocPositionEffect_FIFO = 'F';
2762
+ const char AllocPositionEffect_OPEN = 'O';
2763
+ const char AllocPositionEffect_ROLLED = 'R';
2764
+ const char PartyIDSource_US_EMPLOYER_OR_TAX_ID_NUMBER = '8';
2765
+ const char PartyIDSource_PROPRIETARY = 'D';
2766
+ const char PartyIDSource_AUSTRALIAN_TAX_FILE_NUMBER = 'A';
2767
+ const char PartyIDSource_GENERALLY_ACCEPTED_MARKET_PARTICIPANT_IDENTIFIER = 'C';
2768
+ const char PartyIDSource_AUSTRALIAN_BUSINESS_NUMBER = '9';
2769
+ const char PartyIDSource_US_EMPLOYER_IDENTIFICATION_NUMBER = '8';
2770
+ const char PartyIDSource_TAIWANESE_TRADING_ACCOUNT = '3';
2771
+ const char PartyIDSource_TAIWANESE_TRADING_ACCT = '3';
2772
+ const char PartyIDSource_MALAYSIAN_CENTRAL_DEPOSITORY = '4';
2773
+ const char PartyIDSource_US_SOCIAL_SECURITY_NUMBER = '7';
2774
+ const char PartyIDSource_UK_NATIONAL_INSURANCE_OR_PENSION_NUMBER = '6';
2775
+ const char PartyIDSource_CSD_PARTICIPANT_MEMBER_CODE = 'H';
2776
+ const char PartyIDSource_DIRECTED_BROKER_THREE_CHARACTER_ACRONYM_AS_DEFINED_IN_ISITC_ETC_BEST_PRACTICE_GUIDELINES_DOCUMENT = 'I';
2777
+ const char PartyIDSource_TAIWANESE_QUALIFIED_FOREIGN_INVESTOR_ID_QFII = '2';
2778
+ const char PartyIDSource_SETTLEMENT_ENTITY_LOCATION = 'F';
2779
+ const char PartyIDSource_PROPRIETARY_CUSTOM_CODE = 'D';
2780
+ const char PartyIDSource_BIC = 'B';
2781
+ const char PartyIDSource_CHINESE_INVESTOR_ID = '5';
2782
+ const char PartyIDSource_MIC = 'G';
2783
+ const char PartyIDSource_KOREAN_INVESTOR_ID = '1';
2784
+ const char PartyIDSource_ISO_COUNTRY_CODE = 'E';
2785
+ const char PartyIDSource_TAIWANESE_QUALIFIED_FOREIGN_INVESTOR_ID_QFII_FID = '2';
2786
+ const char PartyIDSource_CHINESE_B_SHARE = '5';
2787
+ const char ExchangeForPhysical_NO = 'N';
2788
+ const char ExchangeForPhysical_YES = 'Y';
2789
+ const int SecurityTradingEvent_CHANGE_OF_SECURITY_TRADING_STATUS = 6;
2790
+ const int SecurityTradingEvent_CHANGE_OF_TRADING_SESSION = 4;
2791
+ const int SecurityTradingEvent_CHANGE_OF_SECURITY_STATUS = 6;
2792
+ const int SecurityTradingEvent_PRICE_VOLATILITY_INTERRUPTION = 3;
2793
+ const int SecurityTradingEvent_CHANGE_OF_BOOK_TYPE = 7;
2794
+ const int SecurityTradingEvent_CHANGE_OF_TRADING_SUBSESSION = 5;
2795
+ const int SecurityTradingEvent_CHANGE_OF_MARKET_DEPTH = 8;
2796
+ const int SecurityTradingEvent_TRADING_RESUMES = 2;
2797
+ const int SecurityTradingEvent_ORDER_IMBALANCE_AUCTION_IS_EXTENDED = 1;
2798
+ const int CollAction_ADD = 1;
2799
+ const int CollAction_REMOVE = 2;
2800
+ const int CollAction_RETAIN = 0;
2801
+ const char PossDupFlag_NO = 'N';
2802
+ const char PossDupFlag_YES = 'Y';
2803
+ const int ListStatusType_ALL_DONE = 5;
2804
+ const int ListStatusType_TIMED = 3;
2805
+ const int ListStatusType_EXECSTARTED = 4;
2806
+ const int ListStatusType_RESPONSE = 2;
2807
+ const int ListStatusType_ALLDONE = 5;
2808
+ const int ListStatusType_ALERT = 6;
2809
+ const int ListStatusType_ACK = 1;
2810
+ const int ListStatusType_EXEC_STARTED = 4;
2811
+ const char GapFillFlag_NO = 'N';
2812
+ const char GapFillFlag_YES = 'Y';
2813
+ const char TradeHandlingInstr_AUTOMATED_FLOOR_ORDER_ROUTING = '4';
2814
+ const char TradeHandlingInstr_TWO_PARTY_REPORT = '1';
2815
+ const char TradeHandlingInstr_ONE_PARTY_REPORT_FOR_MATCHING = '2';
2816
+ const char TradeHandlingInstr_TRADE_CONFIRMATION = '0';
2817
+ const char TradeHandlingInstr_ONE_PARTY_REPORT_FOR_PASS_THROUGH = '3';
2818
+ const char TradeHandlingInstr_TWO_PARTY_REPORT_FOR_CLAIM = '5';
2819
+ const int TradSesMethod_ELECTRONIC = 1;
2820
+ const int TradSesMethod_TWO_PARTY = 3;
2821
+ const int TradSesMethod_OPEN_OUTCRY = 2;
2822
+ const char TradeType_AGENCY = 'A';
2823
+ const char TradeType_VWAP_GUARANTEE = 'G';
2824
+ const char TradeType_RISK_TRADE = 'R';
2825
+ const char TradeType_GUARANTEED_CLOSE = 'J';
2826
+ const int ComplexEventCondition_AND = 1;
2827
+ const int ComplexEventCondition_OR = 2;
2828
+ const char BenchmarkCurveName_SONIA[] = "SONIA";
2829
+ const char BenchmarkCurveName_MUNIAAA[] = "MuniAAA";
2830
+ const char BenchmarkCurveName_LIBID[] = "LIBID";
2831
+ const char BenchmarkCurveName_PFANDBRIEFE[] = "Pfandbriefe";
2832
+ const char BenchmarkCurveName_EUREPO[] = "EUREPO";
2833
+ const char BenchmarkCurveName_FUTURESWAP[] = "FutureSWAP";
2834
+ const char BenchmarkCurveName_TREASURY[] = "Treasury";
2835
+ const char BenchmarkCurveName_OTHER[] = "OTHER";
2836
+ const char BenchmarkCurveName_EURIBOR[] = "Euribor";
2837
+ const char BenchmarkCurveName_EONIA[] = "EONIA";
2838
+ const char BenchmarkCurveName_LIBOR[] = "LIBOR";
2839
+ const char BenchmarkCurveName_SWAP[] = "SWAP";
2840
+ const char CashMargin_MARGIN_CLOSE = '3';
2841
+ const char CashMargin_MARGIN_OPEN = '2';
2842
+ const char CashMargin_CASH = '1';
2843
+ const char SettlObligTransType_REPLACE = 'R';
2844
+ const char SettlObligTransType_NEW = 'N';
2845
+ const char SettlObligTransType_RESTATE = 'T';
2846
+ const char SettlObligTransType_CANCEL = 'C';
2847
+ const char DeskOrderHandlingInst_PEGGED[] = "PEG";
2848
+ const char DeskOrderHandlingInst_MARKET_ON_OPEN[] = "MOO";
2849
+ const char DeskOrderHandlingInst_SCALE[] = "SCL";
2850
+ const char DeskOrderHandlingInst_FILL_OR_KILL[] = "FOK";
2851
+ const char DeskOrderHandlingInst_ALL_OR_NONE[] = "AON";
2852
+ const char DeskOrderHandlingInst_NOT_HELD[] = "NH";
2853
+ const char DeskOrderHandlingInst_DIRECTED_ORDER[] = "DIR";
2854
+ const char DeskOrderHandlingInst_STOP_STOCK_TRANSACTION[] = "S.W";
2855
+ const char DeskOrderHandlingInst_OVER_THE_DAY[] = "OVD";
2856
+ const char DeskOrderHandlingInst_ADD_ON_ORDER[] = "ADD";
2857
+ const char DeskOrderHandlingInst_MARKET_AT_CLOSE[] = "MAC";
2858
+ const char DeskOrderHandlingInst_LIMIT_ON_OPEN[] = "LOO";
2859
+ const char DeskOrderHandlingInst_CASH_NOT_HELD[] = "CNH";
2860
+ const char DeskOrderHandlingInst_MARKET_ON_CLOSE[] = "MOC";
2861
+ const char DeskOrderHandlingInst_TIME_ORDER[] = "TMO";
2862
+ const char DeskOrderHandlingInst_LIMIT_ON_CLOSE[] = "LOC";
2863
+ const char DeskOrderHandlingInst_IMMEDIATE_OR_CANCEL[] = "IOC";
2864
+ const char DeskOrderHandlingInst_TRAILING_STOP[] = "TS";
2865
+ const char DeskOrderHandlingInst_WORK[] = "WRK";
2866
+ const char DeskOrderHandlingInst_RESERVE_SIZE_ORDER[] = "RSV";
2867
+ const char DeskOrderHandlingInst_MINIMUM_QUANTITY[] = "MQT";
2868
+ const char DeskOrderHandlingInst_MARKET_AT_OPEN[] = "MAO";
2869
+ const char DeskOrderHandlingInst_IMBALANCE_ONLY[] = "IO";
2870
+ const char DeskOrderHandlingInst_EXCHANGE_FOR_PHYSICAL_TRANSACTION[] = "E.W";
2871
+ const int PosTransType_POSITION_CHANGE_SUBMISSION_MARGIN_DISPOSITION = 4;
2872
+ const int PosTransType_DO_NOT_EXERCISE = 2;
2873
+ const int PosTransType_LARGE_TRADER_SUBMISSION = 6;
2874
+ const int PosTransType_EXERCISE = 1;
2875
+ const int PosTransType_PLEDGE = 5;
2876
+ const int PosTransType_POSITION_ADJUSTMENT = 3;
2877
+ const char Seniority_SUBORDINATED[] = "SB";
2878
+ const char Seniority_SENIOR_SECURED[] = "SD";
2879
+ const char Seniority_SENIOR[] = "SR";
2880
+ const char SettlCurrFxRateCalc_DIVIDE = 'D';
2881
+ const char SettlCurrFxRateCalc_MULTIPLY = 'M';
2882
+ const int PosMaintStatus_COMPLETED = 3;
2883
+ const int PosMaintStatus_ACCEPTED_WITH_WARNINGS = 1;
2884
+ const int PosMaintStatus_REJECTED = 2;
2885
+ const int PosMaintStatus_ACCEPTED = 0;
2886
+ const int PosMaintStatus_COMPLETED_WITH_WARNINGS = 4;
2887
+ const char Benchmark_6_MO_LIBOR = '9';
2888
+ const char Benchmark_OLD_5 = '3';
2889
+ const char Benchmark_OLD_30 = '7';
2890
+ const char Benchmark_3_MO_LIBOR = '8';
2891
+ const char Benchmark_OLD_10 = '5';
2892
+ const char Benchmark_CURVE = '1';
2893
+ const char Benchmark_30_YR = '6';
2894
+ const char Benchmark_10_YR = '4';
2895
+ const char Benchmark_5_YR = '2';
2896
+ const int MaturityMonthYearFormat_YEARMONTHWEEK = 2;
2897
+ const int MaturityMonthYearFormat_YEARMONTHDAY = 1;
2898
+ const int MaturityMonthYearFormat_YEARMONTH_ONLY = 0;
2899
+ const char LegalConfirm_NO = 'N';
2900
+ const char LegalConfirm_YES = 'Y';
2901
+ const int ApplReportType_REPORTS_THAT_THE_LAST_MESSAGE_HAS_BEEN_SENT_FOR_THE_APPLIDS_REFER_TO_REFAPPLLASTSEQNUM = 1;
2902
+ const int ApplReportType_APPLICATION_MESSAGE_RE_SEND_COMPLETED = 3;
2903
+ const int ApplReportType_RESET_APPLSEQNUM_TO_NEW_VALUE_SPECIFIED_IN_APPLNEWSEQNUM = 0;
2904
+ const int ApplReportType_HEARTBEAT_MESSAGE_INDICATING_THAT_APPLICATION_IDENTIFIED_BY_REFAPPLID = 2;
2905
+ const char ReportToExch_NO = 'N';
2906
+ const char ReportToExch_YES = 'Y';
2907
+ const int AllocRejCode_INCORRECT_ALLOCATED_QUANTITY = 8;
2908
+ const int AllocRejCode_UNKNOWN_ORDERID = 5;
2909
+ const int AllocRejCode_INCORRECT_AVERAGEG_PRICE = 2;
2910
+ const int AllocRejCode_WAREHOUSE_REQUEST_REJECTED = 13;
2911
+ const int AllocRejCode_OTHER_99 = 99;
2912
+ const int AllocRejCode_UNKNOWN_LISTID = 6;
2913
+ const int AllocRejCode_INCORRECT_QUANTITY = 1;
2914
+ const int AllocRejCode_INCORRECT_AVERAGE_PRICE = 2;
2915
+ const int AllocRejCode_UNKNOWN_ACCOUNT = 0;
2916
+ const int AllocRejCode_UNKNOWN_OR_STALE_EXECID = 10;
2917
+ const int AllocRejCode_MISMATCHED_DATA_VALUE = 11;
2918
+ const int AllocRejCode_OTHER = 7;
2919
+ const int AllocRejCode_OTHER_7 = 7;
2920
+ const int AllocRejCode_UNKNOWN_CLORDID = 12;
2921
+ const int AllocRejCode_MISMATCHED_DATA = 11;
2922
+ const int AllocRejCode_CALCULATION_DIFFERENCE = 9;
2923
+ const int AllocRejCode_COMMISSION_DIFFERENCE = 4;
2924
+ const int AllocRejCode_UNKNOWN_EXECUTING_BROKER_MNEMONIC = 3;
2925
+ const int RefOrdIDReason_GTC_FROM_PREVIOUS_DAY = 0;
2926
+ const int RefOrdIDReason_PARTIAL_FILL_REMAINING = 1;
2927
+ const int RefOrdIDReason_ORDER_CHANGED = 2;
2928
+ const char RefOrderIDSource_SECONDARYORDERID = '0';
2929
+ const char RefOrderIDSource_ORDERID = '1';
2930
+ const char RefOrderIDSource_MDENTRYID = '2';
2931
+ const char RefOrderIDSource_ORIGINAL_ORDER_ID = '4';
2932
+ const char RefOrderIDSource_MENTRYID = '2';
2933
+ const char RefOrderIDSource_QUOTEENTRYID = '3';
2934
+ const char RefOrderIDSource_QUOTENTRYID = '3';
2935
+ const char RefOrderIDSource_ORDEID = '1';
2936
+ const char RefOrderIDSource_SECONDARYORDEID = '0';
2937
+ const char LastCapacity_CROSS_AS_PRINCIPAL = '3';
2938
+ const char LastCapacity_PRINCIPAL = '4';
2939
+ const char LastCapacity_CROSS_AS_AGENT = '2';
2940
+ const char LastCapacity_AGENT = '1';
2941
+ const int InstrAttribType_INSTRUMENT_STRIKE_PRICE = 28;
2942
+ const int InstrAttribType_IN_DEFAULT = 15;
2943
+ const int InstrAttribType_PRE_REFUNDED = 14;
2944
+ const int InstrAttribType_SUBJECT_TO_ALTERNATIVE_MINIMUM_TAX = 19;
2945
+ const int InstrAttribType_ORIGINAL_ISSUE_DISCOUNT = 10;
2946
+ const int InstrAttribType_UNRATED = 16;
2947
+ const int InstrAttribType_WHEN_AND_IF_ISSUED = 9;
2948
+ const int InstrAttribType_CALLABLE_WITHOUT_NOTICE_BY_MAIL_TO_HOLDER_UNLESS_REGISTERED = 22;
2949
+ const int InstrAttribType_ESCROWED_TO_REDEMPTION_DATE_CALLABLE_SUPPLY_REDEMPTION_DATE_IN_THE_INSTRATTRIBVALUE = 13;
2950
+ const int InstrAttribType_STEPPED_COUPON = 7;
2951
+ const int InstrAttribType_INSTRUMENT_DENOMINATOR = 25;
2952
+ const int InstrAttribType_ESCROWED_TO_REDEMPTION_DATE = 13;
2953
+ const int InstrAttribType_TAXABLE = 17;
2954
+ const int InstrAttribType_INTEREST_BEARING = 3;
2955
+ const int InstrAttribType_CALLABLE_BELOW_MATURITY_VALUE = 21;
2956
+ const int InstrAttribType_PREREFUNDED = 14;
2957
+ const int InstrAttribType_CALLABLE_PUTTABLE = 11;
2958
+ const int InstrAttribType_COUPON_PERIOD = 8;
2959
+ const int InstrAttribType_INSTRUMENT_PRICE_PRECISION = 27;
2960
+ const int InstrAttribType_TRADEABLE_INDICATOR = 29;
2961
+ const int InstrAttribType_ORIGINAL_ISSUE_DISCOUNT_PRICE_SUPPLY_PRICE_IN_THE_INSTRATTRIBVALUE = 20;
2962
+ const int InstrAttribType_VARIABLE_RATE = 5;
2963
+ const int InstrAttribType_FLAT = 1;
2964
+ const int InstrAttribType_TRADE_TYPE_ELIGIBILITY_DETAILS_FOR_SECURITY = 24;
2965
+ const int InstrAttribType_INSTRUMENT_NUMERATOR = 26;
2966
+ const int InstrAttribType_TEXT_SUPPLY_THE_TEXT_OF_THE_ATTRIBUTE_OR_DISCLAIMER_IN_THE_INSTRATTRIBVALUE = 99;
2967
+ const int InstrAttribType_INDEXED = 18;
2968
+ const int InstrAttribType_ESCROWED_TO_MATURITY = 12;
2969
+ const int InstrAttribType_LESS_FEE_FOR_PUT = 6;
2970
+ const int InstrAttribType_ZERO_COUPON = 2;
2971
+ const int InstrAttribType_PRICE_TICK_RULES_FOR_SECURITY = 23;
2972
+ const int InstrAttribType_NO_PERIODIC_PAYMENTS = 4;
2973
+ const int Product_FINANCING = 13;
2974
+ const int Product_COMMODITY = 2;
2975
+ const int Product_EQUITY = 5;
2976
+ const int Product_CORPORATE = 3;
2977
+ const int Product_AGENCY = 1;
2978
+ const int Product_OTHER = 12;
2979
+ const int Product_MONEYMARKET = 9;
2980
+ const int Product_MORTGAGE = 10;
2981
+ const int Product_CURRENCY = 4;
2982
+ const int Product_INDEX = 7;
2983
+ const int Product_MUNICIPAL = 11;
2984
+ const int Product_LOAN = 8;
2985
+ const int Product_GOVERNMENT = 6;
2986
+ const int SecurityTradingStatus_FAST_MARKET = 23;
2987
+ const int SecurityTradingStatus_NO_OPEN_NO_RESUME = 4;
2988
+ const int SecurityTradingStatus_TRADING_HALT = 2;
2989
+ const int SecurityTradingStatus_NOT_AVAILABLE_FOR_TRADING = 18;
2990
+ const int SecurityTradingStatus_NO_OPEN = 4;
2991
+ const int SecurityTradingStatus_CROSS = 25;
2992
+ const int SecurityTradingStatus_RESUME = 3;
2993
+ const int SecurityTradingStatus_TRADE_DISSEMINATION_TIME = 16;
2994
+ const int SecurityTradingStatus_NO_MARKET_ON_CLOSE_IMBALANCE = 13;
2995
+ const int SecurityTradingStatus_POST_CLOSE = 26;
2996
+ const int SecurityTradingStatus_MARKET_ON_CLOSE_IMBALANCE_BUY = 9;
2997
+ const int SecurityTradingStatus_MARKET_IMBALANCE_SELL = 8;
2998
+ const int SecurityTradingStatus_OPENING_DELAY = 1;
2999
+ const int SecurityTradingStatus_NOT_TRADED_ON_THIS_MARKET = 19;
3000
+ const int SecurityTradingStatus_ITS_PRE_OPENING = 14;
3001
+ const int SecurityTradingStatus_PRE_CROSS = 24;
3002
+ const int SecurityTradingStatus_PRE_OPEN = 21;
3003
+ const int SecurityTradingStatus_MARKET_IMBALANCE_BUY = 7;
3004
+ const int SecurityTradingStatus_TRADING_RANGE_INDICATION = 6;
3005
+ const int SecurityTradingStatus_READY_TO_TRADE = 17;
3006
+ const int SecurityTradingStatus_NEW_PRICE_INDICATION = 15;
3007
+ const int SecurityTradingStatus_OPENING_ROTATION = 22;
3008
+ const int SecurityTradingStatus_PRICE_INDICATION = 5;
3009
+ const int SecurityTradingStatus_UNKNOWN_OR_INVALID = 20;
3010
+ const int SecurityTradingStatus_MARKET_ON_CLOSE_IMBALANCE_SELL = 10;
3011
+ const int SecurityTradingStatus_NO_MARKET_IMBALANCE = 12;
3012
+ const char Rule80A_TRANSACTIONS_FOR_THE_ACCOUNT_OF_A_NON_MEMBER_COMPETING_MARKET_MAKER = 'R';
3013
+ const char Rule80A_SPECIALIST_TRADES = 'S';
3014
+ const char Rule80A_PROGRAM_ORDER_INDEX_ARB_FOR_INDIVIDUAL_CUSTOMER = 'J';
3015
+ const char Rule80A_PROGRAM_ORDER_INDEX_ARB_FOR_MEMBER_FIRM_ORG = 'D';
3016
+ const char Rule80A_SHORT_EXEMPT_TRANSACTION_F = 'F';
3017
+ const char Rule80A_COMPETING_DEALER_TRADES_O = 'O';
3018
+ const char Rule80A_PROGRAM_ORDER_NON_INDEX_ARB_FOR_INDIVIDUAL_CUSTOMER = 'K';
3019
+ const char Rule80A_SHORT_EXEMPT_TRANSACTION_H = 'H';
3020
+ const char Rule80A_PRINCIPAL = 'P';
3021
+ const char Rule80A_COMPETING_DEALER_TRADES_R = 'R';
3022
+ const char Rule80A_INDIVIDUAL_INVESTOR_SINGLE_ORDER = 'I';
3023
+ const char Rule80A_PROPRIETARY_TRANSACTIONS_FOR_COMPETING_MARKET_MAKER_THAT_IS_AFFILIATED_WITH_THE_CLEARING_MEMBER = 'O';
3024
+ const char Rule80A_SHORT_EXEMPT_TRANSACTION_FOR_MEMBER_COMPETING_MARKET_MAKER_NOT_AFFILIATED_WITH_THE_FIRM_CLEARING_THE_TRADE = 'X';
3025
+ const char Rule80A_COMPETING_DEALER_TRADES_T = 'T';
3026
+ const char Rule80A_PROGRAM_ORDER_NON_INDEX_ARB_FOR_OTHER_MEMBER = 'N';
3027
+ const char Rule80A_SHORT_EXEMPT_TRANSACTION_FOR_NON_MEMBER_COMPETING_MARKET_MAKER = 'Z';
3028
+ const char Rule80A_PROGRAM_ORDER_NON_INDEX_ARB_FOR_OTHER_AGENCY = 'Y';
3029
+ const char Rule80A_ALL_OTHER_ORDERS_AS_AGENT_FOR_OTHER_MEMBER = 'W';
3030
+ const char Rule80A_PROGRAM_ORDER_NON_INDEX_ARB_FOR_MEMBER_FIRM_ORG = 'C';
3031
+ const char Rule80A_SHORT_EXEMPT_TRANSACTION_FOR_PRINCIPAL = 'E';
3032
+ const char Rule80A_SHORT_EXEMPT_TRANSACTION_B = 'B';
3033
+ const char Rule80A_SHORT_EXEMPT_TRANSACTION_FOR_MEMBER_COMPETING_MARKET_MAKER_AFFILIATED_WITH_THE_FIRM_CLEARING_THE_TRADE = 'L';
3034
+ const char Rule80A_AGENCY_SINGLE_ORDER = 'A';
3035
+ const char Rule80A_TRANSACTIONS_FOR_THE_ACCOUNT_OF_AN_UNAFFILIATED_MEMBERS_COMPETING_MARKET_MAKER = 'T';
3036
+ const char Rule80A_REGISTERED_EQUITY_MARKET_MAKER_TRADES = 'E';
3037
+ const char Rule80A_PROGRAM_ORDER_INDEX_ARB_FOR_OTHER_AGENCY = 'U';
3038
+ const char Rule80A_PROGRAM_ORDER_INDEX_ARB_FOR_OTHER_MEMBER = 'M';
3039
+ const char CorporateAction_MERGER_REORGANIZATION = 'M';
3040
+ const char CorporateAction_SYMBOL_CONVERSION = 'T';
3041
+ const char CorporateAction_NEW = 'D';
3042
+ const char CorporateAction_SUCCESSION_EVENT = 'W';
3043
+ const char CorporateAction_STOCK_DIVIDEND = 'G';
3044
+ const char CorporateAction_REVERSE_STOCK_SPLIT = 'I';
3045
+ const char CorporateAction_POSITION_CONSOLIDATION = 'K';
3046
+ const char CorporateAction_SPINOFF = 'P';
3047
+ const char CorporateAction_EX_INTEREST = 'E';
3048
+ const char CorporateAction_LIQUIDATION_REORGANIZATION = 'L';
3049
+ const char CorporateAction_CASH_DIVIDEND = 'F';
3050
+ const char CorporateAction_STANDARD_INTEGER_STOCK_SPLIT = 'J';
3051
+ const char CorporateAction_RIGHTS_OFFERING = 'N';
3052
+ const char CorporateAction_SHAREHOLDER_MEETING = 'O';
3053
+ const char CorporateAction_WARRANT = 'R';
3054
+ const char CorporateAction_EX_RIGHTS = 'C';
3055
+ const char CorporateAction_EX_DISTRIBUTION = 'B';
3056
+ const char CorporateAction_EX_DIVIDEND = 'A';
3057
+ const char CorporateAction_TENDER_OFFER = 'Q';
3058
+ const char CorporateAction_SPECIAL_ACTION = 'S';
3059
+ const char CorporateAction_NON_INTEGER_STOCK_SPLIT = 'H';
3060
+ const char CorporateAction_CUSIP = 'U';
3061
+ const char CorporateAction_LEAP_ROLLOVER = 'V';
3062
+ const int TerminationType_TERM = 2;
3063
+ const int TerminationType_FLEXIBLE = 3;
3064
+ const int TerminationType_OPEN = 4;
3065
+ const int TerminationType_OVERNIGHT = 1;
3066
+ const int PosMaintAction_NEW = 1;
3067
+ const int PosMaintAction_REPLACE = 2;
3068
+ const int PosMaintAction_REVERSE = 4;
3069
+ const int PosMaintAction_CANCEL_USED_TO_REMOVE_THE_OVERALL_TRANSACTION_OR_SPECIFIC_ADD_MESSAGES_BASED_ON_REFERENCE_ID = 3;
3070
+ const int PosMaintAction_REPLACE_USED_TO_OVERRIDE_THE_OVERALL_TRANSACTION_QUANTITY_OR_SPECIFIC_ADD_MESSAGES_BASED_ON_THE_REFERENCE_ID = 2;
3071
+ const int PosMaintAction_CANCEL = 3;
3072
+ const int PosMaintAction_NEW_USED_TO_INCREMENT_THE_OVERALL_TRANSACTION_QUANTITY = 1;
3073
+ const int ComplexEventPriceTimeType_SPECIFIED_DATE_TIME = 3;
3074
+ const int ComplexEventPriceTimeType_EXPIRATION = 1;
3075
+ const int ComplexEventPriceTimeType_IMMEDIATE = 2;
3076
+ const char UnderlyingFXRateCalc_DIVIDE = 'D';
3077
+ const char UnderlyingFXRateCalc_MULTIPLY = 'M';
3078
+ const char OddLot_NO = 'N';
3079
+ const char OddLot_YES = 'Y';
3080
+ const char BookingUnit_AGGREGATE_EXECUTIONS_FOR_THIS_SYMBOL_SIDE_AND_SETTLEMENT_DATE = '2';
3081
+ const char BookingUnit_AGGREGATE_PARTIAL_EXECUTIONS_ON_THIS_ORDER_AND_BOOK_ONE_TRADE_PER_ORDER = '1';
3082
+ const char BookingUnit_EACH_PARTIAL_EXECUTION_IS_A_BOOKABLE_UNIT = '0';
3083
+ const int AllocStatus_REJECTED_BY_INTERMEDIARY = 5;
3084
+ const int AllocStatus_BLOCK_LEVEL_REJECT = 1;
3085
+ const int AllocStatus_ACCOUNT_LEVEL_REJECT = 2;
3086
+ const int AllocStatus_INCOMPLETE = 4;
3087
+ const int AllocStatus_ALLOCATION_PENDING = 6;
3088
+ const int AllocStatus_REVERSED = 7;
3089
+ const int AllocStatus_RECEIVED = 3;
3090
+ const int AllocStatus_PARTIAL_ACCEPT = 2;
3091
+ const int AllocStatus_REJECTED = 1;
3092
+ const int AllocStatus_ACCEPTED = 0;
3093
+ const int IncTaxInd_NET = 1;
3094
+ const int IncTaxInd_GROSS = 2;
3095
+ const int PosReqStatus_COMPLETED = 0;
3096
+ const int PosReqStatus_REJECTED = 2;
3097
+ const int PosReqStatus_COMPLETED_WITH_WARNINGS = 1;
3098
+ const int PriorityIndicator_PRIORITY_UNCHANGED = 0;
3099
+ const int PriorityIndicator_LOST_PRIORITY_AS_RESULT_OF_ORDER_CHANGE = 1;
3100
+ const char MoneyLaunderingStatus_EXEMPT_BELOW_THE_LIMIT = '1';
3101
+ const char MoneyLaunderingStatus_EXEMPT_CLIENT_MONEY_TYPE_EXEMPTION = '2';
3102
+ const char MoneyLaunderingStatus_EXEMPT_AUTHORISED_CREDIT_OR_FINANCIAL_INSTITUTION = '3';
3103
+ const char MoneyLaunderingStatus_NOT_CHECKED = 'N';
3104
+ const char MoneyLaunderingStatus_PASSED = 'Y';
3105
+ const char MoneyLaunderingStatus_EXEMPT_1 = '1';
3106
+ const char MoneyLaunderingStatus_EXEMPT_2 = '2';
3107
+ const char MoneyLaunderingStatus_EXEMPT_3 = '3';
3108
+ const char LotType_ROUND_LOT_BASED_UPON_UNITOFMEASURE = '4';
3109
+ const char LotType_ROUND_LOT = '2';
3110
+ const char LotType_ODD_LOT = '1';
3111
+ const char LotType_BLOCK_LOT = '3';
3112
+ const char QuoteCondition_FLAT_CURVE[] = "7";
3113
+ const char QuoteCondition_REST_OF_BOOK_VWAP[] = "3";
3114
+ const char QuoteCondition_BETTER_PRICES_IN_CONDITIONAL_ORDERS[] = "4";
3115
+ const char QuoteCondition_TRADING_RANGE[] = "Q";
3116
+ const char QuoteCondition_HALT_ETH[] = "k";
3117
+ const char QuoteCondition_BID_OFFER_SPECIALIST[] = "r";
3118
+ const char QuoteCondition_CROSSED[] = "F";
3119
+ const char QuoteCondition_NO_OPEN[] = "b";
3120
+ const char QuoteCondition_HALT[] = "j";
3121
+ const char QuoteCondition_PREOPENING_SAM[] = "v";
3122
+ const char QuoteCondition_OPEN_SAM[] = "x";
3123
+ const char QuoteCondition_RESERVED_SAM[] = "0";
3124
+ const char QuoteCondition_OUTRIGHT_PRICE[] = "J";
3125
+ const char QuoteCondition_IMPLIED_PRICE[] = "K";
3126
+ const char QuoteCondition_DEPTH_ON_OFFER[] = "M";
3127
+ const char QuoteCondition_ADDITIONAL_INFO_DUE_TO_RELATED[] = "V";
3128
+ const char QuoteCondition_REGULAR_ETH[] = "c";
3129
+ const char QuoteCondition_ROTATION_ETH[] = "i";
3130
+ const char QuoteCondition_EXCHANGE_BEST[] = "C";
3131
+ const char QuoteCondition_DEPTH_ON_BID[] = "N";
3132
+ const char QuoteCondition_CLOSING[] = "O";
3133
+ const char QuoteCondition_VIEW_OF_COMMON[] = "X";
3134
+ const char QuoteCondition_FORBIDDEN_SAM[] = "t";
3135
+ const char QuoteCondition_LOCKED[] = "E";
3136
+ const char QuoteCondition_ORDER_INFLUX[] = "R";
3137
+ const char QuoteCondition_NEWS_PENDING[] = "T";
3138
+ const char QuoteCondition_RESUME[] = "W";
3139
+ const char QuoteCondition_TRADING_RESUME[] = "n";
3140
+ const char QuoteCondition_OUT_OF_SEQUENCE[] = "o";
3141
+ const char QuoteCondition_END_OF_DAY_SAM[] = "s";
3142
+ const char QuoteCondition_FROZEN_SAM[] = "u";
3143
+ const char QuoteCondition_OPENING_SAM[] = "w";
3144
+ const char QuoteCondition_MANUAL_SLOW_QUOTE[] = "L";
3145
+ const char QuoteCondition_NEWS_DISSEMINATION[] = "P";
3146
+ const char QuoteCondition_DUE_TO_RELATED[] = "S";
3147
+ const char QuoteCondition_VOLUME_ALERT[] = "Y";
3148
+ const char QuoteCondition_FAST_MARKET_ETH[] = "f ";
3149
+ const char QuoteCondition_INACTIVE_ETH[] = "g";
3150
+ const char QuoteCondition_DUE_TO_NEWS_DISSEMINATION[] = "l";
3151
+ const char QuoteCondition_SURVEILLANCE_SAM[] = "y";
3152
+ const char QuoteCondition_DEPTH[] = "G";
3153
+ const char QuoteCondition_OPEN[] = "A";
3154
+ const char QuoteCondition_AUTOMATIC_EXECUTION[] = "d";
3155
+ const char QuoteCondition_DUE_TO_NEWS_PENDING[] = "m";
3156
+ const char QuoteCondition_NO_ACTIVE_SAM[] = "1";
3157
+ const char QuoteCondition_OFFER_SPECIALIST[] = "q";
3158
+ const char QuoteCondition_SUSPENDED_SAM[] = "z";
3159
+ const char QuoteCondition_RESTRICTED[] = "2";
3160
+ const char QuoteCondition_NON_FIRM[] = "I";
3161
+ const char QuoteCondition_CLOSED_INACTIVE[] = "B";
3162
+ const char QuoteCondition_ADDITIONAL_INFO[] = "U";
3163
+ const char QuoteCondition_EQUIPMENT_CHANGEOVER[] = "a";
3164
+ const char QuoteCondition_FAST_TRADING[] = "H";
3165
+ const char QuoteCondition_FULL_CURVE[] = "6";
3166
+ const char QuoteCondition_MEDIAN_PRICE[] = "5";
3167
+ const char QuoteCondition_OPEN_ACTIVE[] = "A";
3168
+ const char QuoteCondition_ORDER_IMBALANCE[] = "Z";
3169
+ const char QuoteCondition_AUTOMATIC_EXECUTION_ETH[] = "e";
3170
+ const char QuoteCondition_ROTATION[] = "h";
3171
+ const char QuoteCondition_BID_SPECIALIST[] = "p";
3172
+ const char QuoteCondition_CONSOLIDATED_BEST[] = "D";
3173
+ const char QuoteCondition_CLOSED[] = "B";
3174
+ const char SettlLocation_EUROCLEAR[] = "EUR";
3175
+ const char SettlLocation_CEDEL[] = "CED";
3176
+ const char SettlLocation_PARTICIPANT_TRUST_COMPANY[] = "PTC";
3177
+ const char SettlLocation_PHYSICAL[] = "PNY";
3178
+ const char SettlLocation_DEPOSITORY_TRUST_COMPANY[] = "DTC";
3179
+ const char SettlLocation_LOCAL_MARKET_SETTLE_LOCATION[] = "ISO Country Code";
3180
+ const char SettlLocation_FEDERAL_BOOK_ENTRY[] = "FED";
3181
+ const int DiscretionScope_NATIONAL_EXCLUDING_LOCAL = 4;
3182
+ const int DiscretionScope_LOCAL = 1;
3183
+ const int DiscretionScope_GLOBAL = 3;
3184
+ const int DiscretionScope_NATIONAL = 2;
3185
+ const int OwnerType_PUBLIC_COMPANY = 2;
3186
+ const int OwnerType_INDIVIDUAL_TRUSTEE = 4;
3187
+ const int OwnerType_CUSTODIAN_UNDER_GIFTS_TO_MINORS_ACT = 7;
3188
+ const int OwnerType_INDIVIDUAL_INVESTOR = 1;
3189
+ const int OwnerType_COMPANY_TRUSTEE = 5;
3190
+ const int OwnerType_PRIVATE_COMPANY = 3;
3191
+ const int OwnerType_NETWORKING_SUB_ACCOUNT = 10;
3192
+ const int OwnerType_PENSION_PLAN = 6;
3193
+ const int OwnerType_TRUSTS = 8;
3194
+ const int OwnerType_FIDUCIARIES = 9;
3195
+ const int OwnerType_NON_PROFIT_ORGANIZATION = 11;
3196
+ const int OwnerType_CORPORATE_BODY = 12;
3197
+ const int OwnerType_NOMINEE = 13;
3198
+ const int ApplQueueResolution_END_SESSION = 3;
3199
+ const int ApplQueueResolution_QUEUE_FLUSHED = 1;
3200
+ const int ApplQueueResolution_OVERLAY_LAST = 2;
3201
+ const int ApplQueueResolution_NO_ACTION_TAKEN = 0;
3202
+ const int QuoteResponseLevel_SUMMARY_ACKNOWLEDGEMENT = 3;
3203
+ const int QuoteResponseLevel_ACKNOWLEDGE_ONLY_NEGATIVE_OR_ERRONEOUS_QUOTES = 1;
3204
+ const int QuoteResponseLevel_ACKNOWLEDGE_EACH_QUOTE_MESSAGE = 2;
3205
+ const int QuoteResponseLevel_ACKNOWLEDGE_EACH_QUOTE_MESSAGES = 2;
3206
+ const int QuoteResponseLevel_NO_ACKNOWLEDGEMENT = 0;
3207
+ const char ExecAckStatus_RECEIVED_NOT_YET_PROCESSED = '0';
3208
+ const char ExecAckStatus_DONT_KNOW = '2';
3209
+ const char ExecAckStatus_ACCEPTED = '1';
3210
+ const int NetGrossInd_NET = 1;
3211
+ const int NetGrossInd_GROSS = 2;
3212
+ const char CxlType_PARTIAL_CANCEL = 'P';
3213
+ const char CxlType_FULL_REMAINING_QUANTITY = 'F';
3214
+ const int DeskTypeSource_NASD_OATS = 1;
3215
+ const int DiscretionRoundDirection_MORE_AGGRESSIVE_ON_A_BUY_ORDER_ROUND_THE_PRICE_UP_ROUND_UP_TO_THE_NEAREST_TICK_ON_A_SELL_ROUND_DOWN_TO_THE_NEAREST_TICK = 1;
3216
+ const int DiscretionRoundDirection_MORE_AGGRESSIVE = 1;
3217
+ const int DiscretionRoundDirection_MORE_PASSIVE = 2;
3218
+ const int DiscretionRoundDirection_MORE_PASSIVE_ON_A_BUY_ORDER_ROUND_DOWN_TO_NEAREST_TICK_ON_A_SELL_ORDER_ROUND_UP_TO_NEAREST_TICK = 2;
3219
+ const int BidDescriptorType_COUNTRY = 2;
3220
+ const int BidDescriptorType_INDEX = 3;
3221
+ const int BidDescriptorType_SECTOR = 1;
3222
+ const int NetworkStatusResponseType_INCREMENTAL_UPDATE = 2;
3223
+ const int NetworkStatusResponseType_FULL = 1;
3224
+ const int QuoteType_INDICATIVE = 0;
3225
+ const int QuoteType_RESTRICTED_TRADEABLE = 2;
3226
+ const int QuoteType_TRADEABLE = 1;
3227
+ const int QuoteType_COUNTER = 3;
3228
+ const char DiscretionInst_RELATED_TO_MARKET_PRICE = '1';
3229
+ const char DiscretionInst_RELATED_TO_VWAP = '6';
3230
+ const char DiscretionInst_RELATED_TO_MIDPOINT_PRICE = '4';
3231
+ const char DiscretionInst_RELATED_TO_DISPLAYED_PRICE = '0';
3232
+ const char DiscretionInst_RELATED_TO_PRIMARY_PRICE = '2';
3233
+ const char DiscretionInst_AVERAGE_PRICE_GUARANTEE = '7';
3234
+ const char DiscretionInst_RELATED_TO_LAST_TRADE_PRICE = '5';
3235
+ const char DiscretionInst_RELATED_TO_LOCAL_PRIMARY_PRICE = '3';
3236
+ const int CrossPrioritization_BUY_SIDE_IS_PRIORITIZED = 1;
3237
+ const int CrossPrioritization_SELL_SIDE_IS_PRIORITIZED = 2;
3238
+ const int CrossPrioritization_NONE = 0;
3239
+ const int CrossPrioritization_SELLSIDE_PRIORITIZED = 2;
3240
+ const int CrossPrioritization_BUYSIDE_PRIORITIZED = 1;
3241
+ const char IOIOthSvc_AUTEX = 'A';
3242
+ const char IOIOthSvc_BRIDGE = 'B';
3243
+ const char MDReqRejReason_UNSUPPORTED_MDENTRYTYPE = '8';
3244
+ const char MDReqRejReason_INSUFFICIENT_CREDIT = 'D';
3245
+ const char MDReqRejReason_INSUFFICIENT_BANDWIDTH = '2';
3246
+ const char MDReqRejReason_UNSUPPORTED_SCOPE = 'A';
3247
+ const char MDReqRejReason_UNSUPPORTED_TRADINGSESSIONID = '9';
3248
+ const char MDReqRejReason_DUPLICATE_MDREQID = '1';
3249
+ const char MDReqRejReason_UNSUPPORTED_AGGREGATEDBOOK = '7';
3250
+ const char MDReqRejReason_UNSUPPORTED_MDUPDATETYPE = '6';
3251
+ const char MDReqRejReason_UNSUPPORTED_SUBSCRIPTIONREQUESTTYPE = '4';
3252
+ const char MDReqRejReason_UNKNOWN_SYMBOL = '0';
3253
+ const char MDReqRejReason_UNSUPPORTED_OPENCLOSESETTLEFLAG = 'B';
3254
+ const char MDReqRejReason_UNSUPPORTED_MARKETDEPTH = '5';
3255
+ const char MDReqRejReason_INSUFFICIENT_PERMISSIONS = '3';
3256
+ const char MDReqRejReason_UNSUPPORTED_MDIMPLICITDELETE = 'C';
3257
+ const int ApplReqType_REQUEST_FOR_THE_LAST_APPLLASTSEQNUM_PUBLISHED_FOR_THE_SPECIFIED_APPLICATIONS = 2;
3258
+ const int ApplReqType_UNSUBSCRIBE_TO_THE_SPECIFIED_APPLICATIONS = 4;
3259
+ const int ApplReqType_CANCEL_RETRANSMISSION_AND_UNSUBSCRIBE_TO_THE_SPECIFIED_APPLICATIONS = 6;
3260
+ const int ApplReqType_SUBSCRIPTION_TO_THE_SPECIFIED_APPLICATIONS = 1;
3261
+ const int ApplReqType_RETRANSMISSION_OF_APPLICATION_MESSAGES_FOR_THE_SPECIFIED_APPLICATIONS = 0;
3262
+ const int ApplReqType_REQUEST_VALID_SET_OF_APPLICATIONS = 3;
3263
+ const int ApplReqType_CANCEL_RETRANSMISSION = 5;
3264
+ const char AggressorIndicator_NO = 'N';
3265
+ const char AggressorIndicator_YES = 'Y';
3266
+ const int BusinessRejectReason_UNKNOWN_SECURITY = 2;
3267
+ const int BusinessRejectReason_APPLICATION_NOT_AVAILABLE = 4;
3268
+ const int BusinessRejectReason_INVALID_PRICE_INCREMENT = 18;
3269
+ const int BusinessRejectReason_DELIVERTO_FIRM_NOT_AVAILABLE_AT_THIS_TIME = 7;
3270
+ const int BusinessRejectReason_CONDITIONALLY_REQUIRED_FIELD_MISSING = 5;
3271
+ const int BusinessRejectReason_UNKNOWN_ID = 1;
3272
+ const int BusinessRejectReason_OTHER = 0;
3273
+ const int BusinessRejectReason_UNSUPPORTED_MESSAGE_TYPE = 3;
3274
+ const int BusinessRejectReason_UNKNOWN_MESSAGE_TYPE = 3;
3275
+ const int BusinessRejectReason_NOT_AUTHORIZED = 6;
3276
+ const int BusinessRejectReason_UNKOWN_ID = 1;
3277
+ const int BookingType_REGULAR_BOOKING = 0;
3278
+ const int BookingType_CFD = 1;
3279
+ const int BookingType_TOTAL_RETURN_SWAP = 2;
3280
+ }
3281
+ #endif //FIX_VALUES_H