OnixS C++ eSpeed ITCH Market Data Handler 1.7.3
API documentation
Loading...
Searching...
No Matches
Enumerations.h
Go to the documentation of this file.
1/*
2* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3*
4* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5* and international copyright treaties.
6*
7* Access to and use of the software is governed by the terms of the applicable ONIXS Software
8* Services Agreement (the Agreement) and Customer end user license agreements granting
9* a non-assignable, non-transferable and non-exclusive license to use the software
10* for it's own data processing purposes under the terms defined in the Agreement.
11*
12* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13* of this source code or associated reference material to any other location for further reproduction
14* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15*
16* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17* the terms of the Agreement is a violation of copyright law.
18*/
19
20#pragma once
21
22#include <string>
23
25
27
28
31 {
33 typedef UInt8 Base;
34
35 enum Enum
36 {
39
42
45
48
50 AddOrder = 'A',
51
54
57
60
62 Trade = 'P',
63
66
69
72
73 };
74 };
75
77 ONIXS_ESPEED_ITCH_API void toStr(std::string&, MessageType::Enum);
78
80 inline std::string toStr(MessageType::Enum value)
81 {
82 std::string str;
83 toStr(str, value);
84 return str;
85 }
86
89 {
91 typedef UInt8 Base;
92
93 enum Enum
94 {
97
100
103
106
107 };
108 };
109
111 ONIXS_ESPEED_ITCH_API void toStr(std::string&, SystemEventCode::Enum);
112
114 inline std::string toStr(SystemEventCode::Enum value)
115 {
116 std::string str;
117 toStr(str, value);
118 return str;
119 }
120
123 {
125 typedef UInt8 Base;
126
127 enum Enum
128 {
131
133 Break = 'A',
134
137
140
143
144 };
145 };
146
148 ONIXS_ESPEED_ITCH_API void toStr(std::string&, SystemEventReason::Enum);
149
151 inline std::string toStr(SystemEventReason::Enum value)
152 {
153 std::string str;
154 toStr(str, value);
155 return str;
156 }
157
160 {
162 typedef UInt8 Base;
163
164 enum Enum
165 {
167 Enabled = 'O',
168
170 Disabled = 'M',
171
173 Halted = 'H',
174
175 };
176 };
177
179 ONIXS_ESPEED_ITCH_API void toStr(std::string&, SecurityEventCode::Enum);
180
182 inline std::string toStr(SecurityEventCode::Enum value)
183 {
184 std::string str;
185 toStr(str, value);
186 return str;
187 }
188
191 {
193 typedef UInt8 Base;
194
195 enum Enum
196 {
199
202
205
207 TIPS = 4,
208
211
214
215 };
216 };
217
219 ONIXS_ESPEED_ITCH_API void toStr(std::string&, ProductType::Enum);
220
222 inline std::string toStr(ProductType::Enum value)
223 {
224 std::string str;
225 toStr(str, value);
226 return str;
227 }
228
231 {
233 typedef UInt8 Base;
234
235 enum Enum
236 {
239
242
244 WI = 3,
245
246 };
247 };
248
250 ONIXS_ESPEED_ITCH_API void toStr(std::string&, ProductSubType::Enum);
251
253 inline std::string toStr(ProductSubType::Enum value)
254 {
255 std::string str;
256 toStr(str, value);
257 return str;
258 }
259
262 {
264 typedef UInt8 Base;
265
266 enum Enum
267 {
269 PerUnit = 'D',
270
273
276
277 };
278 };
279
281 ONIXS_ESPEED_ITCH_API void toStr(std::string&, PriceType::Enum);
282
284 inline std::string toStr(PriceType::Enum value)
285 {
286 std::string str;
287 toStr(str, value);
288 return str;
289 }
290
293 {
295 typedef UInt16 Base;
296
297 enum Enum
298 {
300 Reserved1 = 0x0001,
301
304
307
309 Reserved2 = 0x0008,
310
312 TestSecurity = 0x8000,
313
316
317 };
318 };
319
321 ONIXS_ESPEED_ITCH_API void toStr(std::string&, TradingFeatures::Enum);
322
324 inline std::string toStr(TradingFeatures::Enum value)
325 {
326 std::string str;
327 toStr(str, value);
328 return str;
329 }
330
332 struct LegSide
333 {
335 typedef UInt8 Base;
336
337 enum Enum
338 {
341
344
346 Opposite = 'C',
347
350
351 };
352 };
353
355 ONIXS_ESPEED_ITCH_API void toStr(std::string&, LegSide::Enum);
356
358 inline std::string toStr(LegSide::Enum value)
359 {
360 std::string str;
361 toStr(str, value);
362 return str;
363 }
364
366 struct Side
367 {
369 typedef UInt8 Base;
370
371 enum Enum
372 {
374 Buy = 'B',
375
377 Sell = 'S',
378
379 };
380 };
381
383 ONIXS_ESPEED_ITCH_API void toStr(std::string&, Side::Enum);
384
386 inline std::string toStr(Side::Enum value)
387 {
388 std::string str;
389 toStr(str, value);
390 return str;
391 }
392
395 {
397 typedef UInt8 Base;
398
399 enum Enum
400 {
402 No = 'N',
403
405 Yes = 'Y',
406
407 };
408 };
409
411 ONIXS_ESPEED_ITCH_API void toStr(std::string&, Printable::Enum);
412
414 inline std::string toStr(Printable::Enum value)
415 {
416 std::string str;
417 toStr(str, value);
418 return str;
419 }
420
423 {
425 typedef UInt16 Base;
426
427 enum Enum
428 {
431
434
437
440
443
446
448 Issued2Y = 102,
449
451 Issued3Y = 103,
452
454 Issued5Y = 105,
455
457 Issued7Y = 107,
458
461
464
467
468 };
469 };
470
472 ONIXS_ESPEED_ITCH_API void toStr(std::string&, IssuedAsBenchmark::Enum);
473
475 inline std::string toStr(IssuedAsBenchmark::Enum value)
476 {
477 std::string str;
478 toStr(str, value);
479 return str;
480 }
481
#define ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN
Definition Bootstrap.h:27
#define ONIXS_ESPEED_ITCH_NAMESPACE_END
Definition Bootstrap.h:31
ONIXS_ESPEED_ITCH_API void toStr(std::string &, MessageType::Enum)
Appends string presentation of object.
IssuedAsBenchmark.
UInt16 Base
Integral type used as basement for constants.
Leg Sides.
@ LockPriceForTreasurySwap
UInt8 Base
Integral type used as basement for constants.
Message type enumeration.
@ CombinationOrderBookDirectory
@ OrderExecutedWithPrice
UInt8 Base
Integral type used as basement for constants.
Price Types.
UInt8 Base
Integral type used as basement for constants.
Printable.
UInt8 Base
Integral type used as basement for constants.
Product Syb Types.
UInt8 Base
Integral type used as basement for constants.
Product Types.
UInt8 Base
Integral type used as basement for constants.
Security Event Codes.
UInt8 Base
Integral type used as basement for constants.
Sides.
UInt8 Base
Integral type used as basement for constants.
System Event Codes.
UInt8 Base
Integral type used as basement for constants.
System Event Reasons.
UInt8 Base
Integral type used as basement for constants.
Trading Features.
UInt16 Base
Integral type used as basement for constants.
@ SecuritySupportsImpliedTradingThroughLegs