OnixS C++ B3 Binary UMDF Market Data Handler 1.11.1
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
277 static
278 std::string
279 toString(
280 Enum);
281};
282
287{
288 typedef UInt8 Base;
289
291 enum Enum
292 {
295
298 };
299
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
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
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
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
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
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
525 static
526 std::string
527 toString(
528 Enum);
529};
530
535{
536 typedef UInt8 Base;
537
539 enum Enum
540 {
543
546 };
547
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
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
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
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
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
721 static
722 std::string
723 toString(
724 Enum);
725};
726
731{
732 typedef UInt8 Base;
733
735 enum Enum
736 {
739 };
740
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
771 static
772 std::string
773 toString(
774 Enum);
775};
776
781{
782 typedef UInt8 Base;
783
793
796 static
797 std::string
798 toString(
799 Enum);
800};
801
806{
807 typedef UInt8 Base;
808
821
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
855 static
856 std::string
857 toString(
858 Enum);
859};
860
865{
866 typedef UInt8 Base;
867
886
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
917 static
918 std::string
919 toString(
920 Enum);
921};
922
927{
928 typedef UInt8 Base;
929
942
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
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
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
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
1117 static
1118 std::string
1119 toString(
1120 Enum);
1121};
1122
1125{
1126 typedef UInt8 Base;
1127
1176
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
1226 static
1227 std::string
1228 toString(
1229 Enum);
1230};
1231
1234{
1235 typedef UInt8 Base;
1236
1238 enum Enum
1239 {
1242
1245 };
1246
1249 static
1250 std::string
1251 toString(
1252 Enum);
1253};
1254
1257{
1258 typedef UInt8 Base;
1259
1281
1284 static
1285 std::string
1286 toString(
1287 Enum);
1288};
1289
1292{
1293 typedef UInt8 Base;
1294
1307
1310 static
1311 std::string
1312 toString(
1313 Enum);
1314};
1315
1318{
1319 typedef UInt8 Base;
1320
1339
1342 static
1343 std::string
1344 toString(
1345 Enum);
1346};
1347
1352{
1353 typedef Char Base;
1354
1356 enum Enum
1357 {
1359 ISIN = '4',
1360
1363 };
1364
1367 static
1368 std::string
1369 toString(
1370 Enum);
1371};
1372
1377{
1378 typedef UInt8 Base;
1379
1381 enum Enum
1382 {
1385
1388
1391
1394
1397
1400
1403
1406
1409 };
1410
1413 static
1414 std::string
1415 toString(
1416 Enum);
1417};
1418
1423{
1424 typedef UInt8 Base;
1425
1427 enum Enum
1428 {
1431
1434 };
1435
1438 static
1439 std::string
1440 toString(
1441 Enum);
1442};
1443
1448{
1449 typedef UInt8 Base;
1450
1452 enum Enum
1453 {
1456
1459
1462 };
1463
1466 static
1467 std::string
1468 toString(
1469 Enum);
1470};
1471
1474{
1475public:
1478 typedef UInt16 Bits;
1479
1480 enum
1481 {
1482 Size = sizeof(Bits)
1483 };
1484
1485
1488 struct MemberTraits
1489 {
1490 enum { Count = 1 };
1491
1492 typedef Bits FirstArgType;
1493 };
1494
1498 noexcept
1499 {
1500 return 0 != (bits_ & 0x100);
1501 }
1502
1506 noexcept
1507 {
1508 return 0 != (bits_ & 0x200);
1509 }
1510
1512 Bits bits() const
1513 noexcept
1514 {
1515 return bits_;
1516 }
1517
1519 explicit
1521 noexcept
1522 : bits_(bits)
1523 {
1524 }
1525
1528 std::string
1529 toString() const;
1530
1533 bool
1535 const ImbalanceCondition& other) const
1536 noexcept
1537 {
1538 return !(*this == other);
1539 }
1540
1543 bool
1545 const ImbalanceCondition& other) const
1546 noexcept
1547 {
1548 return this->bits_ == other.bits_;
1549 }
1550
1551private:
1552 Bits bits_;
1553};
1554
1557{
1558public:
1561 typedef UInt16 Bits;
1562
1563 enum
1564 {
1565 Size = sizeof(Bits)
1566 };
1567
1568
1571 struct MemberTraits
1572 {
1573 enum { Count = 1 };
1574
1575 typedef Bits FirstArgType;
1576 };
1577
1580 bool openingPrice() const
1581 noexcept
1582 {
1583 return 0 != (bits_ & 0x1);
1584 }
1585
1588 bool crossed() const
1589 noexcept
1590 {
1591 return 0 != (bits_ & 0x2);
1592 }
1593
1597 noexcept
1598 {
1599 return 0 != (bits_ & 0x4);
1600 }
1601
1604 bool outOfSequence() const
1605 noexcept
1606 {
1607 return 0 != (bits_ & 0x8);
1608 }
1609
1612 bool tradeOnBehalf() const
1613 noexcept
1614 {
1615 return 0 != (bits_ & 0x40);
1616 }
1617
1620 bool regularTrade() const
1621 noexcept
1622 {
1623 return 0 != (bits_ & 0x2000);
1624 }
1625
1628 bool blockTrade() const
1629 noexcept
1630 {
1631 return 0 != (bits_ & 0x4000);
1632 }
1633
1635 Bits bits() const
1636 noexcept
1637 {
1638 return bits_;
1639 }
1640
1642 explicit
1644 noexcept
1645 : bits_(bits)
1646 {
1647 }
1648
1651 std::string
1652 toString() const;
1653
1656 bool
1658 const TradeCondition& other) const
1659 noexcept
1660 {
1661 return !(*this == other);
1662 }
1663
1666 bool
1668 const TradeCondition& other) const
1669 noexcept
1670 {
1671 return this->bits_ == other.bits_;
1672 }
1673
1674private:
1675 Bits bits_;
1676};
1677
1680{
1681public:
1684 typedef UInt8 Bits;
1685
1686 enum
1687 {
1688 Size = sizeof(Bits)
1689 };
1690
1691
1694 struct MemberTraits
1695 {
1696 enum { Count = 1 };
1697
1698 typedef Bits FirstArgType;
1699 };
1700
1703 bool implied() const
1704 noexcept
1705 {
1706 return 0 != (bits_ & 0x10);
1707 }
1708
1711 bool recoveryMsg() const
1712 noexcept
1713 {
1714 return 0 != (bits_ & 0x20);
1715 }
1716
1719 bool endOfEvent() const
1720 noexcept
1721 {
1722 return 0 != (bits_ & 0x80);
1723 }
1724
1726 Bits bits() const
1727 noexcept
1728 {
1729 return bits_;
1730 }
1731
1733 explicit
1735 noexcept
1736 : bits_(bits)
1737 {
1738 }
1739
1742 std::string
1743 toString() const;
1744
1747 bool
1749 const MatchEventIndicator& other) const
1750 noexcept
1751 {
1752 return !(*this == other);
1753 }
1754
1757 bool
1759 const MatchEventIndicator& other) const
1760 noexcept
1761 {
1762 return this->bits_ == other.bits_;
1763 }
1764
1765private:
1766 Bits bits_;
1767};
1768
1769
1771typedef
1772IntegralConstant<Int8, -128>
1774
1775
1777typedef
1778IntegralConstant<Int16, -32768>
1780
1781
1783typedef
1784IntegralConstant<Int32, -2147483647-1>
1786
1787
1789typedef
1790IntegralConstant<Int64, -9223372036854775807LL-1>
1792
1793
1795typedef
1798
1799
1801typedef
1804
1805
1807typedef
1810
1811
1813typedef
1816
1817
1819typedef
1822
1823
1825typedef
1828
1829
1831typedef
1834
1835
1837typedef
1840
1841
1843typedef
1846
1847
1849typedef
1852
1853
1855typedef
1858
1859
1861typedef
1864
1865
1867typedef
1870
1871
1873typedef
1876
1877
1879typedef
1880IntegralConstant<Int64, -9223372036854775807LL-1>
1882
1883
1885typedef
1886IntegralConstant<Int64, -9223372036854775807LL-1>
1888
1889
1891typedef
1892IntegralConstant<Int64, -9223372036854775807LL-1>
1894
1895
1897typedef
1898IntegralConstant<Int64, -9223372036854775807LL-1>
1900
1901
1903typedef
1906
1907
1909typedef
1912
1913
1915typedef
1918
1919
1921typedef
1924
1925
1927typedef
1930
1931
1933typedef
1936
1937
1939typedef
1942
1943
1945typedef
1948
1949
1951typedef
1954
1955
1957typedef
1960
1961
1963typedef
1966
1967
1969typedef
1972
1973
1975typedef
1978
1979
1981typedef
1982IntegralConstant<Int32, -2147483647-1>
1984
1985
1987typedef
1990
1991
1993typedef
1996
1997
1999typedef
2002
2003
2004
2006inline
2010{
2011 return Timestamp(TimeSpan(days, 0, 0, 0, 0).ticks());
2012}
2013
#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
#define ONIXS_B3_UMDF_MD_NODISCARD
Definition Compiler.h:131
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:1959
IntegralConstant< UInt32, 4294967295 > NullTradeID
Null value for an optional TradeID field.
Definition Fields.h:1917
IntegralConstant< Int32, -2147483647-1 > NullLocalMktDate32
Null value for an optional LocalMktDate32 field.
Definition Fields.h:1983
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:1995
IntegralConstant< UInt32, 0 > NullUInt32NULL
Null value for an optional UInt32NULL field.
Definition Fields.h:1863
IntegralConstant< UInt16, 0 > NullLocalMktDateOptional
Null value for an optional LocalMktDateOptional field.
Definition Fields.h:1977
IntegralConstant< UInt32, 0 > NullRptSeq
Null value for an optional RptSeq field.
Definition Fields.h:1947
IntegralConstant< Int8, -128 > NullInt8
Null value for an optional Int8 field.
Definition Fields.h:1773
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:1785
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:1941
IntegralConstant< UInt32, 4294967295 > NullSeqNum1
Null value for an optional SeqNum1 field.
Definition Fields.h:1929
Char SecurityExchange[4]
Security Exchange Code.
Definition Fields.h:180
IntegralConstant< Int32, 0 > NullInt32NULL
Null value for an optional Int32NULL field.
Definition Fields.h:1833
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:1869
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:1905
IntegralConstant< UInt64, 0ULL > NullClearingHouseID
Null value for an optional ClearingHouseID field.
Definition Fields.h:1953
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:1845
IntegralConstant< Int16, -32768 > NullInt16
Null value for an optional Int16 field.
Definition Fields.h:1779
IntegralConstant< UInt64, 18446744073709551615ULL > NullUInt64
Null value for an optional UInt64 field.
Definition Fields.h:1815
IntegralConstant< UInt16, 65535 > NullLocalMktDate
Null value for an optional LocalMktDate field.
Definition Fields.h:1971
IntegralConstant< UInt64, 18446744073709551615ULL > NullOrderID
Null value for an optional OrderID field.
Definition Fields.h:1911
IntegralConstant< UInt8, 255 > NullUInt8
Null value for an optional UInt8 field.
Definition Fields.h:1797
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:1935
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:1791
IntegralConstant< Int32, 0 > NullLocalMktDate32Optional
Null value for an optional LocalMktDate32Optional field.
Definition Fields.h:1989
IntegralConstant< Int16, 0 > NullInt16NULL
Null value for an optional Int16NULL field.
Definition Fields.h:1827
IntegralConstant< Int64, -9223372036854775807LL-1 > NullQuantityOptional
Null value for an optional QuantityOptional field.
Definition Fields.h:1887
Timestamp localMktDateToTimestamp(LocalMktDate days) noexcept
Converts days since epoch to Timestamp value.
Definition Fields.h:2009
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:1881
Int64 QuantityVolumeOptional
Volume Quantity.
Definition Fields.h:130
IntegralConstant< UInt32, 4294967295 > NullUInt32
Null value for an optional UInt32 field.
Definition Fields.h:1809
IntegralConstant< UInt8, 0 > NullUInt8NULL
Null value for an optional UInt8NULL field.
Definition Fields.h:1851
UInt32 FirmOptional
Identifies the broker firm.
Definition Fields.h:136
IntegralConstant< UInt16, 65535 > NullSettlType
Null value for an optional SettlType field.
Definition Fields.h:1965
Int64 Quantity
Quantity in order/trade.
Definition Fields.h:110
IntegralConstant< UInt32, 4294967295 > NullNumberOfTrades
Null value for an optional NumberOfTrades field.
Definition Fields.h:1875
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:1821
IntegralConstant< Int64, -9223372036854775807LL-1 > NullQuantityVolumeOptional
Null value for an optional QuantityVolumeOptional field.
Definition Fields.h:1899
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:1839
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:1923
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:2001
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:1857
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:1803
IntegralConstant< Int64, -9223372036854775807LL-1 > NullQuantityVolume
Null value for an optional QuantityVolume field.
Definition Fields.h:1893
Messaging::Int8 Int8
Definition Integral.h:30
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
bool operator==(const ImbalanceCondition &other) const noexcept
Compares encoded data.
Definition Fields.h:1544
bool imbalanceMoreSellers() const noexcept
Indicates whether ImbalanceMoreSellers bit is set.
Definition Fields.h:1505
bool operator!=(const ImbalanceCondition &other) const noexcept
Compares encoded data.
Definition Fields.h:1534
ImbalanceCondition(Bits bits=0) noexcept
Constructs from a value.
Definition Fields.h:1520
UInt16 Bits
Aliases integral type whose bits are used to indicate flag presence.
Definition Fields.h:1478
bool imbalanceMoreBuyers() const noexcept
Indicates whether ImbalanceMoreBuyers bit is set.
Definition Fields.h:1497
Indicates that an implied order can be created for the instrument.
Definition Fields.h:1423
Enum
Indicates that an implied order can be created for the instrument.
Definition Fields.h:1428
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
@ TEST_INSTRUMENT
Instrument that is tradable but has no effect on the positions, exchange turnover etc.
Definition Fields.h:1305
@ TRADE_TYPE_ELIGIBILITY
Trade type eligibility details for security.
Definition Fields.h:1299
Code to represent the type of instrument attributes.
Definition Fields.h:1318
Enum
Code to represent the type of instrument attributes.
Definition Fields.h:1323
@ ELECTRONIC_MATCH_OR_GTD_GTC_ELIGIBLE
Electronic Match Eligible (871=24) or GTD/GTC Eligible (871=34) or test instrument indicator (871=35)...
Definition Fields.h:1325
@ BLOCK_TRADE_ELIGIBLE
Block Trade Eligible (871=24).
Definition Fields.h:1331
@ NEGOTIATED_QUOTE_ELIGIBLE
Negotiated Quote Eligible (871=24).
Definition Fields.h:1337
@ FLAG_RFQ_FOR_CROSS_ELIGIBLE
Request for Quote (RFQ) for Cross Eligible (871=24).
Definition Fields.h:1334
@ ORDER_CROSS_ELIGIBLE
Order Cross Eligible (871=24).
Definition Fields.h:1328
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
bool endOfEvent() const noexcept
Indicates whether EndOfEvent bit is set.
Definition Fields.h:1719
bool operator==(const MatchEventIndicator &other) const noexcept
Compares encoded data.
Definition Fields.h:1758
MatchEventIndicator(Bits bits=0) noexcept
Constructs from a value.
Definition Fields.h:1734
UInt8 Bits
Aliases integral type whose bits are used to indicate flag presence.
Definition Fields.h:1684
bool implied() const noexcept
Indicates whether Implied bit is set.
Definition Fields.h:1703
bool recoveryMsg() const noexcept
Indicates whether RecoveryMsg bit is set.
Definition Fields.h:1711
bool operator!=(const MatchEventIndicator &other) const noexcept
Compares encoded data.
Definition Fields.h:1748
@ 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:1448
Enum
Indicates the type of payout that will result from an in-the-money option.
Definition Fields.h:1453
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:1352
Enum
Identifies class or source of the SecurityID value.
Definition Fields.h:1357
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
TradeCondition(Bits bits=0) noexcept
Constructs from a value.
Definition Fields.h:1643
bool blockTrade() const noexcept
Indicates whether BlockTrade bit is set.
Definition Fields.h:1628
bool operator!=(const TradeCondition &other) const noexcept
Compares encoded data.
Definition Fields.h:1657
bool tradeOnBehalf() const noexcept
Indicates whether TradeOnBehalf bit is set.
Definition Fields.h:1612
bool openingPrice() const noexcept
Indicates whether OpeningPrice bit is set.
Definition Fields.h:1580
bool crossed() const noexcept
Indicates whether Crossed bit is set.
Definition Fields.h:1588
bool operator==(const TradeCondition &other) const noexcept
Compares encoded data.
Definition Fields.h:1667
bool outOfSequence() const noexcept
Indicates whether OutOfSequence bit is set.
Definition Fields.h:1604
UInt16 Bits
Aliases integral type whose bits are used to indicate flag presence.
Definition Fields.h:1561
bool regularTrade() const noexcept
Indicates whether RegularTrade bit is set.
Definition Fields.h:1620
bool lastTradeAtTheSamePrice() const noexcept
Indicates whether LastTradeAtTheSamePrice bit is set.
Definition Fields.h:1596
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
Sub type of trade assigned to a trade.
Definition Fields.h:1377
Enum
Sub type of trade assigned to a trade.
Definition Fields.h:1382
@ TAA_TRADE
Trade at Average Trade (TA).
Definition Fields.h:1405
@ MULTI_ASSET_TRADE
Multi Asset Trade (Termo Vista).
Definition Fields.h:1384
@ RF_TRADE
Equities: RFQ Trade, Futures: Fixed Income Trade (RF).
Definition Fields.h:1396
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