OnixS Eurex ETI Handler C++ library  9.25.0
API documentation
SRQSQuoteSnapshotNotification.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 /// SRQS Quote Entry Group Element.
36 class ONIXS_EUREX_ETI_EXPORT SRQSQuoteEntryGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// Timestamp of the match event (trade).
44 
45  /// Time a message expires.
47 
48  /// Customer defined mass quote identifier.
50 
51  /// Identifier of the replaced quote.
53 
54  /// Bid price/rate.
56 
57  /// Quantity of bid.
59 
60  /// Offer price/rate.
62 
63  /// Quantity of offer.
65 
66  /// Underlying price associate with a derivative instrument.
68 
69  /// The underlying delta of a Vola-Strategy.
71 
72  /// Underlying reference price for an option (for option strategies).
74 
75  /// Owning User ID.
77 
78  /// ID of a SRQS negotiation.
80 
81  /// Quoting status for the executing party.
83 
84  /// User defined ID of a SRQS negotiation.
85  std::string firmNegotiationId;
86 
87  /// Owning business unit name.
88  std::string partyExecutingFirm;
89 
90  /// Owning user name.
91  std::string partyExecutingTrader;
92 
93  /// The entering user.
94  std::string partyEnteringTrader;
95 
96  /// Returns string representation.
97  std::string toString() const;
98 
99 private:
100  friend class Serializer;
101  SRQSQuoteEntryGrpElem(const void* data);
102 };
103 
104 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const SRQSQuoteEntryGrpElem&);
105 
106 /// SRQS Quote Snapshot Notification Message.
107 class ONIXS_EUREX_ETI_EXPORT SRQSQuoteSnapshotNotification : public Message
108 {
109 public:
110  /// Initialize default instance.
112 
113  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related
114  /// subscription.
116 
117  /// Indicates a retransmission message.
119 
120  /// Identifier for subscription and retransmission of an ETI data stream.
122 
123  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
124  /// transaction.
126 
127  /// Receiver of a message.
129 
130  /// SRQS Quote Entry Group.
131  std::vector<SRQSQuoteEntryGrpElem> sRQSQuoteEntryGrp;
132 
133  /// Returns template ID.
134  TemplateId::Enum templateId() const;
135 
136  /// Returns string representation.
137  std::string toString() const;
138 
139 private:
140  friend class Serializer;
141  SRQSQuoteSnapshotNotification(const void* data, size_t dataSize, MessageInfo& msgInfo);
142  void nativeSerializeTo(void* nativeMessage);
143 };
144 
145 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const SRQSQuoteSnapshotNotification&);
146 
147 }}} // namespace OnixS::Eurex::Trading
Enum
Indicates a retransmission message.
Definition: Enumerations.h:76
std::string partyExecutingFirm
Owning business unit name.
unsigned long long UInt64
Definition: Defines.h:46
UInt64 secondaryQuoteId
Identifier of the replaced quote.
std::vector< SRQSQuoteEntryGrpElem > sRQSQuoteEntryGrp
SRQS Quote Entry Group.
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.
Message base class.
Definition: Message.h:32
std::string firmNegotiationId
User defined ID of a SRQS negotiation.
SInt64 underlyingDeltaPercentage
The underlying delta of a Vola-Strategy.
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:33
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
MessageEventSource::Enum messageEventSource
Receiver of a message.
SInt64 underlyingPx
Underlying price associate with a derivative instrument.
UInt64 transactTime
Timestamp of the match event (trade).
UInt64 quoteId
Customer defined mass quote identifier.
SInt64 quoteRefPrice
Underlying reference price for an option (for option strategies).
QuotingStatus::Enum quotingStatus
Quoting status for the executing party.
Enum
Quoting status for the executing party.