OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
MassQuoteResponse.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 /// Quote Entry Ack Group Element.
36 class ONIXS_EUREX_ETI_EXPORT QuoteEntryAckGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// The instrument identifier uniquely identifies an instrument in the core system.
44 
45  /// Cancelled quantity.
47 
48  /// Reason code indicating why the quote entry has been rejected.
50 
51  /// Identifies the status of an individual quote.
53 
54  /// Side of the order.
56 
57  /// Returns string representation.
58  std::string toString() const;
59 
60 private:
61  friend class Serializer;
62  QuoteEntryAckGrpElem(const void* data);
63 };
64 
65 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const QuoteEntryAckGrpElem&);
66 
67 /// Mass Quote Response Message.
68 class ONIXS_EUREX_ETI_EXPORT MassQuoteResponse : public Message
69 {
70 public:
71  /// Initialize default instance.
73 
74  /// Matching engine in timestamp.
76 
77  /// Matching engine out timestamp.
79 
80  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
81  /// transaction.
83 
84  /// Customer defined mass quote identifier.
86 
87  /// Mass quote response identifier generated by the exchange.
89 
90  /// The product identifier uniquely identifies a Eurex product.
92 
93  /// Quote Entry Ack Group.
94  std::vector<QuoteEntryAckGrpElem> quoteEntryAckGrp;
95 
96  /// Returns template ID.
97  TemplateId::Enum templateId() const;
98 
99  /// Returns string representation.
100  std::string toString() const;
101 
102 private:
103  friend class Serializer;
104  MassQuoteResponse(const void* data, size_t dataSize, MessageInfo& msgInfo);
105  void nativeSerializeTo(void* nativeMessage);
106 };
107 
108 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const MassQuoteResponse&);
109 
110 }}} // namespace OnixS::Eurex::Trading
Enum
Side of the order.
unsigned long long UInt64
Definition: Defines.h:46
QuoteEntryRejectReason::Enum quoteEntryRejectReason
Reason code indicating why the quote entry has been rejected.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
signed int SInt32
Definition: Defines.h:41
Enum
Identifies the status of an individual quote.
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
Message base class.
Definition: Message.h:32
UInt64 quoteId
Customer defined mass quote identifier.
UInt64 trdRegTSTimeOut
Matching engine out timestamp.
signed long long SInt64
Definition: Defines.h:42
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
Enum
Reason code indicating why the quote entry has been rejected.
UInt64 quoteResponseId
Mass quote response identifier generated by the exchange.
std::vector< QuoteEntryAckGrpElem > quoteEntryAckGrp
Quote Entry Ack Group.
QuoteEntryStatus::Enum quoteEntryStatus
Identifies the status of an individual quote.
UInt64 trdRegTSTimeIn
Matching engine in timestamp.