OnixS C++ CME MDP Conflated UDP Handler 1.1.2
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
28ONIXS_CONFLATEDUDP_DATA_PACKING_BEGIN(1)
29
30
33typedef Char Asset[6];
34
35
39typedef Char CFICode[6];
40
41
43typedef Char CHAR;
44
45
49typedef Char CountryCode[2];
50
51
55typedef Char Currency[3];
56
57
59typedef
62
63
65typedef Int16 Int16;
66
67
69typedef Int32 Int32;
70
71
73typedef Int8 Int8;
74
75
80
81
85typedef Char LongName[35];
86
87
89typedef
92
93
95typedef
98
99
101typedef
104
105
107typedef
110
111
115typedef Char FeedType[3];
116
117
119typedef
122
123
125typedef
128
129
133typedef Char QuoteReqId[23];
134
135
139typedef
142
143
148
149
154
155
159typedef
162
163
168
169
174
175
179typedef Char String12[12];
180
181
185typedef Char String20[20];
186
187
191typedef Char String25[25];
192
193
197typedef Char String3[3];
198
199
203typedef Char String5[5];
204
205
209typedef Char String6[6];
210
211
215typedef Char String7[7];
216
217
221typedef Char String8[8];
222
223
227typedef Char Symbol[20];
228
229
233typedef Char Text[180];
234
235
240
241
245typedef Char UnitOfMeasure[30];
246
247
251typedef
252Char
254
255
258
259
262
263
266
267
269typedef UInt8 UInt8;
270
271
286
289{
290 typedef UInt8 Base;
291
292 enum Enum
293 {
296
298 Buy = 1,
299
302 };
303};
304
319
352
355{
356 typedef UInt8 Base;
357
358 enum Enum
359 {
362
365 };
366};
367
370{
371 typedef CHAR Base;
372
373 enum Enum
374 {
376 Bid = '0',
377
379 Offer = '1',
380
382 Trade = '2',
383
386
389
392
395
397 VWAP = '9',
398
401
404
407
410
413
416
419
422
425
428
431
434 };
435};
436
439{
440 typedef CHAR Base;
441
442 enum Enum
443 {
445 Bid = '0',
446
448 Offer = '1',
449
452
455
458
461
464 };
465};
466
487
490{
491 typedef CHAR Base;
492
493 enum Enum
494 {
497
500
502 LowTrade = '8',
503
505 VWAP = '9',
506
509
512 };
513};
514
517{
518 typedef UInt8 Base;
519
520 enum Enum
521 {
523 New = 0,
524
527
530
533
536
539 };
540};
541
544{
545 typedef UInt8 Base;
546
547 enum Enum
548 {
550 Money = 1,
551
553 Par = 2
554 };
555};
556
583
586{
587 typedef UInt8 Base;
588
589 enum Enum
590 {
592 New = 0,
593
596
599 };
600};
601
604{
605 typedef UInt8 Base;
606
607 enum Enum
608 {
611
614
617
620 };
621};
622
625{
626 typedef UInt8 Base;
627
628 enum Enum
629 {
631 Put = 0,
632
635 };
636};
637
640{
641 typedef UInt8 Base;
642
643 enum Enum
644 {
647
649 GC = 1,
650
653 };
654};
655
658{
659 typedef UInt8 Base;
660
661 enum Enum
662 {
664 CUSIP = 1,
665
668 };
669};
670
697
700{
701 typedef UInt8 Base;
702
703 enum Enum
704 {
707
709 Close = 4,
710
713
716
719
722
725
728
730 Cross = 25,
731
734
736 NoChange = 103,
737
740
743 };
744};
745
748{
749 typedef CHAR Base;
750
751 enum Enum
752 {
754 Add = 'A',
755
757 Delete = 'D',
758
760 Modify = 'M'
761 };
762};
763
766{
767 typedef UInt8 Base;
768
769 enum Enum
770 {
772 Buy = 1,
773
776 };
777};
778
799
802{
803public:
806 typedef UInt32 Bits;
807
810 {
811 return 0 != (bits_ & 0x1);
812 }
813
816 {
817 return 0 != (bits_ & 0x2);
818 }
819
822 {
823 return 0 != (bits_ & 0x4);
824 }
825
827 bool efpEligible() const
828 {
829 return 0 != (bits_ & 0x8);
830 }
831
833 bool ebfEligible() const
834 {
835 return 0 != (bits_ & 0x10);
836 }
837
839 bool efsEligible() const
840 {
841 return 0 != (bits_ & 0x20);
842 }
843
845 bool efrEligible() const
846 {
847 return 0 != (bits_ & 0x40);
848 }
849
851 bool otcEligible() const
852 {
853 return 0 != (bits_ & 0x80);
854 }
855
858 {
859 return 0 != (bits_ & 0x100);
860 }
861
864 {
865 return 0 != (bits_ & 0x200);
866 }
867
870 {
871 return 0 != (bits_ & 0x400);
872 }
873
875 bool isFractional() const
876 {
877 return 0 != (bits_ & 0x800);
878 }
879
882 {
883 return 0 != (bits_ & 0x1000);
884 }
885
887 bool rfqCrossEligible() const
888 {
889 return 0 != (bits_ & 0x2000);
890 }
891
894 {
895 return 0 != (bits_ & 0x4000);
896 }
897
900 {
901 return 0 != (bits_ & 0x8000);
902 }
903
906 {
907 return 0 != (bits_ & 0x10000);
908 }
909
912 {
913 return 0 != (bits_ & 0x20000);
914 }
915
918 {
919 return 0 != (bits_ & 0x40000);
920 }
921
924 {
925 return 0 != (bits_ & 0x80000);
926 }
927
930 {
931 return 0 != (bits_ & 0x100000);
932 }
933
936 {
937 return 0 != (bits_ & 0x200000);
938 }
939
941 bool invertedBook() const
942 {
943 return 0 != (bits_ & 0x400000);
944 }
945
947 bool isAoNInstrument() const
948 {
949 return 0 != (bits_ & 0x800000);
950 }
951
953 bool sefRegulated() const
954 {
955 return 0 != (bits_ & 0x1000000);
956 }
957
959 bool mtfRegulated() const
960 {
961 return 0 != (bits_ & 0x2000000);
962 }
963
965 bool eFIXInstrument() const
966 {
967 return 0 != (bits_ & 0x4000000);
968 }
969
971 bool hedgeInstrument() const
972 {
973 return 0 != (bits_ & 0x8000000);
974 }
975
977 inline Bits bits() const
978 {
979 return bits_;
980 }
981
983 : bits_(bits)
984 {
985 }
986
987private:
988 Bits bits_;
989};
990
993{
994public:
997 typedef UInt8 Bits;
998
1000 bool lastTradeMsg() const
1001 {
1002 return 0 != (bits_ & 0x1);
1003 }
1004
1006 bool lastVolumeMsg() const
1007 {
1008 return 0 != (bits_ & 0x2);
1009 }
1010
1012 bool lastQuoteMsg() const
1013 {
1014 return 0 != (bits_ & 0x4);
1015 }
1016
1018 bool lastStatsMsg() const
1019 {
1020 return 0 != (bits_ & 0x8);
1021 }
1022
1024 bool lastImpliedMsg() const
1025 {
1026 return 0 != (bits_ & 0x10);
1027 }
1028
1030 bool recoveryMsg() const
1031 {
1032 return 0 != (bits_ & 0x20);
1033 }
1034
1036 bool reserved() const
1037 {
1038 return 0 != (bits_ & 0x40);
1039 }
1040
1042 bool endOfEvent() const
1043 {
1044 return 0 != (bits_ & 0x80);
1045 }
1046
1048 inline Bits bits() const
1049 {
1050 return bits_;
1051 }
1052
1054 : bits_(bits)
1055 {
1056 }
1057
1058private:
1059 Bits bits_;
1060};
1061
1064{
1065public:
1068 typedef UInt8 Bits;
1069
1071 bool finalDaily() const
1072 {
1073 return 0 != (bits_ & 0x1);
1074 }
1075
1077 bool actual() const
1078 {
1079 return 0 != (bits_ & 0x2);
1080 }
1081
1083 bool rounded() const
1084 {
1085 return 0 != (bits_ & 0x4);
1086 }
1087
1089 bool intraday() const
1090 {
1091 return 0 != (bits_ & 0x8);
1092 }
1093
1095 bool reservedBits() const
1096 {
1097 return 0 != (bits_ & 0x10);
1098 }
1099
1101 bool nullValue() const
1102 {
1103 return 0 != (bits_ & 0x80);
1104 }
1105
1107 inline Bits bits() const
1108 {
1109 return bits_;
1110 }
1111
1113 : bits_(bits)
1114 {
1115 }
1116
1117private:
1118 Bits bits_;
1119};
1120
1121
1123typedef
1124IntegralConstant<Int32, 2147483647>
1126
1127
1129typedef
1132
1133
1135typedef
1138
1139
1141typedef
1144
1145
1147typedef
1150
1151
1153typedef
1156
1157
1159typedef
1162
1163
1164
1166inline
1169{
1170 return Timestamp(TimeSpan(days, 0, 0, 0, 0).ticks());
1171}
1172
1173ONIXS_CONFLATEDUDP_DATA_PACKING_END
#define ONIXS_CONFLATEDUDP_LTWT_STRUCT
Definition Bootstrap.h:99
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
Definition Bootstrap.h:95
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
Definition Bootstrap.h:157
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
Definition Bootstrap.h:153
bool rfqCrossEligible() const
Indicates whether RFQCrossEligible bit is set.
Definition Fields.h:887
bool decayingProductEligibility() const
Indicates whether DecayingProductEligibility bit is set.
Definition Fields.h:899
bool electronicMatchEligible() const
Indicates whether ElectronicMatchEligible bit is set.
Definition Fields.h:809
bool ebfEligible() const
Indicates whether EBFEligible bit is set.
Definition Fields.h:833
bool negativeStrikeEligible() const
Indicates whether NegativeStrikeEligible bit is set.
Definition Fields.h:863
bool efsEligible() const
Indicates whether EFSEligible bit is set.
Definition Fields.h:839
bool efrEligible() const
Indicates whether EFREligible bit is set.
Definition Fields.h:845
bool sefRegulated() const
Indicates whether SEFRegulated bit is set.
Definition Fields.h:953
bool impliedMatchingEligibility() const
Indicates whether ImpliedMatchingEligibility bit is set.
Definition Fields.h:923
bool iLinkIndicativeMassQuotingEligible() const
Indicates whether iLinkIndicativeMassQuotingEligible bit is set.
Definition Fields.h:857
bool hedgeInstrument() const
Indicates whether HedgeInstrument bit is set.
Definition Fields.h:971
bool zeroPriceOutrightEligible() const
Indicates whether ZeroPriceOutrightEligible bit is set.
Definition Fields.h:893
bool eFIXInstrument() const
Indicates whether eFIXInstrument bit is set.
Definition Fields.h:965
bool isFractional() const
Indicates whether IsFractional bit is set.
Definition Fields.h:875
bool efpEligible() const
Indicates whether EFPEligible bit is set.
Definition Fields.h:827
bool gtOrdersEligibility() const
Indicates whether GTOrdersEligibility bit is set.
Definition Fields.h:917
bool variableProductEligibility() const
Indicates whether VariableProductEligibility bit is set.
Definition Fields.h:905
bool dailyProductEligibility() const
Indicates whether DailyProductEligibility bit is set.
Definition Fields.h:911
bool variableCabEligible() const
Indicates whether VariableCabEligible bit is set.
Definition Fields.h:935
bool otcEligible() const
Indicates whether OTCEligible bit is set.
Definition Fields.h:851
bool isAoNInstrument() const
Indicates whether IsAoNInstrument bit is set.
Definition Fields.h:947
Bits bits() const
Returns elements as they packed in the set.
Definition Fields.h:977
bool volatilityQuotedOption() const
Indicates whether VolatilityQuotedOption bit is set.
Definition Fields.h:881
bool triangulationEligible() const
Indicates whether TriangulationEligible bit is set.
Definition Fields.h:929
bool invertedBook() const
Indicates whether InvertedBook bit is set.
Definition Fields.h:941
bool mtfRegulated() const
Indicates whether MTFRegulated bit is set.
Definition Fields.h:959
bool negativePriceOutrightEligible() const
Indicates whether NegativePriceOutrightEligible bit is set.
Definition Fields.h:869
bool blockTradeEligible() const
Indicates whether BlockTradeEligible bit is set.
Definition Fields.h:821
bool orderCrossEligible() const
Indicates whether OrderCrossEligible bit is set.
Definition Fields.h:815
bool reserved() const
Indicates whether Reserved bit is set.
Definition Fields.h:1036
bool endOfEvent() const
Indicates whether EndOfEvent bit is set.
Definition Fields.h:1042
bool lastTradeMsg() const
Indicates whether LastTradeMsg bit is set.
Definition Fields.h:1000
bool recoveryMsg() const
Indicates whether RecoveryMsg bit is set.
Definition Fields.h:1030
bool lastStatsMsg() const
Indicates whether LastStatsMsg bit is set.
Definition Fields.h:1018
bool lastQuoteMsg() const
Indicates whether LastQuoteMsg bit is set.
Definition Fields.h:1012
bool lastVolumeMsg() const
Indicates whether LastVolumeMsg bit is set.
Definition Fields.h:1006
Bits bits() const
Returns elements as they packed in the set.
Definition Fields.h:1048
bool lastImpliedMsg() const
Indicates whether LastImpliedMsg bit is set.
Definition Fields.h:1024
bool reservedBits() const
Indicates whether ReservedBits bit is set.
Definition Fields.h:1095
bool intraday() const
Indicates whether Intraday bit is set.
Definition Fields.h:1089
bool nullValue() const
Indicates whether NullValue bit is set.
Definition Fields.h:1101
bool actual() const
Indicates whether Actual bit is set.
Definition Fields.h:1077
bool rounded() const
Indicates whether Rounded bit is set.
Definition Fields.h:1083
bool finalDaily() const
Indicates whether FinalDaily bit is set.
Definition Fields.h:1071
Bits bits() const
Returns elements as they packed in the set.
Definition Fields.h:1107
Represents time point without time-zone information.
Definition Time.h:472
IntegralConstant< Int8, 24 > InstAttribType
Eligibility.
Definition Fields.h:61
IntegralConstant< UInt8, 4 > SecurityAltIDSourceISIN
Definition Fields.h:141
Char UnderlyingSymbol[20]
Definition Fields.h:239
UInt64 UInt64
uInt64.
Definition Fields.h:265
IntegralConstant< Int8, 0 > UpdateTypeNew
MDUpdateTypeNew.
Definition Fields.h:127
IntegralConstant< Char, 'e'> EntryTypeVol
MDEntryTypeVol.
Definition Fields.h:109
IntegralConstant< Int8, 0 > UpdateActionNew
MDUpdateActionNew.
Definition Fields.h:121
IntegralConstant< Int32, 2147483647 > NullInt32
Null value for optional Int32 field.
Definition Fields.h:1125
Int32 Int32
int32.
Definition Fields.h:69
IntegralConstant< UInt64, 18446744073709551615ULL > NullUInt64
Null value for optional UInt64 field.
Definition Fields.h:1155
IntegralConstant< UInt16, 65535 > NullLocalMktDate
Null value for optional LocalMktDate field.
Definition Fields.h:1137
IntegralConstant< UInt8, 255 > NullUInt8
Null value for optional UInt8 field.
Definition Fields.h:1161
char Char
Character type alias.
Definition String.h:36
IntegralConstant< Int8, 127 > NullInt8
Null value for optional Int8 field.
Definition Fields.h:1131
IntegralConstant< Char, '8'> SecurityIDSource
Definition Fields.h:161
UInt32 UInt32
uInt32.
Definition Fields.h:261
Timestamp localMktDateToTimestamp(LocalMktDate days)
Converts days since epoch to Timestamp value.
Definition Fields.h:1168
IntegralConstant< UInt32, 4294967295 > NullUInt32
Null value for optional UInt32 field.
Definition Fields.h:1149
Int16 Int16
int16.
Definition Fields.h:65
IntegralConstant< Char, 'g'> EntryTypeLimits
MDEntryTypeLimits.
Definition Fields.h:97
IntegralConstant< Char, '2'> EntryTypeTrade
MDEntryTypeTrade.
Definition Fields.h:103
UInt16 UInt16
uInt16.
Definition Fields.h:257
IntegralConstant< Char, 'J'> EntryTypeChannelReset
Channel Reset message entry type.
Definition Fields.h:91
IntegralConstant< UInt16, 65535 > NullUInt16
Null value for optional UInt16 field.
Definition Fields.h:1143
@ MarketBestOffer
Market Best Offer.
Definition Fields.h:460
MDEntryTypeDailyStatistics type.
Definition Fields.h:469
MDEntryTypeStatistics type.
Definition Fields.h:490
@ VWAP
Trading Session Volume Weighted Average Price.
Definition Fields.h:505
@ SessionHighBid
Session High Bid.
Definition Fields.h:415
@ MarketBestOffer
Market Best Offer.
Definition Fields.h:430
@ VWAP
Trading Session Volume Weighted Average Price.
Definition Fields.h:397
@ ThresholdLimitsandPriceBandVariation
Threshold Limits and Price Band Variation.
Definition Fields.h:427
@ SessionLowOffer
Session Low Offer.
Definition Fields.h:418
@ SettlementPrice
Settlement Price.
Definition Fields.h:388
@ TradingSessionHighPrice
Trading Session High Price.
Definition Fields.h:391
@ MarketBestBid
Market Best Bid.
Definition Fields.h:433
@ ElectronicVolume
Electronic Volume.
Definition Fields.h:424
@ TradingSessionLowPrice
Trading Session Low Price.
Definition Fields.h:394
@ LastEligibleTradeDate
Last Eligible Trade Date.
Definition Fields.h:316
@ InstrumentExpiration
Instrument Expiration.
Definition Fields.h:340
@ RecoveryInProcess
Recovery In Process.
Definition Fields.h:346
@ TradeDateRoll
Trade Date Roll.
Definition Fields.h:349
@ InstrumentActivation
Instrument Activation.
Definition Fields.h:337
@ SurveillanceIntervention
Surveillance Intervention .
Definition Fields.h:331
@ RepoAverage8_30AM
Repo Average 8-30 AM.
Definition Fields.h:574
@ PrevSessionRepoAverage10AM
Prev Session Repo Average 10 AM.
Definition Fields.h:580
@ IntradayVWAP
Latest update to VWAP.
Definition Fields.h:571
@ IndicativeOpeningPrice
Indicative Opening Price.
Definition Fields.h:568
@ MarketPlaceAssistant
Globex Market Surveillance team.
Definition Fields.h:610
@ Globex
Globex Trading Activity.
Definition Fields.h:613
@ ICAP
Icap Market Data Feed.
Definition Fields.h:619
@ GCForDBV
General Collateral Repo on a single or basket of eligible underlyings, allocation outside of BrokerTe...
Definition Fields.h:652
@ Special
Repo on a single underlying instrument.
Definition Fields.h:646
@ GC
General Collateral Repo on a single or basket of eligible underlyings, allocation at BrokerTec.
Definition Fields.h:649
@ ImpliedMatchingOFF
Implied Matching OFF.
Definition Fields.h:691
@ NotAvailableForTrading
Not Available For Trading.
Definition Fields.h:718
@ NotAvailableForTrading
Not Available For Trading.
Definition Fields.h:790