OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
BasketBroadcast.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"
29 
30 #include <iosfwd>
31 #include <string>
32 #include <vector>
33 
34 namespace OnixS { namespace Eurex { namespace Trading {
35 
36 /// Basket Broadcast Message.
37 class ONIXS_EUREX_ETI_EXPORT BasketBroadcast : public Message
38 {
39 public:
40  /// Initialize default instance.
42 
43  /// Message sequence number assigned to a non-order related Eurex ETI data stream.
45 
46  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related
47  /// subscription.
49 
50  /// Is required to define the scope of a Retransmission Request.
52 
53  /// Indicates a retransmission message.
55 
56  /// Identifier for subscription and retransmission of an ETI data stream.
58 
59  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
60  /// transaction.
62 
63  /// System defined Basket ID.
65 
66  /// Timestamp of the match event (trade).
68 
69  /// System generated transaction ID for a Basket transaction.
71 
72  /// The product identifier uniquely identifies a Eurex product.
74 
75  /// Month year code for expiry YYYYMM.
77 
78  /// ID of the Basket profile.
80 
81  /// Indicates if a trade should be reported via the market reporting service.
83 
84  /// Identifies the type of trade notification.
86 
87  /// Basket operation.
89 
90  /// Receiver of a message.
92 
93  /// Used to indicate anonymized trades in baskets.
95 
96  /// User defined text message field.
97  std::string basketTradeReportText;
98 
99  /// User defined transaction ID. Part of the TES response and TES broadcast.
100  std::string tradeReportId;
101 
102  /// Basket Root Party Group.
103  std::vector<BasketRootPartyGrpElem> basketRootPartyGrp;
104 
105  /// Instrument Match Side Group.
106  std::vector<InstrmtMatchSideGrpElem> instrmtMatchSideGrp;
107 
108  /// Basket Side Alloc Group.
109  std::vector<BasketSideAllocGrpElem> basketSideAllocGrp;
110 
111  /// Returns template ID.
112  TemplateId::Enum templateId() const;
113 
114  /// Returns string representation.
115  std::string toString() const;
116 
117 private:
118  friend class Serializer;
119  BasketBroadcast(const void* data, size_t dataSize, MessageInfo& msgInfo);
120  void nativeSerializeTo(void* nativeMessage);
121 };
122 
123 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketBroadcast&);
124 
125 }}} // namespace OnixS::Eurex::Trading
Enum
Indicates a retransmission message.
Definition: Enumerations.h:76
Enum
Used to indicate anonymized trades in baskets.
Definition: Enumerations.h:171
unsigned long long UInt64
Definition: Defines.h:46
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
Enum
Indicates if a trade should be reported via the market reporting service.
std::vector< BasketSideAllocGrpElem > basketSideAllocGrp
Basket Side Alloc Group.
UInt16 partitionId
Is required to define the scope of a Retransmission Request.
UInt64 basketTrdMatchId
System defined Basket ID.
signed int SInt32
Definition: Defines.h:41
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
UInt32 basketExecId
System generated transaction ID for a Basket transaction.
UInt32 basketProfileId
ID of the Basket profile.
Message base class.
Definition: Message.h:32
BasketTradeReportType::Enum basketTradeReportType
Basket operation.
UInt32 maturityMonthYear
Month year code for expiry YYYYMM.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
BasketAnonymity::Enum basketAnonymity
Used to indicate anonymized trades in baskets.
unsigned int UInt32
Definition: Defines.h:45
UInt64 applSeqNum
Message sequence number assigned to a non-order related Eurex ETI data stream.
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
std::vector< InstrmtMatchSideGrpElem > instrmtMatchSideGrp
Instrument Match Side Group.
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:33
std::vector< BasketRootPartyGrpElem > basketRootPartyGrp
Basket Root Party Group.
Enum
Identifies the type of trade notification.
MessageEventSource::Enum messageEventSource
Receiver of a message.
unsigned short UInt16
Definition: Defines.h:44
UInt64 transactTime
Timestamp of the match event (trade).
std::string basketTradeReportText
User defined text message field.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.