OnixS Eurex ETI Handler C++ library  9.19.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 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"
28 
29 #include <iosfwd>
30 #include <string>
31 #include <vector>
32 
33 namespace OnixS {
34 namespace Eurex {
35 namespace Trading {
36 
37 /// Basket Broadcast Message.
38 class ONIXS_EUREX_ETI_EXPORT BasketBroadcast : public Message
39 {
40 public:
41  /// Initialize default instance.
42  BasketBroadcast ();
43 
44  /// Message sequence number assigned to a non-order related Eurex ETI data stream.
46 
47  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related 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 transaction.
61 
62  /// System defined Basket ID.
64 
65  /// Timestamp of the match event (trade).
67 
68  /// System generated transaction ID for a Basket transaction.
70 
71  /// The product identifier uniquely identifies a Eurex product.
73 
74  /// Month year code for expiry YYYYMM.
76 
77  /// ID of the Basket profile.
79 
80  /// Indicates if a trade should be reported via the market reporting service.
82 
83  /// Identifies the type of trade notification.
85 
86  /// Basket operation.
88 
89  /// Receiver of a message.
91 
92  /// Used to indicate anonymized trades in baskets.
94 
95  /// User defined text message field.
96  std::string basketTradeReportText;
97 
98  /// User defined transaction ID. Part of the TES response and TES broadcast.
99  std::string tradeReportId;
100 
101  /// Basket Root Party Group.
102  std::vector<BasketRootPartyGrpElem> basketRootPartyGrp;
103 
104  /// Instrument Match Side Group.
105  std::vector<InstrmtMatchSideGrpElem> instrmtMatchSideGrp;
106 
107  /// Basket Side Alloc Group.
108  std::vector<BasketSideAllocGrpElem> basketSideAllocGrp;
109 
110  /// Returns template ID.
111  TemplateId::Enum templateId () const;
112 
113  /// Returns string representation.
114  std::string toString () const;
115 
116 private:
117  friend class Serializer;
118  BasketBroadcast (const void* data, size_t dataSize, MessageInfo& msgInfo);
119  void nativeSerializeTo (void* nativeMessage);
120 };
121 
122 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketBroadcast&);
123 
124 }
125 }
126 }
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
Enum
Used to indicate anonymized trades in baskets.
Definition: Enumerations.h:150
unsigned long long UInt64
Definition: Defines.h:47
UInt32 applSubId
Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to t...
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
Enum
Indicates if a trade should be reported via the market reporting service.
LastFragment::Enum lastFragment
Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one...
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:42
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:33
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:46
UInt64 applSeqNum
Message sequence number assigned to a non-order related Eurex ETI data stream.
std::vector< InstrmtMatchSideGrpElem > instrmtMatchSideGrp
Instrument Match Side Group.
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:34
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
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:45
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.