OnixS C++ CME Market Data Handler  4.8.0.10
API documentation
SecurityListener.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 
23 #include <OnixS/CME/MDH/MboBook.h>
27 
29 
32 
34 
37 
38 /// Collection of attributes associated with
39 /// security-related data in security listener
40 /// callbacks.
41 template
42 <
43  class Container,
44  class Data = typename Container::Entry
45 >
47 {
48  Data entry_;
49  Container message_;
50  const NetPacket& packet_;
51 
52  /// Reinitializes instance as copy of other one.
54  operator =(
55  const SecurityDataArgs&);
56 
57 public:
58  /// Type of message whose instance
59  /// is referenced by given arguments.
60  typedef Container Message;
61 
62  /// Type of repeating group entry whose
63  /// instance referenced by given arguments.
64  typedef Data Entry;
65 
66  /// Initializes instance with
67  /// given market data entry.
69  const NetPacket& packet,
70  const Message& message,
71  const Entry& entry)
72  : entry_(entry)
73  , message_(message)
74  , packet_(packet)
75  {
76  }
77 
78  /// Initializes instance as copy of other one.
80  const SecurityDataArgs& other)
81  : entry_(other.entry_)
82  , message_(other.message_)
83  , packet_(other.packet_)
84  {
85  }
86 
87  /// Instance of the packet containing the message
88  /// which in its turn contains the market data entry.
89  const NetPacket& packet() const
90  {
91  return packet_;
92  }
93 
94  /// Instance of message containing market data entry.
95  const Message& message() const
96  {
97  return message_;
98  }
99 
100  /// Instance of market data being referenced.
101  const Entry& entry() const
102  {
103  return entry_;
104  }
105 };
106 
107 namespace
108 {
109  /// Empty order list.
110  inline
111  const
113  nullOrders()
114  {
115  static
116  const
118  theNull;
119 
120  return theNull;
121  }
122 }
123 
124 /// Attributes of trade summary.
125 template
126 <
127  class Summary,
128  class Data = typename Summary::Entry
129 >
131 : public SecurityDataArgs
132 <
133  Summary,
134  Data
135 >
136 {
137  const TradeOrderIds& orderIds_;
138 
140  operator =(
141  const TradeSummaryArgs&);
142 
143 public:
144  typedef
146  <
147  Summary,
148  Data
149  >
151 
152  /// Aliases type of message holding
153  /// trade summary repeating group entries.
154  typedef
155  typename
158 
159  /// Aliases trade summary data entry.
160  typedef
161  typename
162  Base::Entry
164 
165  /// Aliases collection of order ids.
166  typedef
169 
170  /// Initializes instance with data to be referenced.
172  const NetPacket& packet,
173  const Message& message,
174  const Entry& entry,
175  const OrderIds& ids = nullOrders())
176  : Base(packet, message, entry)
177  , orderIds_(ids)
178  {
179  }
180 
181  /// Initializes the instance as ref-copy of the other one.
183  const TradeSummaryArgs& other)
184  : Base(static_cast<const Base&>(other))
185  , orderIds_(other.orderIds_)
186  {
187  }
188 
189  /// Order details referring to given trade.
190  /// Collection may be empty if order details
191  /// gather is not enabled.
192  ///
193  /// @see HandlerSettings::tradeProcessing
194  /// for more information.
195  const
196  OrderIds&
197  orderIds() const
198  {
199  return orderIds_;
200  }
201 };
202 
203 typedef
205 <
207 >
209 
210 /// Attributes of trade summary.
211 typedef
213 <
215 >
217 
218 /// Instantiation of security data attributes for volumes.
219 typedef
221 <
223 >
225 
226 /// Instantiation of security data attributes for MBO book atomic updates.
227 typedef
229 <
231 >
233 
234 /// Instantiation of security data attributes for MBO book atomic updates.
235 typedef
237 <
239 >
241 
242 /// Instantiation of security data attributes for MBO book atomic updates.
243 typedef
245 <
248 >
250 
251 /// Instantiation of security data attributes for MBO book atomic updates.
252 typedef
254 <
257 >
259 
260 /// Instantiation of security data attributes for MBP book atomic updates.
261 typedef
263 <
264  IncrementalRefreshBook32
265 >
267 
268 /// Instantiation of security data attributes for MBP book atomic updates.
269 typedef
271 <
272  IncrementalRefreshBook46
273 >
275 
276 /// Instantiation of security data attributes for daily statistics.
277 typedef
279 <
281 >
283 
284 /// Instantiation of security data attributes for daily statistics.
285 typedef
287 <
289 >
291 
292 /// Instantiation of security data attributes for session statistics.
293 typedef
295 <
297 >
299 
300 /// Instantiation of security data attributes for session statistics.
301 typedef
303 <
305 >
307 
308 /// Instantiation of security data attributes for limits and banding.
309 typedef
311 <
313 >
315 
316 /// Instantiation of security data attributes for limits and banding.
317 typedef
319 <
321 >
323 
324 /// Instantiation of security data attributes for quote request related symbols.
325 typedef
327 <
330 >
332 
333 //
334 
335 /// Instantiation of security data attributes for recovery data.
336 typedef
338 <
340 >
342 
343 /// Instantiation of security data attributes for recovery data.
344 typedef
346 <
348 >
350 
351 /// Instantiation of security data attributes for MBO recovery data.
352 typedef
354 <
356 >
358 
359 /// Instantiation of security data attributes for MBO recovery data.
360 typedef
362 <
364 >
366 
367 //
368 
369 /// Exposes details of book maintenance failure.
370 template
371 <
372  class Book
373 >
374 class
376 {
377 public:
378  /// Initializes instance with reference
379  /// to a book and failure reason.
381  const Book& book,
382  const std::string& description)
383  : book_(book)
384  , description_(description)
385  {
386  }
387 
388  /// Book which wasn't updated successfully.
389  const Book& book() const
390  {
391  return book_;
392  }
393 
394  /// Details on book update failure.
395  const std::string& description() const
396  {
397  return description_;
398  }
399 
400 private:
401  const Book& book_;
402  const std::string& description_;
403 
405  const BookUpdateErrorArgs&);
406 
408  operator =(
409  const BookUpdateErrorArgs&);
410 };
411 
412 /// Instantiation of book update error
413 /// arguments for books of MBO type.
414 typedef
417 
418 /// Instantiation of book update error
419 /// arguments for books of direct type.
420 typedef
423 
424 /// Instantiation of book update error
425 /// arguments for books of implied type.
426 typedef
429 
430 /// Callbacks invoked by Handler to expose market data entities.
432 {
433  /// Invoked when book reset procedure
434  /// is spawned by MDP on a channel.
435  virtual
436  void
438  Handler&)
439  {
440  }
441 
442  /// Invoked upon instrument definition reception.
443  virtual
444  void
446  Handler&,
447  const Security&,
449  {
450  }
451 
452  /// Invoked upon instrument definition reception.
453  virtual
454  void
456  Handler&,
457  const Security&,
459  {
460  }
461 
462  /// Invoked upon instrument definition reception.
463  virtual
464  void
466  Handler&,
467  const Security&,
469  {
470  }
471 
472  /// Invoked upon instrument definition reception.
473  virtual
474  void
476  Handler&,
477  const Security&,
479  {
480  }
481 
482  /// Invoked upon instrument definition reception.
483  virtual
484  void
486  Handler&,
487  const Security&,
489  {
490  }
491 
492  /// Invoked upon instrument definition reception.
493  virtual
494  void
496  Handler&,
497  const Security&,
499  {
500  }
501 
502  /// Invoked for the instrument whose instrument
503  /// data wasn't received but other data like trades
504  /// or book updates is about to be processed.
505  virtual
506  void
508  Handler&,
509  Security&)
510  {
511  }
512 
513  /// Invoked when snapshot is received for
514  /// the security while Handler recovers market
515  /// state from snapshots.
516  virtual
517  void
519  Handler&,
520  const Security&,
522  {
523  }
524 
525  /// Invoked when snapshot is received for
526  /// the security while Handler recovers market
527  /// state from snapshots.
528  virtual
529  void
531  Handler&,
532  const Security&,
534  {
535  }
536 
537  /// Invoked when snapshot is received for
538  /// the security while Handler recovers market
539  /// state from snapshots.
540  virtual
541  void
543  Handler&,
544  const Security&,
546  {
547  }
548 
549  /// Invoked when snapshot is received for
550  /// the security while Handler recovers market
551  /// state from snapshots.
552  virtual
553  void
555  Handler&,
556  const Security&,
558  {
559  }
560 
561  /// Invoked when trade is recovered from snapshot
562  /// while Handler recovers market state from snapshots.
563  virtual
564  void
566  Handler&,
567  const Security&,
568  const Recovery52EntryArgs&)
569  {
570  }
571 
572  /// Invoked when trade is recovered from snapshot
573  /// while Handler recovers market state from snapshots.
574  virtual
575  void
577  Handler&,
578  const Security&,
579  const Recovery38EntryArgs&)
580  {
581  }
582 
583  /// Invoked when trade summary
584  /// is received for the security.
585  virtual
586  void
588  Handler&,
589  const Security&,
590  const TradeSummary48Args&)
591  {
592  }
593 
594  /// Invoked when trade summary
595  /// is received for the security.
596  virtual
597  void
599  Handler&,
600  const Security&,
601  const TradeSummary42Args&)
602  {
603  }
604 
605  /// Invoked when electronic volume is
606  /// Invoked when electronic volume is
607  /// recovered from snapshot for the security.
608  virtual
609  void
611  Handler&,
612  const Security&,
613  const Recovery52EntryArgs&)
614  {
615  }
616 
617  /// recovered from snapshot for the security.
618  virtual
619  void
621  Handler&,
622  const Security&,
623  const Recovery38EntryArgs&)
624  {
625  }
626 
627  /// Invoked when electronic volume
628  /// is received for the security.
629  virtual
630  void
632  Handler&,
633  const Security&,
634  const Volume37Args&)
635  {
636  }
637 
638  /// Invoked when atomic book update for
639  // the security is recovered from snapshot.
640  virtual
641  void
643  Handler&,
644  const Security&,
645  const MboRecovery53EntryArgs&)
646  {
647  }
648 
649  /// Invoked when atomic book update for
650  // the security is recovered from snapshot.
651  virtual
652  void
654  Handler&,
655  const Security&,
656  const MboRecovery44EntryArgs&)
657  {
658  }
659 
660  /// Invoked when atomic book update for
661  // the security is recovered from snapshot.
662  virtual
663  void
665  Handler&,
666  const Security&,
667  const Recovery52EntryArgs&)
668  {
669  }
670 
671  /// Invoked when atomic book update for
672  // the security is recovered from snapshot.
673  virtual
674  void
676  Handler&,
677  const Security&,
678  const Recovery38EntryArgs&)
679  {
680  }
681 
682  /// Invoked when atomic book update
683  /// for the security is received.
684  virtual
685  void
687  Handler&,
688  const Security&,
690  {
691  }
692 
693  /// Invoked when atomic book update
694  /// for the security is received.
695  virtual
696  void
698  Handler&,
699  const Security&,
701  {
702  }
703 
704  /// Invoked when atomic book update
705  /// for the security is received.
706  virtual
707  void
709  Handler&,
710  const Security&,
712  {
713  }
714 
715  /// Invoked when atomic book update
716  /// for the security is received.
717  virtual
718  void
720  Handler&,
721  const Security&,
723  {
724  }
725 
726  /// Invoked when atomic book update
727  /// for the security is received.
728  virtual
729  void
731  Handler&,
732  const Security&,
734  {
735  }
736 
737  /// Invoked when atomic book update
738  /// for the security is received.
739  virtual
740  void
742  Handler&,
743  const Security&,
745  {
746  }
747 
748  /// Invoked when MBO book
749  /// is updated for the security.
750  ///
751  /// @note Callback is invoked if
752  /// MBO book maintenance is enabled.
753  ///
754  /// @see HandlerSettings::bookManagement()
755  /// for more information.
756  virtual
757  void
759  Handler&,
760  const Security&,
761  const MboBook&)
762  {
763  }
764 
765  /// Invoked when direct book
766  /// is updated for the security.
767  ///
768  /// @note Callback is invoked if direct
769  /// book maintenance is enabled.
770  ///
771  /// @see HandlerSettings::bookManagement()
772  /// for more information.
773  virtual
774  void
776  Handler&,
777  const Security&,
778  const DirectBook&)
779  {
780  }
781 
782  /// Invoked when implied book
783  /// is updated for the security.
784  ///
785  /// @note Callback is invoked if direct
786  /// book maintenance is enabled.
787  ///
788  /// @see HandlerSettings::bookManagement()
789  /// for more information.
790  virtual
791  void
793  Handler&,
794  const Security&,
795  const ImpliedBook&)
796  {
797  }
798 
799  /// Invoked when consolidated book
800  /// is updated for the security.
801  ///
802  /// @note Callback is invoked if direct
803  /// book maintenance is enabled.
804  ///
805  /// @see HandlerSettings::bookManagement()
806  /// for more information.
807  virtual
808  void
810  Handler&,
811  const Security&,
812  const ConsolidatedBook&)
813  {
814  }
815 
816  /// Invoked when Handler fails to update
817  /// MBO book for given security.
818  virtual
819  void
821  Handler&,
822  const Security&,
823  const MboBookUpdateErrorArgs&)
824  {
825  }
826 
827  /// Invoked when Handler fails to update
828  /// direct book for given security.
829  virtual
830  void
832  Handler&,
833  const Security&,
835  {
836  }
837 
838  /// Invoked when Handler fails to update
839  /// implied book for given security.
840  virtual
841  void
843  Handler&,
844  const Security&,
846  {
847  }
848 
849  /// Invoked when settlement price for the
850  /// security is recovered from snapshot.
851  virtual
852  void
854  Handler&,
855  const Security&,
856  const Recovery52EntryArgs&)
857  {
858  }
859 
860  /// Invoked when settlement price for the
861  /// security is recovered from snapshot.
862  virtual
863  void
865  Handler&,
866  const Security&,
867  const Recovery38EntryArgs&)
868  {
869  }
870 
871  /// Invoked when settlement price
872  /// for the security is received.
873  virtual
874  void
876  Handler&,
877  const Security&,
878  const DailyStatistics49Args&)
879  {
880  }
881 
882  /// Invoked when settlement price
883  /// for the security is received.
884  virtual
885  void
887  Handler&,
888  const Security&,
889  const DailyStatistics33Args&)
890  {
891  }
892 
893  /// Invoked when cleared volume for the
894  /// security is recovered from snapshot.
895  virtual
896  void
898  Handler&,
899  const Security&,
900  const Recovery52EntryArgs&)
901  {
902  }
903 
904  /// Invoked when cleared volume for the
905  /// security is recovered from snapshot.
906  virtual
907  void
909  Handler&,
910  const Security&,
911  const Recovery38EntryArgs&)
912  {
913  }
914 
915  /// Invoked when cleared volume
916  /// for the security is received.
917  virtual
918  void
920  Handler&,
921  const Security&,
922  const DailyStatistics49Args&)
923  {
924  }
925 
926  /// Invoked when cleared volume
927  /// for the security is received.
928  virtual
929  void
931  Handler&,
932  const Security&,
933  const DailyStatistics33Args&)
934  {
935  }
936 
937  /// Invoked when open interest for the
938  /// security is recovered from snapshot.
939  virtual
940  void
942  Handler&,
943  const Security&,
944  const Recovery52EntryArgs&)
945  {
946  }
947 
948  /// Invoked when open interest for the
949  /// security is recovered from snapshot.
950  virtual
951  void
953  Handler&,
954  const Security&,
955  const Recovery38EntryArgs&)
956  {
957  }
958 
959  /// Invoked when open interest
960  /// for the security is received.
961  virtual
962  void
964  Handler&,
965  const Security&,
966  const DailyStatistics49Args&)
967  {
968  }
969 
970  /// Invoked when open interest
971  /// for the security is received.
972  virtual
973  void
975  Handler&,
976  const Security&,
977  const DailyStatistics33Args&)
978  {
979  }
980 
981  /// Invoked when fixing price recovered
982  /// from snapshot for given security.
983  virtual
984  void
986  Handler&,
987  const Security&,
988  const Recovery52EntryArgs&)
989  {
990  }
991 
992  /// Invoked when fixing price recovered
993  /// from snapshot for given security.
994  virtual
995  void
997  Handler&,
998  const Security&,
999  const Recovery38EntryArgs&)
1000  {
1001  }
1002 
1003  /// Invoked when fixing price
1004  /// is received for the security.
1005  virtual
1006  void
1008  Handler&,
1009  const Security&,
1010  const DailyStatistics49Args&)
1011  {
1012  }
1013 
1014  /// Invoked when fixing price
1015  /// is received for the security.
1016  virtual
1017  void
1019  Handler&,
1020  const Security&,
1021  const DailyStatistics33Args&)
1022  {
1023  }
1024 
1025  /// Invoked when opening price recovered
1026  /// from snapshot for given security.
1027  virtual
1028  void
1030  Handler&,
1031  const Security&,
1032  const Recovery52EntryArgs&)
1033  {
1034  }
1035 
1036  /// Invoked when opening price recovered
1037  /// from snapshot for given security.
1038  virtual
1039  void
1041  Handler&,
1042  const Security&,
1043  const Recovery38EntryArgs&)
1044  {
1045  }
1046 
1047  /// Invoked when opening price
1048  /// is received for the security.
1049  virtual
1050  void
1052  Handler&,
1053  const Security&,
1054  const SessionStatistics51Args&)
1055  {
1056  }
1057 
1058  /// Invoked when opening price
1059  /// is received for the security.
1060  virtual
1061  void
1063  Handler&,
1064  const Security&,
1065  const SessionStatistics35Args&)
1066  {
1067  }
1068 
1069  /// Invoked when session high trade price
1070  /// recovered from snapshot for given security.
1071  virtual
1072  void
1074  Handler&,
1075  const Security&,
1076  const Recovery52EntryArgs&)
1077  {
1078  }
1079 
1080  /// Invoked when session high trade price
1081  /// recovered from snapshot for given security.
1082  virtual
1083  void
1085  Handler&,
1086  const Security&,
1087  const Recovery38EntryArgs&)
1088  {
1089  }
1090 
1091  /// Invoked when session high trade
1092  /// price is received for the security.
1093  virtual
1094  void
1096  Handler&,
1097  const Security&,
1098  const SessionStatistics51Args&)
1099  {
1100  }
1101 
1102  /// Invoked when session high trade
1103  /// price is received for the security.
1104  virtual
1105  void
1107  Handler&,
1108  const Security&,
1109  const SessionStatistics35Args&)
1110  {
1111  }
1112 
1113  /// Invoked when session low trade price
1114  /// recovered from snapshot for given security.
1115  virtual
1116  void
1118  Handler&,
1119  const Security&,
1120  const Recovery52EntryArgs&)
1121  {
1122  }
1123 
1124  /// Invoked when session low trade price
1125  /// recovered from snapshot for given security.
1126  virtual
1127  void
1129  Handler&,
1130  const Security&,
1131  const Recovery38EntryArgs&)
1132  {
1133  }
1134 
1135  /// Invoked when session low trade
1136  /// price is received for the security.
1137  virtual
1138  void
1140  Handler&,
1141  const Security&,
1142  const SessionStatistics51Args&)
1143  {
1144  }
1145 
1146  /// Invoked when session low trade
1147  /// price is received for the security.
1148  virtual
1149  void
1151  Handler&,
1152  const Security&,
1153  const SessionStatistics35Args&)
1154  {
1155  }
1156 
1157  /// Invoked when session highest bid price
1158  /// recovered from snapshot for given security.
1159  virtual
1160  void
1162  Handler&,
1163  const Security&,
1164  const Recovery52EntryArgs&)
1165  {
1166  }
1167 
1168  /// Invoked when session highest bid price
1169  /// recovered from snapshot for given security.
1170  virtual
1171  void
1173  Handler&,
1174  const Security&,
1175  const Recovery38EntryArgs&)
1176  {
1177  }
1178 
1179  /// Invoked when session highest bid
1180  /// price is received for the security.
1181  virtual
1182  void
1184  Handler&,
1185  const Security&,
1186  const SessionStatistics51Args&)
1187  {
1188  }
1189 
1190  /// Invoked when session highest bid
1191  /// price is received for the security.
1192  virtual
1193  void
1195  Handler&,
1196  const Security&,
1197  const SessionStatistics35Args&)
1198  {
1199  }
1200 
1201  /// Invoked when session lowest offer price
1202  /// recovered from snapshot for given security.
1203  virtual
1204  void
1206  Handler&,
1207  const Security&,
1208  const Recovery52EntryArgs&)
1209  {
1210  }
1211 
1212  /// Invoked when session lowest offer price
1213  /// recovered from snapshot for given security.
1214  virtual
1215  void
1217  Handler&,
1218  const Security&,
1219  const Recovery38EntryArgs&)
1220  {
1221  }
1222 
1223  /// Invoked when session lowest offer
1224  /// price is received for the security.
1225  virtual
1226  void
1228  Handler&,
1229  const Security&,
1230  const SessionStatistics51Args&)
1231  {
1232  }
1233 
1234  /// Invoked when session lowest offer
1235  /// price is received for the security.
1236  virtual
1237  void
1239  Handler&,
1240  const Security&,
1241  const SessionStatistics35Args&)
1242  {
1243  }
1244 
1245  /// Invoked when threshold limits and price
1246  /// band variation is received for the security.
1247  virtual
1248  void
1250  Handler&,
1251  const Security&,
1252  const LimitsAndBanding50Args&)
1253  {
1254  }
1255 
1256  /// Invoked when threshold limits and price
1257  /// band variation is received for the security.
1258  virtual
1259  void
1261  Handler&,
1262  const Security&,
1263  const LimitsAndBanding34Args&)
1264  {
1265  }
1266 
1267  /// Invoked when request for quote
1268  /// data is received for the security.
1269  virtual
1270  void
1272  Handler&,
1273  const Security&,
1275  {
1276  }
1277 
1278  /// Invoked when security status
1279  /// is recovered from snapshot.
1280  virtual
1281  void
1283  Handler&,
1284  const Security&,
1286  {
1287  }
1288 
1289  /// Invoked when security status
1290  /// is recovered from snapshot.
1291  virtual
1292  void
1294  Handler&,
1295  const Security&,
1297  {
1298  }
1299 
1300  /// Invoked when security status
1301  /// is received for given security.
1302  virtual
1303  void
1305  Handler&,
1306  const Security&,
1307  const SecurityStatus30Args&)
1308  {
1309  }
1310 
1311  /// Invoked when security status
1312  /// is received for group of securities.
1313  virtual
1314  void
1316  Handler&,
1317  const SecurityStatus30Args&)
1318  {
1319  }
1320 
1321  /// Invoked when gap on is detected in market
1322  /// data referring to the given security.
1323  virtual
1324  void
1326  Handler&,
1327  const Security&,
1328  UInt32)
1329  {
1330  }
1331 };
1332 
virtual void onFixingPrice(Handler &, const Security &, const DailyStatistics33Args &)
SecurityDataArgs< QuoteRequest39, QuoteRequest39::RelatedSymEntry > QuoteRequest39RelatedSymArgs
Instantiation of security data attributes for quote request related symbols.
virtual void onSettlementPrice(Handler &, const Security &, const DailyStatistics33Args &)
MDIncrementalRefreshSessionStatistics.
Definition: Messages.h:7465
virtual void onLimitsAndBanding(Handler &, const Security &, const LimitsAndBanding34Args &)
virtual void onLowTradePrice(Handler &, const Security &, const Recovery52EntryArgs &)
TradeSummaryArgs(const TradeSummaryArgs &other)
Initializes the instance as ref-copy of the other one.
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionSpread29Args &)
Invoked upon instrument definition reception.
virtual void onHighestBid(Handler &, const Security &, const SessionStatistics51Args &)
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboRecovery53EntryArgs &)
Invoked when atomic book update for.
virtual void onOpeningPrice(Handler &, const Security &, const SessionStatistics51Args &)
virtual void onClearedVolume(Handler &, const Security &, const DailyStatistics33Args &)
virtual void onStatus(Handler &, const Security &, const SnapshotFullRefresh52Args &)
SnapshotFullRefreshOrderBook.
Definition: Messages.h:9766
virtual void onSettlementPrice(Handler &, const Security &, const Recovery38EntryArgs &)
virtual void onClearedVolume(Handler &, const Security &, const Recovery38EntryArgs &)
MDIncrementalRefreshBook.
Definition: Messages.h:6758
virtual void onOpenInterest(Handler &, const Security &, const Recovery52EntryArgs &)
virtual void onLowTradePrice(Handler &, const Security &, const SessionStatistics35Args &)
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboBook43AtomicUpdateArgs &)
virtual void onHighestBid(Handler &, const Security &, const SessionStatistics35Args &)
virtual void onOpeningPrice(Handler &, const Security &, const Recovery52EntryArgs &)
virtual void onLowestOffer(Handler &, const Security &, const Recovery38EntryArgs &)
MDIncrementalRefreshBook.
Definition: Messages.h:1736
UInt32 UInt32
uInt32.
Definition: Fields.h:189
virtual void onOpenInterest(Handler &, const Security &, const DailyStatistics49Args &)
virtual void onTrade(Handler &, const Security &, const TradeSummary42Args &)
const NetPacket & packet() const
virtual void onLowestOffer(Handler &, const Security &, const SessionStatistics35Args &)
BookUpdateErrorArgs< MboBook > MboBookUpdateErrorArgs
virtual void onUndefined(Handler &, Security &)
Attributes of trade summary.
SecurityDataArgs< IncrementalRefreshBook46, IncrementalRefreshBook46CombinedEntry > MboBookCombined46AtomicUpdateArgs
Instantiation of security data attributes for MBO book atomic updates.
Base::Entry Entry
Aliases trade summary data entry.
SecurityDataArgs< IncrementalRefreshSessionStatistics51 > SessionStatistics51Args
Instantiation of security data attributes for session statistics.
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionFuture27Args &)
Invoked upon instrument definition reception.
virtual void onElectronicVolume(Handler &, const Security &, const Recovery52EntryArgs &)
virtual void onBookAtomicUpdate(Handler &, const Security &, const Recovery38EntryArgs &)
Invoked when atomic book update for.
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionFuture54Args &)
Invoked upon instrument definition reception.
virtual void onOpenInterest(Handler &, const Security &, const Recovery38EntryArgs &)
virtual void onBookUpdate(Handler &, const Security &, const ImpliedBook &)
virtual void onFixingPrice(Handler &, const Security &, const Recovery38EntryArgs &)
SecurityDataArgs< IncrementalRefreshSessionStatistics35 > SessionStatistics35Args
Instantiation of security data attributes for session statistics.
virtual void onElectronicVolume(Handler &, const Security &, const Recovery38EntryArgs &)
recovered from snapshot for the security.
virtual void onStatus(Handler &, const Security &, const SnapshotFullRefresh38Args &)
virtual void onLowTradePrice(Handler &, const Security &, const Recovery38EntryArgs &)
const Message & message() const
Instance of message containing market data entry.
virtual void onElectronicVolume(Handler &, const Security &, const Volume37Args &)
SecurityDataArgs(const SecurityDataArgs &other)
Initializes instance as copy of other one.
SecurityDataArgs< SnapshotFullRefreshOrderBook44 > MboRecovery44EntryArgs
Instantiation of security data attributes for MBO recovery data.
MDIncrementalRefreshDailyStatistics.
Definition: Messages.h:7068
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboBookCombined46AtomicUpdateArgs &)
virtual void onHighestBid(Handler &, const Security &, const Recovery52EntryArgs &)
virtual void onBookUpdate(Handler &, const Security &, const ConsolidatedBook &)
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
Definition: Bootstrap.h:54
SecurityDataArgs< IncrementalRefreshBook32, IncrementalRefreshBook32CombinedEntry > MboBookCombined32AtomicUpdateArgs
Instantiation of security data attributes for MBO book atomic updates.
Exposes details of book maintenance failure.
virtual void onBookUpdate(Handler &, const Security &, const MboBook &)
virtual void onClearedVolume(Handler &, const Security &, const Recovery52EntryArgs &)
const Entry & entry() const
Instance of market data being referenced.
virtual void onReset(Handler &)
virtual void onTrade(Handler &, const Security &, const TradeSummary48Args &)
SecurityDataArgs< IncrementalRefreshBook32 > MbpBook32AtomicUpdateArgs
Instantiation of security data attributes for MBP book atomic updates.
SecurityDataArgs< SnapshotFullRefresh38 > Recovery38EntryArgs
Instantiation of security data attributes for recovery data.
SecurityDataArgs< IncrementalRefreshOrderBook47 > MboBook47AtomicUpdateArgs
Instantiation of security data attributes for MBO book atomic updates.
const Book & book() const
Book which wasn&#39;t updated successfully.
MDIncrementalRefreshOrderBook.
Definition: Messages.h:9573
Callbacks invoked by Handler to expose market data entities.
MDIncrementalRefreshDailyStatistics.
Definition: Messages.h:2046
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboRecovery44EntryArgs &)
Invoked when atomic book update for.
TradeSummaryArgs< IncrementalRefreshTradeSummary42 > TradeSummary42Args
Attributes of trade summary.
virtual void onQuoteRequest(Handler &, const Security &, const QuoteRequest39RelatedSymArgs &)
virtual void onClearedVolume(Handler &, const Security &, const DailyStatistics49Args &)
virtual void onSettlementPrice(Handler &, const Security &, const DailyStatistics49Args &)
virtual void onBookAtomicUpdate(Handler &, const Security &, const MbpBook32AtomicUpdateArgs &)
virtual void onHighTradePrice(Handler &, const Security &, const Recovery38EntryArgs &)
virtual void onHighestBid(Handler &, const Security &, const Recovery38EntryArgs &)
virtual void onHighTradePrice(Handler &, const Security &, const SessionStatistics35Args &)
virtual void onOpenInterest(Handler &, const Security &, const DailyStatistics33Args &)
virtual void onOpeningPrice(Handler &, const Security &, const Recovery38EntryArgs &)
SecurityDataArgs(const NetPacket &packet, const Message &message, const Entry &entry)
SecurityDataArgs< IncrementalRefreshOrderBook43 > MboBook43AtomicUpdateArgs
Instantiation of security data attributes for MBO book atomic updates.
virtual void onGroupStatus(Handler &, const SecurityStatus30Args &)
MDIncrementalRefreshOrderBook.
Definition: Messages.h:4204
SnapshotFullRefreshOrderBook.
Definition: Messages.h:4397
TradeSummaryArgs(const NetPacket &packet, const Message &message, const Entry &entry, const OrderIds &ids=nullOrders())
Initializes instance with data to be referenced.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
Definition: Bootstrap.h:168
virtual void onFixingPrice(Handler &, const Security &, const Recovery52EntryArgs &)
MDIncrementalRefreshSessionStatistics.
Definition: Messages.h:2443
virtual void onSettlementPrice(Handler &, const Security &, const Recovery52EntryArgs &)
MDIncrementalRefreshTradeSummary.
Definition: Messages.h:9288
TradeOrderIds OrderIds
Aliases collection of order ids.
const std::string & description() const
Details on book update failure.
virtual void onTrade(Handler &, const Security &, const Recovery52EntryArgs &)
Attributes associated with security.
Definition: Security.h:29
SecurityDataArgs< SnapshotFullRefreshOrderBook53 > MboRecovery53EntryArgs
Instantiation of security data attributes for MBO recovery data.
virtual void onHighTradePrice(Handler &, const Security &, const Recovery52EntryArgs &)
BookUpdateErrorArgs(const Book &book, const std::string &description)
virtual void onBookUpdateError(Handler &, const Security &, const MboBookUpdateErrorArgs &)
virtual void onOpeningPrice(Handler &, const Security &, const SessionStatistics35Args &)
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionOption55Args &)
Invoked upon instrument definition reception.
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionOption41Args &)
Invoked upon instrument definition reception.
virtual void onBookAtomicUpdate(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when atomic book update for.
virtual void onBookUpdate(Handler &, const Security &, const DirectBook &)
virtual void onRecovery(Handler &, const Security &, const SnapshotFullRefresh52Args &)
const OrderIds & orderIds() const
MDIncrementalRefreshVolume.
Definition: Messages.h:7656
BookUpdateErrorArgs< ImpliedBook > ImpliedBookUpdateErrorArgs
virtual void onHighTradePrice(Handler &, const Security &, const SessionStatistics51Args &)
BookUpdateErrorArgs< DirectBook > DirectBookUpdateErrorArgs
virtual void onBookAtomicUpdate(Handler &, const Security &, const MbpBook46AtomicUpdateArgs &)
virtual void onRecovery(Handler &, const Security &, const SnapshotFullRefreshOrderBook53Args &)
SecurityDataArgs< IncrementalRefreshVolume37 > Volume37Args
Instantiation of security data attributes for volumes.
virtual void onFixingPrice(Handler &, const Security &, const DailyStatistics49Args &)
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboBook47AtomicUpdateArgs &)
virtual void onRecovery(Handler &, const Security &, const SnapshotFullRefresh38Args &)
SecurityDataArgs< SnapshotFullRefresh52 > Recovery52EntryArgs
Instantiation of security data attributes for recovery data.
virtual void onLimitsAndBanding(Handler &, const Security &, const LimitsAndBanding50Args &)
TradeSummaryArgs< IncrementalRefreshTradeSummary48 > TradeSummary48Args
virtual void onRecovery(Handler &, const Security &, const SnapshotFullRefreshOrderBook44Args &)
virtual void onStatus(Handler &, const Security &, const SecurityStatus30Args &)
MDIncrementalRefreshLimitsBanding.
Definition: Messages.h:2255
SecurityDataArgs< IncrementalRefreshLimitsBanding34 > LimitsAndBanding34Args
Instantiation of security data attributes for limits and banding.
virtual void onBookUpdateError(Handler &, const Security &, const ImpliedBookUpdateErrorArgs &)
SecurityDataArgs< Summary, Data > Base
virtual void onGap(Handler &, const Security &, UInt32)
virtual void onBookUpdateError(Handler &, const Security &, const DirectBookUpdateErrorArgs &)
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionSpread56Args &)
Invoked upon instrument definition reception.
MDIncrementalRefreshTradeSummary.
Definition: Messages.h:3917
virtual void onLowestOffer(Handler &, const Security &, const SessionStatistics51Args &)
#define ONIXS_CMEMDH_EXPORTED_STRUCT
Definition: Bootstrap.h:66
virtual void onLowTradePrice(Handler &, const Security &, const SessionStatistics51Args &)
SecurityDataArgs< IncrementalRefreshLimitsBanding50 > LimitsAndBanding50Args
Instantiation of security data attributes for limits and banding.
SecurityDataArgs< IncrementalRefreshBook46 > MbpBook46AtomicUpdateArgs
Instantiation of security data attributes for MBP book atomic updates.
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboBookCombined32AtomicUpdateArgs &)
Market By Order book.
Definition: MboBook.h:82
virtual void onTrade(Handler &, const Security &, const Recovery38EntryArgs &)
SecurityDataArgs< IncrementalRefreshDailyStatistics33 > DailyStatistics33Args
Instantiation of security data attributes for daily statistics.
SecurityDataArgs< IncrementalRefreshDailyStatistics49 > DailyStatistics49Args
Instantiation of security data attributes for daily statistics.
virtual void onLowestOffer(Handler &, const Security &, const Recovery52EntryArgs &)
MDIncrementalRefreshLimitsBanding.
Definition: Messages.h:7277
#define ONIXS_CMEMDH_NAMESPACE_END
Definition: Bootstrap.h:172