OnixS Eurex ETI Handler C++ library  9.22.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
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 /// Basket Exec Group Element.
36 class ONIXS_EUREX_ETI_EXPORT BasketExecGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// Identifier for a Trade Entry Service trade, i.e TES trade ID.
44 
45  /// Product ID.
47 
48  /// Unique identifier for a TES Trade side.
50 
51  /// Sub-type of a trade type.
53 
54  /// Returns string representation.
55  std::string toString() const;
56 
57 private:
58  friend class Serializer;
59  BasketExecGrpElem(const void* data);
60 };
61 
62 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketExecGrpElem&);
63 
64 /// Basket Execution Broadcast Message.
65 class ONIXS_EUREX_ETI_EXPORT BasketExecutionBroadcast : public Message
66 {
67 public:
68  /// Initialize default instance.
70 
71  /// Message sequence number assigned to a non-order related Eurex ETI data stream.
73 
74  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related
75  /// 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
88  /// transaction.
90 
91  /// System defined Basket ID.
93 
94  /// System defined Original Basket ID.
96 
97  /// Timestamp of the match event (trade).
99 
100  /// System generated transaction ID for a Basket transaction.
102 
103  /// The product identifier uniquely identifies a Eurex product.
105 
106  /// ID of the Basket profile.
108 
109  /// Indicates if a trade should be reported via the market reporting service.
111 
112  /// Identifies the type of trade notification.
114 
115  /// Indicates whether the counterparties have the right for early termination.
117 
118  /// Receiver of a message.
120 
121  /// User defined Basket trade ID.
123 
124  /// Basket Exec Group.
125  std::vector<BasketExecGrpElem> basketExecGrp;
126 
127  /// Returns template ID.
128  TemplateId::Enum templateId() const;
129 
130  /// Returns string representation.
131  std::string toString() const;
132 
133 private:
134  friend class Serializer;
135  BasketExecutionBroadcast(const void* data, size_t dataSize, MessageInfo& msgInfo);
136  void nativeSerializeTo(void* nativeMessage);
137 };
138 
139 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketExecutionBroadcast&);
140 
141 }}}
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 a retransmission message.
Definition: Enumerations.h:76
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:46
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:41
MessageEventSource::Enum messageEventSource
Receiver of a message.
Message base class.
Definition: Message.h:32
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.
UInt64 origBasketTrdMatchId
System defined Original Basket ID.
OptionalEarlyTerminationIndicator::Enum optionalEarlyTerminationIndicator
Indicates whether the counterparties have the right for early termination.
unsigned int UInt32
Definition: Defines.h:45
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
UInt64 transactTime
Timestamp of the match event (trade).
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:33
Enum
Indicates whether the counterparties have the right for early termination.
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.
Enum
Identifies the type of trade notification.
SideTrdSubTyp::Enum sideTrdSubTyp
Sub-type of a trade type.
unsigned short UInt16
Definition: Defines.h:44