OnixS Eurex ETI Handler C++ library  9.19.0
API documentation
BasketExecutionBroadcast.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 /// Basket Exec Group Element.
37 class ONIXS_EUREX_ETI_EXPORT BasketExecGrpElem
38 {
39 public:
40  /// Initialize default instance.
42 
43  /// Identifier for a Trade Entry Service trade, i.e TES trade ID.
45 
46  /// Product ID.
48 
49  /// Unique identifier for a TES Trade side.
51 
52  /// Sub-type of a trade type.
54 
55  /// Returns string representation.
56  std::string toString () const;
57 
58 private:
59  friend class Serializer;
60  BasketExecGrpElem (const void* data);
61 };
62 
63 ONIXS_EUREX_ETI_EXPORT std::ostream& operator << (std::ostream&, const BasketExecGrpElem&);
64 
65 /// Basket Execution Broadcast Message.
66 class ONIXS_EUREX_ETI_EXPORT BasketExecutionBroadcast : public Message
67 {
68 public:
69  /// Initialize default instance.
71 
72  /// Message sequence number assigned to a non-order related Eurex ETI data stream.
74 
75  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related subscription.
77 
78  /// Is required to define the scope of a Retransmission Request.
80 
81  /// Indicates a retransmission message.
83 
84  /// Identifier for subscription and retransmission of an ETI data stream.
86 
87  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated transaction.
89 
90  /// System defined Basket ID.
92 
93  /// Timestamp of the match event (trade).
95 
96  /// System generated transaction ID for a Basket transaction.
98 
99  /// The product identifier uniquely identifies a Eurex product.
101 
102  /// ID of the Basket profile.
104 
105  /// Indicates if a trade should be reported via the market reporting service.
107 
108  /// Identifies the type of trade notification.
110 
111  /// Receiver of a message.
113 
114  /// User defined Basket trade ID.
116 
117  /// Basket Exec Group.
118  std::vector<BasketExecGrpElem> basketExecGrp;
119 
120  /// Returns template ID.
121  TemplateId::Enum templateId () const;
122 
123  /// Returns string representation.
124  std::string toString () const;
125 
126 private:
127  friend class Serializer;
128  BasketExecutionBroadcast (const void* data, size_t dataSize, MessageInfo& msgInfo);
129  void nativeSerializeTo (void* nativeMessage);
130 };
131 
132 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketExecutionBroadcast&);
133 
134 }
135 }
136 }
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
UInt32 allocId
Unique identifier for a TES Trade side.
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< BasketExecGrpElem > basketExecGrp
Basket Exec Group.
UInt32 basketExecId
System generated transaction ID for a Basket transaction.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
std::string basketSideTradeReportId
User defined Basket trade ID.
unsigned long long UInt64
Definition: Defines.h:47
Enum
Indicates if a trade should be reported via the market reporting service.
UInt16 partitionId
Is required to define the scope of a Retransmission Request.
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
signed int SInt32
Definition: Defines.h:42
UInt32 applSubId
Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to t...
MessageEventSource::Enum messageEventSource
Receiver of a message.
LastFragment::Enum lastFragment
Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one...
Message base class.
Definition: Message.h:33
UInt32 packageId
Identifier for a Trade Entry Service trade, i.e TES trade ID.
UInt64 applSeqNum
Message sequence number assigned to a non-order related Eurex ETI data stream.
unsigned int UInt32
Definition: Defines.h:46
UInt64 transactTime
Timestamp of the match event (trade).
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:34
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.
Enum
Sub-type of a trade type.
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
Enum
Identifies the type of trade notification.
SideTrdSubTyp::Enum sideTrdSubTyp
Sub-type of a trade type.
unsigned short UInt16
Definition: Defines.h:45