OnixS C++ CME MDP Premium Market Data Handler  5.8.3
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 <class Container, class Data = typename Container::Entry>
43 {
44 public:
45  /// Type of message whose instance
46  /// is referenced by given arguments.
47  typedef Container Message;
48 
49  /// Type of repeating group entry whose
50  /// instance referenced by given arguments.
51  typedef Data Entry;
52 
53  /// Initializes instance with
54  /// given market data entry.
55  SecurityDataArgs(const NetPacket& packet, const Message& message, const Entry& entry)
56  : entry_(entry)
57  , message_(message)
58  , packet_(packet)
59  {
60  }
61 
62  /// Initializes instance as copy of other one.
63  explicit SecurityDataArgs(const SecurityDataArgs& other)
64  : entry_(other.entry_)
65  , message_(other.message_)
66  , packet_(other.packet_)
67  {
68  }
69 
70  /// Instance of the packet containing the message
71  /// which in its turn contains the market data entry.
72  const NetPacket& packet() const
73  {
74  return packet_;
75  }
76 
77  /// Instance of message containing market data entry.
78  const Message& message() const
79  {
80  return message_;
81  }
82 
83  /// Instance of market data being referenced.
84  const Entry& entry() const
85  {
86  return entry_;
87  }
88 
89 private:
90  Data entry_;
91  Container message_;
92  const NetPacket& packet_;
93 
94  /// Reinitializes instance as copy of other one.
95  SecurityDataArgs& operator=(const SecurityDataArgs&);
96 };
97 
98 namespace {
99 /// Empty order list.
100 inline const TradeOrderIds& nullOrders()
101 {
102  static const TradeOrderIds theNull;
103 
104  return theNull;
105 }
106 } // namespace
107 
108 /// Attributes of trade summary.
109 template <class Summary, class Data = typename Summary::Entry>
110 class TradeSummaryArgs : public SecurityDataArgs<Summary, Data>
111 {
112 public:
114 
115  /// Aliases type of message holding
116  /// trade summary repeating group entries.
117  typedef typename Base::Message Message;
118 
119  /// Aliases trade summary data entry.
120  typedef typename Base::Entry Entry;
121 
122  /// Aliases collection of order ids.
124 
125  /// Initializes instance with data to be referenced.
127  const NetPacket& packet,
128  const Message& message,
129  const Entry& entry,
130  const OrderIds& ids = nullOrders()
131  )
132  : Base(packet, message, entry)
133  , orderIds_(ids)
134  {
135  }
136 
137  /// Initializes the instance as ref-copy of the other one.
139  : Base(static_cast<const Base&>(other))
140  , orderIds_(other.orderIds_)
141  {
142  }
143 
144  /// Order details referring to given trade.
145  /// Collection may be empty if order details
146  /// gather is not enabled.
147  ///
148  /// @see HandlerSettings::tradeProcessing
149  /// for more information.
150  const OrderIds& orderIds() const
151  {
152  return orderIds_;
153  }
154 
155 private:
156  const TradeOrderIds& orderIds_;
157 
158  TradeSummaryArgs& operator=(const TradeSummaryArgs&);
159 };
160 
162 
163 /// Instantiation of security data attributes for volumes.
165 
166 /// Instantiation of security data attributes for MBO book atomic updates.
168 
169 /// Instantiation of security data attributes for MBO book atomic updates.
172 
173 /// Instantiation of security data attributes for MBP book atomic updates.
175 
176 /// Instantiation of security data attributes for daily statistics.
178 
179 /// Instantiation of security data attributes for session statistics.
181 
182 /// Instantiation of security data attributes for limits and banding.
184 
185 /// Instantiation of security data attributes for quote request related symbols.
187 
188 //
189 
190 /// Instantiation of security data attributes for recovery data.
192 
193 /// Instantiation of security data attributes for MBO recovery data.
195 
196 //
197 
198 /// Exposes details of book maintenance failure.
199 template <class Book>
201 {
202 public:
203  /// Initializes instance with reference
204  /// to a book and failure reason.
205  BookUpdateErrorArgs(const Book& book, const std::string& description)
206  : book_(book)
207  , description_(description)
208  {
209  }
210 
211  /// Book which wasn't updated successfully.
212  const Book& book() const
213  {
214  return book_;
215  }
216 
217  /// Details on book update failure.
218  const std::string& description() const
219  {
220  return description_;
221  }
222 
223 private:
224  const Book& book_;
225  const std::string& description_;
226 
228 
229  BookUpdateErrorArgs& operator=(const BookUpdateErrorArgs&);
230 };
231 
232 /// Instantiation of book update error
233 /// arguments for books of MBO type.
235 
236 /// Instantiation of book update error
237 /// arguments for books of direct type.
239 
240 /// Instantiation of book update error
241 /// arguments for books of implied type.
243 
244 /// Callbacks invoked by Handler to expose market data entities.
246 {
247  /// Invoked when book reset procedure
248  /// is spawned by MDP on a channel.
249  virtual void onReset(Handler&) {}
250 
251  /// Invoked upon instrument definition reception.
253 
254  /// Invoked upon instrument definition reception.
256 
257  /// Invoked upon instrument definition reception.
259 
260  /// Invoked upon instrument definition reception.
262 
263  /// Invoked upon processing of an instrument
264  /// definition extracted from instrument cache.
265  virtual void onDefinition(Handler&, const Security&, const FIX::MultiContainerArgs&) {}
266 
267  /// Invoked for the instrument whose instrument
268  /// data wasn't received but other data like trades
269  /// or book updates is about to be processed.
270  virtual void onUndefined(Handler&, Security&) {}
271 
272  /// Invoked when snapshot is received for
273  /// the security while Handler recovers market
274  /// state from snapshots.
275  virtual void onRecovery(Handler&, const Security&, const SnapshotFullRefresh52Args&) {}
276 
277  /// Invoked when snapshot is received for
278  /// the security while Handler recovers market
279  /// state from snapshots.
281 
282  /// Invoked when trade is recovered from snapshot
283  /// while Handler recovers market state from snapshots.
284  virtual void onTrade(Handler&, const Security&, const Recovery52EntryArgs&) {}
285 
286  /// Invoked when trade summary
287  /// is received for the security.
288  virtual void onTrade(Handler&, const Security&, const TradeSummary48Args&) {}
289 
290  /// Invoked when electronic volume is
291  /// recovered from snapshot for the security.
292  virtual void onElectronicVolume(Handler&, const Security&, const Recovery52EntryArgs&) {}
293 
294  /// Invoked when electronic volume
295  /// is received for the security.
296  virtual void onElectronicVolume(Handler&, const Security&, const Volume37Args&) {}
297 
298  /// Invoked when atomic book update for
299  // the security is recovered from snapshot.
300  virtual void onBookAtomicUpdate(Handler&, const Security&, const MboRecovery53EntryArgs&) {}
301 
302  /// Invoked when atomic book update for
303  // the security is recovered from snapshot.
304  virtual void onBookAtomicUpdate(Handler&, const Security&, const Recovery52EntryArgs&) {}
305 
306  /// Invoked when atomic book update
307  /// for the security is received.
308  virtual void onBookAtomicUpdate(Handler&, const Security&, const MboBook47AtomicUpdateArgs&) {}
309 
310  /// Invoked when atomic book update
311  /// for the security is received.
313 
314  /// Invoked when atomic book update
315  /// for the security is received.
316  virtual void onBookAtomicUpdate(Handler&, const Security&, const MbpBook46AtomicUpdateArgs&) {}
317 
318  /// Invoked when MBO book
319  /// is updated for the security.
320  ///
321  /// @note Callback is invoked if
322  /// MBO book maintenance is enabled.
323  ///
324  /// @see HandlerSettings::bookManagement()
325  /// for more information.
326  virtual void onBookUpdate(Handler&, const Security&, const MboBook&) {}
327 
328  /// Invoked when direct book
329  /// is updated for the security.
330  ///
331  /// @note Callback is invoked if direct
332  /// book maintenance is enabled.
333  ///
334  /// @see HandlerSettings::bookManagement()
335  /// for more information.
336  virtual void onBookUpdate(Handler&, const Security&, const DirectBook&) {}
337 
338  /// Invoked when implied book
339  /// is updated for the security.
340  ///
341  /// @note Callback is invoked if direct
342  /// book maintenance is enabled.
343  ///
344  /// @see HandlerSettings::bookManagement()
345  /// for more information.
346  virtual void onBookUpdate(Handler&, const Security&, const ImpliedBook&) {}
347 
348  /// Invoked when consolidated book
349  /// is updated for the security.
350  ///
351  /// @note Callback is invoked if direct
352  /// book maintenance is enabled.
353  ///
354  /// @see HandlerSettings::bookManagement()
355  /// for more information.
356  virtual void onBookUpdate(Handler&, const Security&, const ConsolidatedBook&) {}
357 
358  /// Invoked when Handler fails to update
359  /// MBO book for given security.
360  virtual void onBookUpdateError(Handler&, const Security&, const MboBookUpdateErrorArgs&) {}
361 
362  /// Invoked when Handler fails to update
363  /// direct book for given security.
364  virtual void onBookUpdateError(Handler&, const Security&, const DirectBookUpdateErrorArgs&) {}
365 
366  /// Invoked when Handler fails to update
367  /// implied book for given security.
368  virtual void onBookUpdateError(Handler&, const Security&, const ImpliedBookUpdateErrorArgs&) {}
369 
370  /// Invoked when settlement price for the
371  /// security is recovered from snapshot.
372  virtual void onSettlementPrice(Handler&, const Security&, const Recovery52EntryArgs&) {}
373 
374  /// Invoked when settlement price
375  /// for the security is received.
376  virtual void onSettlementPrice(Handler&, const Security&, const DailyStatistics49Args&) {}
377 
378  /// Invoked when cleared volume for the
379  /// security is recovered from snapshot.
380  virtual void onClearedVolume(Handler&, const Security&, const Recovery52EntryArgs&) {}
381 
382  /// Invoked when cleared volume
383  /// for the security is received.
384  virtual void onClearedVolume(Handler&, const Security&, const DailyStatistics49Args&) {}
385 
386  /// Invoked when open interest for the
387  /// security is recovered from snapshot.
388  virtual void onOpenInterest(Handler&, const Security&, const Recovery52EntryArgs&) {}
389 
390  /// Invoked when open interest
391  /// for the security is received.
392  virtual void onOpenInterest(Handler&, const Security&, const DailyStatistics49Args&) {}
393 
394  /// Invoked when fixing price recovered
395  /// from snapshot for given security.
396  virtual void onFixingPrice(Handler&, const Security&, const Recovery52EntryArgs&) {}
397 
398  /// Invoked when fixing price
399  /// is received for the security.
400  virtual void onFixingPrice(Handler&, const Security&, const DailyStatistics49Args&) {}
401 
402  /// Invoked when opening price recovered
403  /// from snapshot for given security.
404  virtual void onOpeningPrice(Handler&, const Security&, const Recovery52EntryArgs&) {}
405 
406  /// Invoked when opening price
407  /// is received for the security.
408  virtual void onOpeningPrice(Handler&, const Security&, const SessionStatistics51Args&) {}
409 
410  /// Invoked when session high trade price
411  /// recovered from snapshot for given security.
412  virtual void onHighTradePrice(Handler&, const Security&, const Recovery52EntryArgs&) {}
413 
414  /// Invoked when session high trade
415  /// price is received for the security.
416  virtual void onHighTradePrice(Handler&, const Security&, const SessionStatistics51Args&) {}
417 
418  /// Invoked when session low trade price
419  /// recovered from snapshot for given security.
420  virtual void onLowTradePrice(Handler&, const Security&, const Recovery52EntryArgs&) {}
421 
422  /// Invoked when session low trade
423  /// price is received for the security.
424  virtual void onLowTradePrice(Handler&, const Security&, const SessionStatistics51Args&) {}
425 
426  /// Invoked when session highest bid price
427  /// recovered from snapshot for given security.
428  virtual void onHighestBid(Handler&, const Security&, const Recovery52EntryArgs&) {}
429 
430  /// Invoked when session highest bid
431  /// price is received for the security.
432  virtual void onHighestBid(Handler&, const Security&, const SessionStatistics51Args&) {}
433 
434  /// Invoked when session lowest offer price
435  /// recovered from snapshot for given security.
436  virtual void onLowestOffer(Handler&, const Security&, const Recovery52EntryArgs&) {}
437 
438  /// Invoked when session lowest offer
439  /// price is received for the security.
440  virtual void onLowestOffer(Handler&, const Security&, const SessionStatistics51Args&) {}
441 
442  /// Invoked when threshold limits and price
443  /// band variation is received for the security.
444  virtual void onLimitsAndBanding(Handler&, const Security&, const LimitsAndBanding50Args&) {}
445 
446  /// Invoked when request for quote
447  /// data is received for the security.
448  virtual void onQuoteRequest(Handler&, const Security&, const QuoteRequest39RelatedSymArgs&) {}
449 
450  /// Invoked when security status
451  /// is recovered from snapshot.
452  virtual void onStatus(Handler&, const Security&, const SnapshotFullRefresh52Args&) {}
453 
454  /// Invoked when security status
455  /// is received for given security.
456  virtual void onStatus(Handler&, const Security&, const SecurityStatus30Args&) {}
457 
458  /// Invoked when security status
459  /// is received for group of securities.
460  virtual void onGroupStatus(Handler&, const SecurityStatus30Args&) {}
461 
462  /// Invoked when gap on is detected in market
463  /// data referring to the given security.
464  virtual void onGap(Handler&, const Security&, UInt32) {}
465 
466  /// Invoked when the `Security` object is created. The returned value is attached to `Security::userData`.
468  {
469  return Security::UserData(0);
470  }
471 };
472 
473 template <class Book>
474 std::ostream& operator<<(std::ostream& stream, const BookUpdateErrorArgs<Book>& args)
475 {
476  return stream << args.description();
477 }
478 
Collection of attributes associated with security-related data in security listener callbacks...
SecurityDataArgs< QuoteRequest39, QuoteRequest39::RelatedSymEntry > QuoteRequest39RelatedSymArgs
Instantiation of security data attributes for quote request related symbols.
virtual void onLowTradePrice(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when session low trade price recovered from snapshot for given security.
Exposes the FIX message being processed by the Handler and the packet containing it.
TradeSummaryArgs(const TradeSummaryArgs &other)
Initializes the instance as ref-copy of the other one.
virtual void onHighestBid(Handler &, const Security &, const SessionStatistics51Args &)
Invoked when session highest bid price is received for the security.
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboRecovery53EntryArgs &)
Invoked when atomic book update for.
virtual void onOpeningPrice(Handler &, const Security &, const SessionStatistics51Args &)
Invoked when opening price is received for the security.
Base attributes of order book.
Definition: MbpBook.h:59
virtual void onStatus(Handler &, const Security &, const SnapshotFullRefresh52Args &)
Invoked when security status is recovered from snapshot.
virtual void onOpenInterest(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when open interest for the security is recovered from snapshot.
SecurityDataArgs< IncrementalRefreshBook46, IncrementalRefreshBook46CombinedEntry > MboBookCombined46AtomicUpdateArgs
Instantiation of security data attributes for MBO book atomic updates.
virtual void onOpeningPrice(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when opening price recovered from snapshot for given security.
SecurityDataArgs< IncrementalRefreshDailyStatistics49 > DailyStatistics49Args
Instantiation of security data attributes for daily statistics.
UInt32 UInt32
uInt32.
Definition: Fields.h:192
Encapsulates all the machinery related with market data processing from CME Market Data Platform...
Definition: Handler.h:55
virtual void onOpenInterest(Handler &, const Security &, const DailyStatistics49Args &)
Invoked when open interest for the security is received.
const NetPacket & packet() const
Instance of the packet containing the message which in its turn contains the market data entry...
BookUpdateErrorArgs< MboBook > MboBookUpdateErrorArgs
Instantiation of book update error arguments for books of MBO type.
virtual void onUndefined(Handler &, Security &)
Invoked for the instrument whose instrument data wasn&#39;t received but other data like trades or book u...
Attributes of trade summary.
Base::Entry Entry
Aliases trade summary data entry.
SecurityDataArgs< SnapshotFullRefreshOrderBook53 > MboRecovery53EntryArgs
Instantiation of security data attributes for MBO recovery data.
TradeSummaryArgs< IncrementalRefreshTradeSummary48 > TradeSummary48Args
virtual void onElectronicVolume(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when electronic volume is recovered from snapshot for the security.
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionFuture54Args &)
Invoked upon instrument definition reception.
virtual void onBookUpdate(Handler &, const Security &, const ImpliedBook &)
Invoked when implied book is updated for the security.
const Message & message() const
Instance of message containing market data entry.
virtual void onElectronicVolume(Handler &, const Security &, const Volume37Args &)
Invoked when electronic volume is received for the security.
SecurityDataArgs(const SecurityDataArgs &other)
Initializes instance as copy of other one.
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboBookCombined46AtomicUpdateArgs &)
Invoked when atomic book update for the security is received.
virtual void onHighestBid(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when session highest bid price recovered from snapshot for given security.
virtual void onBookUpdate(Handler &, const Security &, const ConsolidatedBook &)
Invoked when consolidated book is updated for the security.
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
Definition: Bootstrap.h:35
Data Entry
Type of repeating group entry whose instance referenced by given arguments.
Exposes details of book maintenance failure.
virtual void onBookUpdate(Handler &, const Security &, const MboBook &)
Invoked when MBO book is updated for the security.
Container Message
Type of message whose instance is referenced by given arguments.
virtual void onClearedVolume(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when cleared volume for the security is recovered from snapshot.
const Entry & entry() const
Instance of market data being referenced.
virtual void onReset(Handler &)
Invoked when book reset procedure is spawned by MDP on a channel.
Collection of order details referring to a single trade.
Definition: TradeOrderIds.h:75
virtual void onTrade(Handler &, const Security &, const TradeSummary48Args &)
Invoked when trade summary is received for the security.
const Book & book() const
Book which wasn&#39;t updated successfully.
Callbacks invoked by Handler to expose market data entities.
SecurityDataArgs< Summary, Data > Base
SecurityDataArgs< IncrementalRefreshSessionStatistics51 > SessionStatistics51Args
Instantiation of security data attributes for session statistics.
virtual void onQuoteRequest(Handler &, const Security &, const QuoteRequest39RelatedSymArgs &)
Invoked when request for quote data is received for the security.
virtual void onClearedVolume(Handler &, const Security &, const DailyStatistics49Args &)
Invoked when cleared volume for the security is received.
virtual void onSettlementPrice(Handler &, const Security &, const DailyStatistics49Args &)
Invoked when settlement price for the security is received.
SecurityDataArgs(const NetPacket &packet, const Message &message, const Entry &entry)
Initializes instance with given market data entry.
Collection of market data supplied via message processing callbacks.
virtual void onGroupStatus(Handler &, const SecurityStatus30Args &)
Invoked when security status is received for group of securities.
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:67
virtual void onFixingPrice(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when fixing price recovered from snapshot for given security.
SecurityDataArgs< IncrementalRefreshLimitsBanding50 > LimitsAndBanding50Args
Instantiation of security data attributes for limits and banding.
virtual void onSettlementPrice(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when settlement price for the security is recovered from snapshot.
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 &)
Invoked when trade is recovered from snapshot while Handler recovers market state from snapshots...
Attributes associated with security.
Definition: Security.h:29
virtual void onHighTradePrice(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when session high trade price recovered from snapshot for given security. ...
SecurityDataArgs< IncrementalRefreshBook46 > MbpBook46AtomicUpdateArgs
Instantiation of security data attributes for MBP book atomic updates.
BookUpdateErrorArgs(const Book &book, const std::string &description)
Initializes instance with reference to a book and failure reason.
virtual void onBookUpdateError(Handler &, const Security &, const MboBookUpdateErrorArgs &)
Invoked when Handler fails to update MBO book for given security.
#define ONIXS_CMEMDH_EXPORTED
Definition: Compiler.h:135
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionOption55Args &)
Invoked upon instrument definition reception.
SecurityDataArgs< IncrementalRefreshOrderBook47 > MboBook47AtomicUpdateArgs
Instantiation of security data attributes for MBO book atomic updates.
virtual void onBookAtomicUpdate(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when atomic book update for.
virtual void onBookUpdate(Handler &, const Security &, const DirectBook &)
Invoked when direct book is updated for the security.
virtual void onRecovery(Handler &, const Security &, const SnapshotFullRefresh52Args &)
Invoked when snapshot is received for the security while Handler recovers market state from snapshots...
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionFixedIncome57Args &)
Invoked upon instrument definition reception.
const OrderIds & orderIds() const
Order details referring to given trade.
UInt64 UserData
User-defined data to be attached.
Definition: Security.h:90
BookUpdateErrorArgs< ImpliedBook > ImpliedBookUpdateErrorArgs
Instantiation of book update error arguments for books of implied type.
virtual void onHighTradePrice(Handler &, const Security &, const SessionStatistics51Args &)
Invoked when session high trade price is received for the security.
BookUpdateErrorArgs< DirectBook > DirectBookUpdateErrorArgs
Instantiation of book update error arguments for books of direct type.
virtual void onBookAtomicUpdate(Handler &, const Security &, const MbpBook46AtomicUpdateArgs &)
Invoked when atomic book update for the security is received.
virtual void onRecovery(Handler &, const Security &, const SnapshotFullRefreshOrderBook53Args &)
Invoked when snapshot is received for the security while Handler recovers market state from snapshots...
virtual Security::UserData onSecurityCreated(Handler &, const Security &)
Invoked when the Security object is created. The returned value is attached to Security::userData.
virtual void onFixingPrice(Handler &, const Security &, const DailyStatistics49Args &)
Invoked when fixing price is received for the security.
virtual void onBookAtomicUpdate(Handler &, const Security &, const MboBook47AtomicUpdateArgs &)
Invoked when atomic book update for the security is received.
virtual void onLimitsAndBanding(Handler &, const Security &, const LimitsAndBanding50Args &)
Invoked when threshold limits and price band variation is received for the security.
SecurityDataArgs< SnapshotFullRefresh52 > Recovery52EntryArgs
Instantiation of security data attributes for recovery data.
virtual void onStatus(Handler &, const Security &, const SecurityStatus30Args &)
Invoked when security status is received for given security.
virtual void onBookUpdateError(Handler &, const Security &, const ImpliedBookUpdateErrorArgs &)
Invoked when Handler fails to update implied book for given security.
virtual void onDefinition(Handler &, const Security &, const FIX::MultiContainerArgs &)
Invoked upon processing of an instrument definition extracted from instrument cache.
virtual void onGap(Handler &, const Security &, UInt32)
Invoked when gap on is detected in market data referring to the given security.
Base::Message Message
Aliases type of message holding trade summary repeating group entries.
virtual void onBookUpdateError(Handler &, const Security &, const DirectBookUpdateErrorArgs &)
Invoked when Handler fails to update direct book for given security.
virtual void onDefinition(Handler &, const Security &, const InstrumentDefinitionSpread56Args &)
Invoked upon instrument definition reception.
virtual void onLowestOffer(Handler &, const Security &, const SessionStatistics51Args &)
Invoked when session lowest offer price is received for the security.
virtual void onLowTradePrice(Handler &, const Security &, const SessionStatistics51Args &)
Invoked when session low trade price is received for the security.
Market By Order book.
Definition: MboBook.h:71
virtual void onLowestOffer(Handler &, const Security &, const Recovery52EntryArgs &)
Invoked when session lowest offer price recovered from snapshot for given security.
SecurityDataArgs< IncrementalRefreshVolume37 > Volume37Args
Instantiation of security data attributes for volumes.
#define ONIXS_CMEMDH_NAMESPACE_END
Definition: Bootstrap.h:68