OnixS C++ B3 Binary UMDF Market Data Handler 1.10.0
Users' manual and API documentation
Loading...
Searching...
No Matches
Fields.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
26
27#ifdef DELETE
28#undef DELETE
29#endif
30
32
34typedef Int8 Int8;
35
36
38typedef Int16 Int16;
39
40
42typedef Int32 Int32;
43
44
46typedef Int64 Int64;
47
48
50typedef UInt8 UInt8;
51
52
54typedef UInt16 UInt16;
55
56
58typedef UInt32 UInt32;
59
60
62typedef UInt64 UInt64;
63
64
66typedef Int8 Int8NULL;
67
68
71
72
75
76
79
80
82typedef Char CharNULL;
83
84
87
88
91
92
95
96
99
100
105
106
111
112
117
118
123
124
128typedef
129Int64
131
132
137
138
143
144
149
150
155
156
160typedef
163
164
169
170
175
176
181
182
187
188
193
194
199
200
204typedef Char Currency[3];
205
206
209
210
215
216
221
222
227
228
232typedef
233Int32
235
236
241
242
247{
248 typedef Char Base;
249
274
276 ONIXS_B3_UMDF_MD_NODISCARD
277 static
278 std::string
279 toString(
280 Enum);
281};
282
287{
288 typedef UInt8 Base;
289
291 enum Enum
292 {
295
298 };
299
301 ONIXS_B3_UMDF_MD_NODISCARD
302 static
303 std::string
304 toString(
305 Enum);
306};
307
312{
313 typedef UInt8 Base;
314
316 enum Enum
317 {
320
323
326
329 };
330
332 ONIXS_B3_UMDF_MD_NODISCARD
333 static
334 std::string
335 toString(
336 Enum);
337};
338
343{
344 typedef UInt8 Base;
345
347 enum Enum
348 {
350 BUY = 1,
351
354 };
355
357 ONIXS_B3_UMDF_MD_NODISCARD
358 static
359 std::string
360 toString(
361 Enum);
362};
363
366{
367 typedef Char Base;
368
370 enum Enum
371 {
373 ADD = 'A',
374
376 DELETE = 'D',
377
379 MODIFY = 'M'
380 };
381
383 ONIXS_B3_UMDF_MD_NODISCARD
384 static
385 std::string
386 toString(
387 Enum);
388};
389
394{
395 typedef UInt8 Base;
396
398 enum Enum
399 {
402
405
408 };
409
411 ONIXS_B3_UMDF_MD_NODISCARD
412 static
413 std::string
414 toString(
415 Enum);
416};
417
422{
423 typedef UInt8 Base;
424
426 enum Enum
427 {
430
433
436
439
442
444 INDEX = 7,
445
448
451 };
452
454 ONIXS_B3_UMDF_MD_NODISCARD
455 static
456 std::string
457 toString(
458 Enum);
459};
460
465{
466 typedef UInt8 Base;
467
469 enum Enum
470 {
472 CASH = 1,
473
475 CORP = 2,
476
478 CS = 3,
479
481 DTERM = 4,
482
484 ETF = 5,
485
487 FOPT = 6,
488
491
493 FUT = 8,
494
496 INDEX = 9,
497
500
502 MLEG = 11,
503
505 OPT = 12,
506
509
511 PS = 14,
512
515
517 SOPT = 16,
518
520 SPOT = 17
521 };
522
524 ONIXS_B3_UMDF_MD_NODISCARD
525 static
526 std::string
527 toString(
528 Enum);
529};
530
535{
536 typedef UInt8 Base;
537
539 enum Enum
540 {
543
546 };
547
549 ONIXS_B3_UMDF_MD_NODISCARD
550 static
551 std::string
552 toString(
553 Enum);
554};
555
558{
559 typedef UInt8 Base;
560
562 enum Enum
563 {
565 PUT = 0,
566
569 };
570
572 ONIXS_B3_UMDF_MD_NODISCARD
573 static
574 std::string
575 toString(
576 Enum);
577};
578
583{
584 typedef UInt8 Base;
585
587 enum Enum
588 {
591
593 PU = 2,
594
597 };
598
600 ONIXS_B3_UMDF_MD_NODISCARD
601 static
602 std::string
603 toString(
604 Enum);
605};
606
611{
612 typedef UInt8 Base;
613
615 enum Enum
616 {
618 PAUSE = 2,
619
621 CLOSE = 4,
622
624 OPEN = 17,
625
628
631
634
637 };
638
640 ONIXS_B3_UMDF_MD_NODISCARD
641 static
642 std::string
643 toString(
644 Enum);
645};
646
651{
652 typedef UInt8 Base;
653
655 enum Enum
656 {
658 PAUSE = 2,
659
661 CLOSE = 4,
662
664 OPEN = 17,
665
668
671
674
677 };
678
680 ONIXS_B3_UMDF_MD_NODISCARD
681 static
682 std::string
683 toString(
684 Enum);
685};
686
691{
692 typedef UInt8 Base;
693
695 enum Enum
696 {
698 No = 0,
699
701 N1 = 1,
702
704 N2 = 2,
705
707 NM = 4,
708
710 MA = 5,
711
713 MB = 6,
714
716 M2 = 7
717 };
718
720 ONIXS_B3_UMDF_MD_NODISCARD
721 static
722 std::string
723 toString(
724 Enum);
725};
726
731{
732 typedef UInt8 Base;
733
735 enum Enum
736 {
739 };
740
742 ONIXS_B3_UMDF_MD_NODISCARD
743 static
744 std::string
745 toString(
746 Enum);
747};
748
753{
754 typedef UInt8 Base;
755
757 enum Enum
758 {
761
763 BUY = 1,
764
767 };
768
770 ONIXS_B3_UMDF_MD_NODISCARD
771 static
772 std::string
773 toString(
774 Enum);
775};
776
781{
782 typedef UInt8 Base;
783
793
795 ONIXS_B3_UMDF_MD_NODISCARD
796 static
797 std::string
798 toString(
799 Enum);
800};
801
806{
807 typedef UInt8 Base;
808
821
823 ONIXS_B3_UMDF_MD_NODISCARD
824 static
825 std::string
826 toString(
827 Enum);
828};
829
834{
835 typedef UInt8 Base;
836
838 enum Enum
839 {
842
845
848
851 };
852
854 ONIXS_B3_UMDF_MD_NODISCARD
855 static
856 std::string
857 toString(
858 Enum);
859};
860
865{
866 typedef UInt8 Base;
867
886
888 ONIXS_B3_UMDF_MD_NODISCARD
889 static
890 std::string
891 toString(
892 Enum);
893};
894
899{
900 typedef UInt8 Base;
901
903 enum Enum
904 {
907
909 TICKS = 1,
910
913 };
914
916 ONIXS_B3_UMDF_MD_NODISCARD
917 static
918 std::string
919 toString(
920 Enum);
921};
922
927{
928 typedef UInt8 Base;
929
942
944 ONIXS_B3_UMDF_MD_NODISCARD
945 static
946 std::string
947 toString(
948 Enum);
949};
950
955{
956 typedef UInt8 Base;
957
959 enum Enum
960 {
962 FINAL = 1,
963
966
969 };
970
972 ONIXS_B3_UMDF_MD_NODISCARD
973 static
974 std::string
975 toString(
976 Enum);
977};
978
983{
984 typedef UInt8 Base;
985
987 enum Enum
988 {
990 TRADE = 0,
991
994 };
995
997 ONIXS_B3_UMDF_MD_NODISCARD
998 static
999 std::string
1000 toString(
1001 Enum);
1002};
1003
1008{
1009 typedef UInt8 Base;
1010
1012 enum Enum
1013 {
1015 NEW = 0,
1016
1019
1022
1025
1028
1031 };
1032
1034 ONIXS_B3_UMDF_MD_NODISCARD
1035 static
1036 std::string
1037 toString(
1038 Enum);
1039};
1040
1045{
1046 typedef Char Base;
1047
1049 enum Enum
1050 {
1052 BID = '0',
1053
1055 OFFER = '1',
1056
1058 TRADE = '2',
1059
1062
1065
1068
1071
1074
1077
1080
1083
1086
1089
1092
1095
1098
1101
1104
1107
1110
1113 };
1114
1116 ONIXS_B3_UMDF_MD_NODISCARD
1117 static
1118 std::string
1119 toString(
1120 Enum);
1121};
1122
1125{
1126 typedef UInt8 Base;
1127
1176
1178 ONIXS_B3_UMDF_MD_NODISCARD
1179 static
1180 std::string
1181 toString(
1182 Enum);
1183};
1184
1187{
1188 typedef UInt8 Base;
1189
1191 enum Enum
1192 {
1195
1198
1201
1204
1207
1210
1213
1216
1219
1222 };
1223
1225 ONIXS_B3_UMDF_MD_NODISCARD
1226 static
1227 std::string
1228 toString(
1229 Enum);
1230};
1231
1234{
1235 typedef UInt8 Base;
1236
1238 enum Enum
1239 {
1242
1245 };
1246
1248 ONIXS_B3_UMDF_MD_NODISCARD
1249 static
1250 std::string
1251 toString(
1252 Enum);
1253};
1254
1257{
1258 typedef UInt8 Base;
1259
1281
1283 ONIXS_B3_UMDF_MD_NODISCARD
1284 static
1285 std::string
1286 toString(
1287 Enum);
1288};
1289
1292{
1293 typedef UInt8 Base;
1294
1296 enum Enum
1297 {
1300
1303 };
1304
1306 ONIXS_B3_UMDF_MD_NODISCARD
1307 static
1308 std::string
1309 toString(
1310 Enum);
1311};
1312
1315{
1316 typedef UInt8 Base;
1317
1336
1338 ONIXS_B3_UMDF_MD_NODISCARD
1339 static
1340 std::string
1341 toString(
1342 Enum);
1343};
1344
1349{
1350 typedef Char Base;
1351
1353 enum Enum
1354 {
1356 ISIN = '4',
1357
1360 };
1361
1363 ONIXS_B3_UMDF_MD_NODISCARD
1364 static
1365 std::string
1366 toString(
1367 Enum);
1368};
1369
1374{
1375 typedef UInt8 Base;
1376
1378 enum Enum
1379 {
1382
1385
1388
1391
1394
1397
1400
1403
1406 };
1407
1409 ONIXS_B3_UMDF_MD_NODISCARD
1410 static
1411 std::string
1412 toString(
1413 Enum);
1414};
1415
1420{
1421 typedef UInt8 Base;
1422
1424 enum Enum
1425 {
1428
1431 };
1432
1434 ONIXS_B3_UMDF_MD_NODISCARD
1435 static
1436 std::string
1437 toString(
1438 Enum);
1439};
1440
1445{
1446 typedef UInt8 Base;
1447
1449 enum Enum
1450 {
1453
1456
1459 };
1460
1462 ONIXS_B3_UMDF_MD_NODISCARD
1463 static
1464 std::string
1465 toString(
1466 Enum);
1467};
1468
1471{
1472public:
1475 typedef UInt16 Bits;
1476
1477 enum
1478 {
1479 Size = sizeof(Bits)
1480 };
1481
1482
1485 struct MemberTraits
1486 {
1487 enum { Count = 1 };
1488
1489 typedef Bits FirstArgType;
1490 };
1491
1493 ONIXS_B3_UMDF_MD_NODISCARD
1494 bool imbalanceMoreBuyers() const
1495 noexcept
1496 {
1497 return 0 != (bits_ & 0x100);
1498 }
1499
1501 ONIXS_B3_UMDF_MD_NODISCARD
1502 bool imbalanceMoreSellers() const
1503 noexcept
1504 {
1505 return 0 != (bits_ & 0x200);
1506 }
1507
1509 Bits bits() const
1510 noexcept
1511 {
1512 return bits_;
1513 }
1514
1516 explicit
1518 noexcept
1519 : bits_(bits)
1520 {
1521 }
1522
1524 ONIXS_B3_UMDF_MD_NODISCARD
1525 std::string
1526 toString() const;
1527
1529 ONIXS_B3_UMDF_MD_NODISCARD
1530 bool
1531 operator!=(
1532 const ImbalanceCondition& other) const
1533 noexcept
1534 {
1535 return !(*this == other);
1536 }
1537
1539 ONIXS_B3_UMDF_MD_NODISCARD
1540 bool
1541 operator==(
1542 const ImbalanceCondition& other) const
1543 noexcept
1544 {
1545 return this->bits_ == other.bits_;
1546 }
1547
1548private:
1549 Bits bits_;
1550};
1551
1554{
1555public:
1558 typedef UInt16 Bits;
1559
1560 enum
1561 {
1562 Size = sizeof(Bits)
1563 };
1564
1565
1568 struct MemberTraits
1569 {
1570 enum { Count = 1 };
1571
1572 typedef Bits FirstArgType;
1573 };
1574
1576 ONIXS_B3_UMDF_MD_NODISCARD
1577 bool openingPrice() const
1578 noexcept
1579 {
1580 return 0 != (bits_ & 0x1);
1581 }
1582
1584 ONIXS_B3_UMDF_MD_NODISCARD
1585 bool crossed() const
1586 noexcept
1587 {
1588 return 0 != (bits_ & 0x2);
1589 }
1590
1592 ONIXS_B3_UMDF_MD_NODISCARD
1593 bool lastTradeAtTheSamePrice() const
1594 noexcept
1595 {
1596 return 0 != (bits_ & 0x4);
1597 }
1598
1600 ONIXS_B3_UMDF_MD_NODISCARD
1601 bool outOfSequence() const
1602 noexcept
1603 {
1604 return 0 != (bits_ & 0x8);
1605 }
1606
1608 ONIXS_B3_UMDF_MD_NODISCARD
1609 bool tradeOnBehalf() const
1610 noexcept
1611 {
1612 return 0 != (bits_ & 0x40);
1613 }
1614
1616 ONIXS_B3_UMDF_MD_NODISCARD
1617 bool regularTrade() const
1618 noexcept
1619 {
1620 return 0 != (bits_ & 0x2000);
1621 }
1622
1624 ONIXS_B3_UMDF_MD_NODISCARD
1625 bool blockTrade() const
1626 noexcept
1627 {
1628 return 0 != (bits_ & 0x4000);
1629 }
1630
1632 Bits bits() const
1633 noexcept
1634 {
1635 return bits_;
1636 }
1637
1639 explicit
1641 noexcept
1642 : bits_(bits)
1643 {
1644 }
1645
1647 ONIXS_B3_UMDF_MD_NODISCARD
1648 std::string
1649 toString() const;
1650
1652 ONIXS_B3_UMDF_MD_NODISCARD
1653 bool
1654 operator!=(
1655 const TradeCondition& other) const
1656 noexcept
1657 {
1658 return !(*this == other);
1659 }
1660
1662 ONIXS_B3_UMDF_MD_NODISCARD
1663 bool
1664 operator==(
1665 const TradeCondition& other) const
1666 noexcept
1667 {
1668 return this->bits_ == other.bits_;
1669 }
1670
1671private:
1672 Bits bits_;
1673};
1674
1677{
1678public:
1681 typedef UInt8 Bits;
1682
1683 enum
1684 {
1685 Size = sizeof(Bits)
1686 };
1687
1688
1691 struct MemberTraits
1692 {
1693 enum { Count = 1 };
1694
1695 typedef Bits FirstArgType;
1696 };
1697
1699 ONIXS_B3_UMDF_MD_NODISCARD
1700 bool implied() const
1701 noexcept
1702 {
1703 return 0 != (bits_ & 0x10);
1704 }
1705
1707 ONIXS_B3_UMDF_MD_NODISCARD
1708 bool recoveryMsg() const
1709 noexcept
1710 {
1711 return 0 != (bits_ & 0x20);
1712 }
1713
1715 ONIXS_B3_UMDF_MD_NODISCARD
1716 bool endOfEvent() const
1717 noexcept
1718 {
1719 return 0 != (bits_ & 0x80);
1720 }
1721
1723 Bits bits() const
1724 noexcept
1725 {
1726 return bits_;
1727 }
1728
1730 explicit
1732 noexcept
1733 : bits_(bits)
1734 {
1735 }
1736
1738 ONIXS_B3_UMDF_MD_NODISCARD
1739 std::string
1740 toString() const;
1741
1743 ONIXS_B3_UMDF_MD_NODISCARD
1744 bool
1745 operator!=(
1746 const MatchEventIndicator& other) const
1747 noexcept
1748 {
1749 return !(*this == other);
1750 }
1751
1753 ONIXS_B3_UMDF_MD_NODISCARD
1754 bool
1755 operator==(
1756 const MatchEventIndicator& other) const
1757 noexcept
1758 {
1759 return this->bits_ == other.bits_;
1760 }
1761
1762private:
1763 Bits bits_;
1764};
1765
1766
1768typedef
1769IntegralConstant<Int8, -128>
1771
1772
1774typedef
1775IntegralConstant<Int16, -32768>
1777
1778
1780typedef
1781IntegralConstant<Int32, -2147483647-1>
1783
1784
1786typedef
1787IntegralConstant<Int64, -9223372036854775807LL-1>
1789
1790
1792typedef
1795
1796
1798typedef
1801
1802
1804typedef
1807
1808
1810typedef
1813
1814
1816typedef
1819
1820
1822typedef
1825
1826
1828typedef
1831
1832
1834typedef
1837
1838
1840typedef
1843
1844
1846typedef
1849
1850
1852typedef
1855
1856
1858typedef
1861
1862
1864typedef
1867
1868
1870typedef
1873
1874
1876typedef
1877IntegralConstant<Int64, -9223372036854775807LL-1>
1879
1880
1882typedef
1883IntegralConstant<Int64, -9223372036854775807LL-1>
1885
1886
1888typedef
1889IntegralConstant<Int64, -9223372036854775807LL-1>
1891
1892
1894typedef
1895IntegralConstant<Int64, -9223372036854775807LL-1>
1897
1898
1900typedef
1903
1904
1906typedef
1909
1910
1912typedef
1915
1916
1918typedef
1921
1922
1924typedef
1927
1928
1930typedef
1933
1934
1936typedef
1939
1940
1942typedef
1945
1946
1948typedef
1951
1952
1954typedef
1957
1958
1960typedef
1963
1964
1966typedef
1969
1970
1972typedef
1975
1976
1978typedef
1979IntegralConstant<Int32, -2147483647-1>
1981
1982
1984typedef
1987
1988
1990typedef
1993
1994
1996typedef
1999
2000
2001
2003inline
2004ONIXS_B3_UMDF_MD_NODISCARD
2006localMktDateToTimestamp(LocalMktDate days) noexcept
2007{
2008 return Timestamp(TimeSpan(days, 0, 0, 0, 0).ticks());
2009}
2010
#define ONIXS_B3_UMDF_MD_MESSAGING_NAMESPACE_END
Definition ABI.h:158
#define ONIXS_B3_UMDF_MD_LTWT_STRUCT
Definition ABI.h:93
#define ONIXS_B3_UMDF_MD_MESSAGING_NAMESPACE_BEGIN
Definition ABI.h:153
Represents time interval.
Definition Time.h:123
Represents time point without time-zone information.
Definition Time.h:483
UInt32 NumberOfTrades
Contains the number of trades executed in the session.
Definition Fields.h:104
IntegralConstant< UInt64, 0ULL > NullNewsID
Null value for an optional NewsID field.
Definition Fields.h:1956
IntegralConstant< UInt32, 4294967295 > NullTradeID
Null value for an optional TradeID field.
Definition Fields.h:1914
IntegralConstant< Int32, -2147483647-1 > NullLocalMktDate32
Null value for an optional LocalMktDate32 field.
Definition Fields.h:1980
UInt16 LocalMktDate
Local date (as opposed to UTC).
Definition Fields.h:214
Int8 Int8
1-byte signed integer, from -128 to 127; if optional, null value is -128.
Definition Fields.h:34
Int64 QuantityVolume
Volume Quantity.
Definition Fields.h:122
UInt32 SeqNum
Sequence number inside the given channel.
Definition Fields.h:154
IntegralConstant< UInt32, 0 > NullEntryPositionNo
Null value for an optional EntryPositionNo field.
Definition Fields.h:1992
IntegralConstant< UInt32, 0 > NullUInt32NULL
Null value for an optional UInt32NULL field.
Definition Fields.h:1860
IntegralConstant< UInt16, 0 > NullLocalMktDateOptional
Null value for an optional LocalMktDateOptional field.
Definition Fields.h:1974
IntegralConstant< UInt32, 0 > NullRptSeq
Null value for an optional RptSeq field.
Definition Fields.h:1944
IntegralConstant< Int8, -128 > NullInt8
Null value for an optional Int8 field.
Definition Fields.h:1770
UInt16 UInt16NULL
2-byte unsigned integer, from 1 to 65535, NULL (optional) value = 0.
Definition Fields.h:90
Int64 Int64
8-byte signed integer, from -9223372036854775808 (-2^63) to 9223372036854775807 (2^63-1).
Definition Fields.h:46
IntegralConstant< Int32, -2147483647-1 > NullInt32
Null value for an optional Int32 field.
Definition Fields.h:1782
UInt64 OrderID
Unique identifier for Order as assigned by the exchange.
Definition Fields.h:142
Char Currency[3]
3-letter alphabetic ISO Currency Codes (ISO 4217).
Definition Fields.h:204
IntegralConstant< UInt64, 0ULL > NullSecurityIDOptional
Null value for an optional SecurityIDOptional field.
Definition Fields.h:1938
IntegralConstant< UInt32, 4294967295 > NullSeqNum1
Null value for an optional SeqNum1 field.
Definition Fields.h:1926
Char SecurityExchange[4]
Security Exchange Code.
Definition Fields.h:180
IntegralConstant< Int32, 0 > NullInt32NULL
Null value for an optional Int32NULL field.
Definition Fields.h:1830
Int8 Int8NULL
1-byte signed integer, from -128 to 127, NULL (optional) value = 0.
Definition Fields.h:66
UInt64 UInt64
8-byte unsigned integer, from 0 to 18446744073709551615 (2^64-1).
Definition Fields.h:62
IntegralConstant< UInt32, 1 > SeqNum1
Sequence Number, fixed to 1.
Definition Fields.h:162
UInt32 TradeID
Contains the unique identifier for this trade per instrument + trading date, as assigned by the excha...
Definition Fields.h:148
Int32 LocalMktDate32
Local date (as opposed to UTC).
Definition Fields.h:226
Int32 Int32NULL
4-byte signed integer, from -2147483648 (-2^31) to 2147483647 (2^31-1), NULL (optional) value = 0.
Definition Fields.h:74
UInt64 SecurityIDOptional
Security ID as defined by B3's Trading System.
Definition Fields.h:174
IntegralConstant< UInt64, 0ULL > NullUInt64NULL
Null value for an optional UInt64NULL field.
Definition Fields.h:1866
UInt64 SecurityID
Security ID as defined by B3's Trading System.
Definition Fields.h:168
IntegralConstant< UInt32, 0 > NullFirmOptional
Null value for an optional FirmOptional field.
Definition Fields.h:1902
IntegralConstant< UInt64, 0ULL > NullClearingHouseID
Null value for an optional ClearingHouseID field.
Definition Fields.h:1950
Int32 Int32
4-byte signed integer, from -2147483648 to 2147483647; if optional, null value is -2147483648.
Definition Fields.h:42
IntegralConstant< Char, 0 > NullCharNULL
Null value for an optional CharNULL field.
Definition Fields.h:1842
IntegralConstant< Int16, -32768 > NullInt16
Null value for an optional Int16 field.
Definition Fields.h:1776
IntegralConstant< UInt64, 18446744073709551615ULL > NullUInt64
Null value for an optional UInt64 field.
Definition Fields.h:1812
IntegralConstant< UInt16, 65535 > NullLocalMktDate
Null value for an optional LocalMktDate field.
Definition Fields.h:1968
IntegralConstant< UInt64, 18446744073709551615ULL > NullOrderID
Null value for an optional OrderID field.
Definition Fields.h:1908
IntegralConstant< UInt8, 255 > NullUInt8
Null value for an optional UInt8 field.
Definition Fields.h:1794
char Char
Character type alias.
Definition String.h:30
Char CharNULL
1 ASCII character, NULL (optional) value is '\0'.
Definition Fields.h:82
Int64 QuantityOptional
Quantity in order/trade.
Definition Fields.h:116
UInt16 LocalMktDateOptional
Optional local date (as opposed to UTC).
Definition Fields.h:220
IntegralConstant< UInt64, 18446744073709551615ULL > NullSecurityID
Null value for an optional SecurityID field.
Definition Fields.h:1932
UInt8 MarketSegmentID
Identifies the market segment.
Definition Fields.h:240
Int16 Int16NULL
2-byte unsigned integer, from -32768 to 32767, NULL (optional) value = 0.
Definition Fields.h:70
UInt32 RptSeq
Sequence number per instrument update.
Definition Fields.h:186
Int32 LocalMktDate32Optional
Optional local date (as opposed to UTC).
Definition Fields.h:234
IntegralConstant< Int64, -9223372036854775807LL-1 > NullInt64
Null value for an optional Int64 field.
Definition Fields.h:1788
IntegralConstant< Int32, 0 > NullLocalMktDate32Optional
Null value for an optional LocalMktDate32Optional field.
Definition Fields.h:1986
IntegralConstant< Int16, 0 > NullInt16NULL
Null value for an optional Int16NULL field.
Definition Fields.h:1824
IntegralConstant< Int64, -9223372036854775807LL-1 > NullQuantityOptional
Null value for an optional QuantityOptional field.
Definition Fields.h:1884
UInt32 UInt32
4-byte unsigned integer, from 0 to 4294967295 (2^32-1).
Definition Fields.h:58
IntegralConstant< Int64, -9223372036854775807LL-1 > NullQuantity
Null value for an optional Quantity field.
Definition Fields.h:1878
Int64 QuantityVolumeOptional
Volume Quantity.
Definition Fields.h:130
IntegralConstant< UInt32, 4294967295 > NullUInt32
Null value for an optional UInt32 field.
Definition Fields.h:1806
IntegralConstant< UInt8, 0 > NullUInt8NULL
Null value for an optional UInt8NULL field.
Definition Fields.h:1848
UInt32 FirmOptional
Identifies the broker firm.
Definition Fields.h:136
IntegralConstant< UInt16, 65535 > NullSettlType
Null value for an optional SettlType field.
Definition Fields.h:1962
Int64 Quantity
Quantity in order/trade.
Definition Fields.h:110
IntegralConstant< UInt32, 4294967295 > NullNumberOfTrades
Null value for an optional NumberOfTrades field.
Definition Fields.h:1872
UInt32 UInt32NULL
4-byte unsigned integer, from 1 to 4294967295 (2^32-1), NULL (optional) value = 0.
Definition Fields.h:94
IntegralConstant< Int8, 0 > NullInt8NULL
Null value for an optional Int8NULL field.
Definition Fields.h:1818
IntegralConstant< Int64, -9223372036854775807LL-1 > NullQuantityVolumeOptional
Null value for an optional QuantityVolumeOptional field.
Definition Fields.h:1896
UInt64 UInt64NULL
8-byte unsigned integer, from 1 to 18446744073709551615 (2^64-1), NULL (optional) value = 0.
Definition Fields.h:98
UInt64 ClearingHouseID
ClearingHouseID (SecurityAltID).
Definition Fields.h:192
IntegralConstant< Int64, 0LL > NullInt64NULL
Null value for an optional Int64NULL field.
Definition Fields.h:1836
Int16 Int16
2-byte signed integer, from -32768 to 32767; if optional, null value is -32768.
Definition Fields.h:38
IntegralConstant< UInt32, 4294967295 > NullSeqNum
Null value for an optional SeqNum field.
Definition Fields.h:1920
UInt8 UInt8
1-byte unsigned integer, from 0 to 255.
Definition Fields.h:50
IntegralConstant< UInt8, 0 > NullMarketSegmentID
Null value for an optional MarketSegmentID field.
Definition Fields.h:1998
UInt16 UInt16
2-byte unsigned integer, from 0 to 65535.
Definition Fields.h:54
UInt8 UInt8NULL
1-byte unsigned integer, from 1 to 255, NULL (optional) value = 0.
Definition Fields.h:86
Int64 Int64NULL
8-byte signed integer, from -9223372036854775808 (-2^63) to 9223372036854775807 (2^63-1),...
Definition Fields.h:78
IntegralConstant< UInt16, 0 > NullUInt16NULL
Null value for an optional UInt16NULL field.
Definition Fields.h:1854
UInt16 SettlType
Indicates order settlement period in days. (e.g. 0, D1, D2, D3, D60, D120 etc.) If present,...
Definition Fields.h:208
IntegralConstant< UInt16, 65535 > NullUInt16
Null value for an optional UInt16 field.
Definition Fields.h:1800
IntegralConstant< Int64, -9223372036854775807LL-1 > NullQuantityVolume
Null value for an optional QuantityVolume field.
Definition Fields.h:1890
bool operator==(const TimeSpan &left, const TimeSpan &right)
Compares with other instance for equality.
Definition Time.h:327
Which side is aggressor of this trade.
Definition Fields.h:753
Enum
Which side is aggressor of this trade.
Definition Fields.h:758
Specifies the service pack release being applied at message level.
Definition Fields.h:1187
Enum
Specifies the service pack release being applied at message level.
Definition Fields.h:1192
@ SECURITY_TRADING_STATE_PHASE
Security Trading State / Phase.
Definition Fields.h:1094
@ TRADE_BUST
Trade busted by Market Supervision.
Definition Fields.h:1112
@ EXECUTION_STATISTICS
Execution Statistics for related Trades.
Definition Fields.h:1079
@ TRADE
Trade or Trade Summary or Last Trade Price.
Definition Fields.h:1058
@ COMPOSITE_UNDERLYING_PRICE
Composite Underlying Price.
Definition Fields.h:1103
@ EXECUTION_SUMMARY
Execution Summary for related Trades.
Definition Fields.h:1106
Type of exercise of a derivatives security.
Definition Fields.h:535
Enum
Type of exercise of a derivatives security.
Definition Fields.h:540
Corporative governance level indicator.
Definition Fields.h:691
Enum
Corporative governance level indicator. Required for cash equities.
Definition Fields.h:696
Set of conditions describing an imbalance.
Definition Fields.h:1471
ImbalanceCondition(Bits bits=0) noexcept
Constructs from a value.
Definition Fields.h:1517
UInt16 Bits
Aliases integral type whose bits are used to indicate flag presence.
Definition Fields.h:1475
Indicates that an implied order can be created for the instrument.
Definition Fields.h:1420
Enum
Indicates that an implied order can be created for the instrument.
Definition Fields.h:1425
Code to represent the type of instrument attributes.
Definition Fields.h:1292
Enum
Code to represent the type of instrument attributes.
Definition Fields.h:1297
@ TRADE_TYPE_ELIGIBILITY
Trade type eligibility details for security.
Definition Fields.h:1299
Code to represent the type of instrument attributes.
Definition Fields.h:1315
Enum
Code to represent the type of instrument attributes.
Definition Fields.h:1320
@ ELECTRONIC_MATCH_OR_GTD_GTC_ELIGIBLE
Electronic Match Eligible (871=24) or GTD/GTC Eligible (871=34).
Definition Fields.h:1322
@ BLOCK_TRADE_ELIGIBLE
Block Trade Eligible (871=24).
Definition Fields.h:1328
@ NEGOTIATED_QUOTE_ELIGIBLE
Negotiated Quote Eligible (871=24).
Definition Fields.h:1334
@ FLAG_RFQ_FOR_CROSS_ELIGIBLE
Request for Quote (RFQ) for Cross Eligible (871=24).
Definition Fields.h:1331
@ ORDER_CROSS_ELIGIBLE
Order Cross Eligible (871=24).
Definition Fields.h:1325
Describes the lot type for the instruments.
Definition Fields.h:394
Enum
Describes the lot type for the instruments. Used for the Equities segment.
Definition Fields.h:399
Set of indicators that identify some market data events.
Definition Fields.h:1677
MatchEventIndicator(Bits bits=0) noexcept
Constructs from a value.
Definition Fields.h:1731
UInt8 Bits
Aliases integral type whose bits are used to indicate flag presence.
Definition Fields.h:1681
@ Sequence
Sequence message for heartbeat.
Definition Fields.h:254
@ MarketDataIncrementalRefresh
Market Data Incremental Refresh.
Definition Fields.h:260
@ MarketDataSnapshotFullRefresh
Market Data Full Refresh.
Definition Fields.h:272
Specifies the type of multileg order. Defines whether the security is pre-defined or user-defined.
Definition Fields.h:1234
Enum
Specifies the type of multileg order. Defines whether the security is pre-defined or user-defined.
Definition Fields.h:1239
@ PREDEFINED
Predefined Multileg Security.
Definition Fields.h:1241
@ USER_DEFINED
User-Defined Multileg Security.
Definition Fields.h:1244
Code to represent how the multileg price is to be interpreted when applied to the legs.
Definition Fields.h:1257
Enum
Code to represent how the multileg price is to be interpreted when applied to the legs.
Definition Fields.h:1262
@ CONTRACT_WEIGHTED_AVERAGE_PRICE
Contract Weighted Average Price.
Definition Fields.h:1276
@ BOVESPA_COMPANIES_AGENCY
BOVESPA – Companies Agency.
Definition Fields.h:1174
@ BOVESPA_INDEX_AGENCY
BOVESPA – Index Agency.
Definition Fields.h:1165
@ MKT_OPS_DERIVATIVES_AGENCY
Mkt Ops Derivatives Agency.
Definition Fields.h:1153
@ MKT_OPS_EQUITIES_AGENCY
Mkt Ops Equities Agency.
Definition Fields.h:1171
@ OVER_THE_COUNTER_NEWS_AGENCY
Over-the-counter News Agency.
Definition Fields.h:1156
@ ELECTRONIC_PURCHASE_EXCHANGE
Electronic Purchase Exchange.
Definition Fields.h:1159
@ BOVESPA_INSTITUTIONAL_AGENCY
BOVESPA – Institutional Agency.
Definition Fields.h:1168
Flag that identifies if the opening/closing/settlement price is related to theoretical,...
Definition Fields.h:865
Enum
Flag that identifies if the opening/closing/settlement price is related to theoretical,...
Definition Fields.h:870
@ EXPECTED_ENTRY
Expected entry (preliminary price).
Definition Fields.h:878
@ ENTRY_FROM_PREVIOUS_BUSINESS_DAY
Entry from previous business day.
Definition Fields.h:881
Indicates the type of payout that will result from an in-the-money option.
Definition Fields.h:1445
Enum
Indicates the type of payout that will result from an in-the-money option.
Definition Fields.h:1450
Band Midpoint Type, used with Auction Price Banding.
Definition Fields.h:927
Enum
Band Midpoint Type, used with Auction Price Banding.
Definition Fields.h:932
Indicates the type of price banding (tunnel).
Definition Fields.h:834
Enum
Indicates the type of price banding (tunnel).
Definition Fields.h:839
Describes how the price limits are expressed.
Definition Fields.h:899
Enum
Describes how the price limits are expressed.
Definition Fields.h:904
Code to represent the price type.
Definition Fields.h:583
Enum
Code to represent the price type. If absent (zero), the default value is DECIMALS.
Definition Fields.h:588
@ FIXED_AMOUNT
Fixed amount (absolute value).
Definition Fields.h:596
@ PU
Per unit (i.e., per share or contract).
Definition Fields.h:593
Indicates the type of product the security is associated with.
Definition Fields.h:422
Enum
Indicates the type of product the security is associated with.
Definition Fields.h:427
Indicates whether an option contract is a put or call.
Definition Fields.h:558
Enum
Indicates whether an option contract is a put or call.
Definition Fields.h:563
Identifies class or source of the SecurityID value.
Definition Fields.h:1349
Enum
Identifies class or source of the SecurityID value.
Definition Fields.h:1354
Enum
Type of matching that occurred. Required for Special Auctions.
Definition Fields.h:736
Identifies an event related to a Trade.
Definition Fields.h:806
Enum
Identifies an event related to a Trade. This tag is also used to mark when an instrument state is kep...
Definition Fields.h:811
@ SECURITY_STATUS_CHANGE
Security Status maintained separately from Group Status.
Definition Fields.h:816
@ SECURITY_REJOINS_SECURITY_GROUP_STATUS
Security Status following Group Status.
Definition Fields.h:819
Status related to a given Instrument or phase related to a SecurityGroup where the instrument belongs...
Definition Fields.h:611
Enum
Status related to a given Instrument or phase related to a SecurityGroup where the instrument belongs...
Definition Fields.h:616
@ FORBIDDEN
Not Available For Trading (Forbidden).
Definition Fields.h:627
Indicates the type of the security.
Definition Fields.h:465
Enum
Indicates the type of the security.
Definition Fields.h:470
@ DTERM
Derivative Forward or 'Termo'.
Definition Fields.h:481
Action used when updating the security.
Definition Fields.h:366
Enum
Action used when updating the security.
Definition Fields.h:371
Set of conditions describing a trade.
Definition Fields.h:1554
TradeCondition(Bits bits=0) noexcept
Constructs from a value.
Definition Fields.h:1640
UInt16 Bits
Aliases integral type whose bits are used to indicate flag presence.
Definition Fields.h:1558
Phase related to a SecurityGroup where the instrument belongs to.
Definition Fields.h:781
Enum
Phase related to a SecurityGroup where the instrument belongs to.
Definition Fields.h:786
@ NON_REGULAR_TRADING_SESSION
Non-Regular Session (after hours).
Definition Fields.h:791
Status related to a given Instrument or phase related to a SecurityGroup where the instrument belongs...
Definition Fields.h:651
Enum
Status related to a given Instrument or phase related to a SecurityGroup where the instrument belongs...
Definition Fields.h:656
@ FORBIDDEN
Not Available For Trading (Forbidden).
Definition Fields.h:667
Sub type of trade assigned to a trade.
Definition Fields.h:1374
Enum
Sub type of trade assigned to a trade.
Definition Fields.h:1379
@ TAA_TRADE
Trade at Average Trade (TA).
Definition Fields.h:1402
@ MULTI_ASSET_TRADE
Multi Asset Trade (Termo Vista).
Definition Fields.h:1381
@ RF_TRADE
Equities: RFQ Trade, Futures: Fixed Income Trade (RF).
Definition Fields.h:1393
Indicates the Underlying Instrument price type reflected in Index value.
Definition Fields.h:983
Enum
Indicates the Underlying Instrument price type reflected in Index value. Used for Composite Underlyin...
Definition Fields.h:988
Types of Market Data update action.
Definition Fields.h:1008
Enum
Types of Market Data update action.
Definition Fields.h:1013