OnixS Eurex ETI Handler C++ library  9.19.0
API documentation
CLIPExecutionNotification.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 part
13  * of this source code or associated reference material to any other location for further reproduction
14  * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15  *
16  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17  * the terms of the Agreement is a violation of copyright law.
18  */
19 
20 #pragma once
21 
22 #include "OnixS/Eurex/Trading/Export.h"
27 
28 #include <iosfwd>
29 #include <string>
30 #include <vector>
31 
32 namespace OnixS {
33 namespace Eurex {
34 namespace Trading {
35 
36 /// Fills Group Element.
37 class ONIXS_EUREX_ETI_EXPORT FillsGrpElem
38 {
39 public:
40  /// Initialize default instance.
41  FillsGrpElem ();
42 
43  /// Price of Fill.
45 
46  /// Quantity of Fill.
48 
49  /// Unique identifier for each price level of a match event (used for public trade reporting).
51 
52  /// Private identifier of an order match event, which can be reconciled with the field SideTradeID (1506) in the Trade Capture Report (AE).
54 
55  /// Indicates whether the order added or removed liquidity.
57 
58  /// Returns string representation.
59  std::string toString () const;
60 
61 private:
62  friend class Serializer;
63  FillsGrpElem (const void* data);
64 };
65 
66 ONIXS_EUREX_ETI_EXPORT std::ostream& operator << (std::ostream&, const FillsGrpElem&);
67 
68 /// Instrmnt Leg Exec Group Element.
69 class ONIXS_EUREX_ETI_EXPORT InstrmntLegExecGrpElem
70 {
71 public:
72  /// Initialize default instance.
74 
75  /// Instrument identifiier of the leg security.
77 
78  /// Price of this leg fill.
80 
81  /// Quantity executed in this leg fill.
83 
84  /// Private identifier of a leg match event, which can be reconciled with the field SideTradeID (1506) in the Trade Capture Report (AE).
86 
87  /// The side of the individual leg of a strategy.
89 
90  /// Reference to the corresponding FillsGrp repeating group instance.
92 
93  /// Returns string representation.
94  std::string toString () const;
95 
96 private:
97  friend class Serializer;
98  InstrmntLegExecGrpElem (const void* data);
99 };
100 
101 ONIXS_EUREX_ETI_EXPORT std::ostream& operator << (std::ostream&, const InstrmntLegExecGrpElem&);
102 
103 /// CLIP Execution Notification Message.
104 class ONIXS_EUREX_ETI_EXPORT CLIPExecutionNotification : public Message
105 {
106 public:
107  /// Initialize default instance.
109 
110  /// Matching engine out timestamp.
112 
113  /// Is required to define the scope of a Retransmission Request.
115 
116  /// Message key assigned to a order/quote event related Eurex ETI data stream.
118 
119  /// Identifier for subscription and retransmission of an ETI data stream.
121 
122  /// Indicates a retransmission message.
124 
125  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated transaction.
127 
128  /// Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order.
130 
131  /// Transaction timestamp.
133 
134  /// The instrument identifier uniquely identifies an instrument in the core system.
136 
137  /// Total quantity cancelled for this order.
139 
140  /// Remaining quantity of an order.
142 
143  /// Cumulated executed quantity of an order.
145 
146  /// The product identifier uniquely identifies a Eurex product.
148 
149  /// Code to further qualify the field ExecType (150) of the Execution Report (8) message.
151 
152  /// This field qualifies an instrument type on Eurex.
154 
155  /// Side of the order.
157 
158  /// Conveys the current status of an order.
160 
161  /// The reason why this message was generated.
163 
164  /// The point in the matching process at which this trade was matched.
166 
167  /// Fills Group.
168  std::vector<FillsGrpElem> fillsGrp;
169 
170  /// Instrmnt Leg Exec Group.
171  std::vector<InstrmntLegExecGrpElem> instrmntLegExecGrp;
172 
173  /// Returns template ID.
174  TemplateId::Enum templateId () const;
175 
176  /// Returns string representation.
177  std::string toString () const;
178 
179 private:
180  friend class Serializer;
181  CLIPExecutionNotification (const void* data, size_t dataSize, MessageInfo& msgInfo);
182  void nativeSerializeTo (void* nativeMessage);
183 };
184 
185 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const CLIPExecutionNotification&);
186 
187 }
188 }
189 }
Enum
Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one...
Definition: Enumerations.h:661
Enum
Indicates a retransmission message.
Definition: Enumerations.h:71
std::vector< FillsGrpElem > fillsGrp
Fills Group.
unsigned char UInt8
Definition: Defines.h:44
Enum
Side of the order.
SInt64 cxlQty
Total quantity cancelled for this order.
Enum
The point in the matching process at which this trade was matched.
Definition: Enumerations.h:937
unsigned long long UInt64
Definition: Defines.h:47
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
Enum
The side of the individual leg of a strategy.
Definition: Enumerations.h:784
SInt32 fillExecId
Private identifier of an order match event, which can be reconciled with the field SideTradeID (1506)...
Enum
The reason why this message was generated.
Definition: Enumerations.h:452
signed int SInt32
Definition: Defines.h:42
Enum
This field qualifies an instrument type on Eurex.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
ExecType::Enum execType
The reason why this message was generated.
Message base class.
Definition: Message.h:33
std::vector< UInt8 > Data
Definition: Defines.h:60
LastFragment::Enum lastFragment
Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one...
Enum
Code to further qualify the field ExecType (150) of the Execution Report (8) message.
Definition: Enumerations.h:409
SInt64 leavesQty
Remaining quantity of an order.
MatchType::Enum matchType
The point in the matching process at which this trade was matched.
unsigned int UInt32
Definition: Defines.h:46
signed long long SInt64
Definition: Defines.h:43
UInt16 partitionId
Is required to define the scope of a Retransmission Request.
SInt64 cumQty
Cumulated executed quantity of an order.
SInt32 legExecId
Private identifier of a leg match event, which can be reconciled with the field SideTradeID (1506) in...
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
SInt64 legSecurityId
Instrument identifiier of the leg security.
ProductComplex::Enum productComplex
This field qualifies an instrument type on Eurex.
SInt64 legLastQty
Quantity executed in this leg fill.
FillLiquidityInd::Enum fillLiquidityInd
Indicates whether the order added or removed liquidity.
LegSide::Enum legSide
The side of the individual leg of a strategy.
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:34
UInt64 trdRegTSTimeOut
Matching engine out timestamp.
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
UInt8 fillRefId
Reference to the corresponding FillsGrp repeating group instance.
std::vector< InstrmntLegExecGrpElem > instrmntLegExecGrp
Instrmnt Leg Exec Group.
UInt64 orderId
Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order...
Data applMsgId
Message key assigned to a order/quote event related Eurex ETI data stream.
OrdStatus::Enum ordStatus
Conveys the current status of an order.
Enum
Conveys the current status of an order.
Enum
Indicates whether the order added or removed liquidity.
Definition: Enumerations.h:503
unsigned short UInt16
Definition: Defines.h:45
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.
UInt32 fillMatchId
Unique identifier for each price level of a match event (used for public trade reporting).
ExecRestatementReason::Enum execRestatementReason
Code to further qualify the field ExecType (150) of the Execution Report (8) message.