OnixS Eurex ETI Handler C++ library  9.20.0
API documentation
QuoteExecutionReport.h
Go to the documentation of this file.
1 /*
2  * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3  *
4  * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5  * and international copyright treaties.
6  *
7  * Access to and use of the software is governed by the terms of the applicable ONIXS Software
8  * Services Agreement (the Agreement) and Customer end user license agreements granting
9  * a non-assignable, non-transferable and non-exclusive license to use the software
10  * for it's own data processing purposes under the terms defined in the Agreement.
11  *
12  * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any
13  * part of this source code or associated reference material to any other location for further
14  * reproduction or redistribution, and any amendments to this copyright notice, are expressly
15  * prohibited.
16  *
17  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
18  * the terms of the Agreement is a violation of copyright law.
19  */
20 
21 #pragma once
22 
25 #include "OnixS/Eurex/Trading/Export.h"
28 
29 #include <iosfwd>
30 #include <string>
31 #include <vector>
32 
33 namespace OnixS { namespace Eurex { namespace Trading {
34 
35 /// Quote Event Group Element.
36 class ONIXS_EUREX_ETI_EXPORT QuoteEventGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// The instrument identifier uniquely identifies an instrument in the core system.
44 
45  /// Price of this fill.
47 
48  /// Quantity executed in this fill.
50 
51  /// Customer defined mass quote identifier.
53 
54  /// Unique identifier for each price level of a match event (used for public trade reporting).
56 
57  /// Private identifier of a quote match event, which can be reconciled with the field SideTradeID (1506) in the
58  /// Trade Capture Report (AE).
60 
61  /// Conveys the quote event type.
63 
64  /// Side of the quote.
66 
67  /// Indicates whether the quote added or removed liquidity.
69 
70  /// Additional information why quote side was removed.
72 
73  /// Returns string representation.
74  std::string toString() const;
75 
76 private:
77  friend class Serializer;
78  QuoteEventGrpElem(const void* data);
79 };
80 
81 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const QuoteEventGrpElem&);
82 
83 /// Quote Leg Exec Group Element.
84 class ONIXS_EUREX_ETI_EXPORT QuoteLegExecGrpElem
85 {
86 public:
87  /// Initialize default instance.
89 
90  /// Instrument identifiier of the leg security.
92 
93  /// Price of this leg fill.
95 
96  /// Quantity executed in this leg fill.
98 
99  /// Private identifier of a leg match event, which can be reconciled with the field SideTradeID (1506) in the Trade
100  /// Capture Report (AE).
102 
103  /// The side of the individual leg of a strategy.
105 
106  /// Quote events index.
108 
109  /// Returns string representation.
110  std::string toString() const;
111 
112 private:
113  friend class Serializer;
114  QuoteLegExecGrpElem(const void* data);
115 };
116 
117 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const QuoteLegExecGrpElem&);
118 
119 /// Quote Execution Report Message.
120 class ONIXS_EUREX_ETI_EXPORT QuoteExecutionReport : public Message
121 {
122 public:
123  /// Initialize default instance.
125 
126  /// Matching engine out timestamp.
128 
129  /// Is required to define the scope of a Retransmission Request.
131 
132  /// Message key assigned to a order/quote event related Eurex ETI data stream.
134 
135  /// Identifier for subscription and retransmission of an ETI data stream.
137 
138  /// Indicates a retransmission message.
140 
141  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
142  /// transaction.
144 
145  /// Transaction timestamp.
147 
148  /// The product identifier uniquely identifies a Eurex product.
150 
151  /// Quote Event Group.
152  std::vector<QuoteEventGrpElem> quoteEventGrp;
153 
154  /// Quote Leg Exec Group.
155  std::vector<QuoteLegExecGrpElem> quoteLegExecGrp;
156 
157  /// Returns template ID.
158  TemplateId::Enum templateId() const;
159 
160  /// Returns string representation.
161  std::string toString() const;
162 
163 private:
164  friend class Serializer;
165  QuoteExecutionReport(const void* data, size_t dataSize, MessageInfo& msgInfo);
166  void nativeSerializeTo(void* nativeMessage);
167 };
168 
169 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const QuoteExecutionReport&);
170 
171 }}} // namespace OnixS::Eurex::Trading
SInt64 quoteEventQty
Quantity executed in this fill.
UInt16 partitionId
Is required to define the scope of a Retransmission Request.
Data applMsgId
Message key assigned to a order/quote event related Eurex ETI data stream.
Enum
Indicates a retransmission message.
Definition: Enumerations.h:70
std::vector< QuoteLegExecGrpElem > quoteLegExecGrp
Quote Leg Exec Group.
SInt64 legLastPx
Price of this leg fill.
unsigned char UInt8
Definition: Defines.h:43
unsigned long long UInt64
Definition: Defines.h:46
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
SInt64 legSecurityId
Instrument identifiier of the leg security.
Enum
The side of the individual leg of a strategy.
Definition: Enumerations.h:789
SInt64 legLastQty
Quantity executed in this leg fill.
signed int SInt32
Definition: Defines.h:41
QuoteEventLiquidityInd::Enum quoteEventLiquidityInd
Indicates whether the quote added or removed liquidity.
LegSide::Enum legSide
The side of the individual leg of a strategy.
std::vector< QuoteEventGrpElem > quoteEventGrp
Quote Event Group.
QuoteEventReason::Enum quoteEventReason
Additional information why quote side was removed.
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
Message base class.
Definition: Message.h:32
UInt64 quoteMsgId
Customer defined mass quote identifier.
std::vector< UInt8 > Data
Definition: Defines.h:59
Enum
Indicates whether the quote added or removed liquidity.
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
QuoteEventType::Enum quoteEventType
Conveys the quote event type.
QuoteEventSide::Enum quoteEventSide
Side of the quote.
UInt32 quoteEventMatchId
Unique identifier for each price level of a match event (used for public trade reporting).
UInt64 trdRegTSTimeOut
Matching engine out timestamp.
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:33
Enum
Additional information why quote side was removed.
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
unsigned short UInt16
Definition: Defines.h:44
Enum
Conveys the quote event type.