OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
InquireMMParameterResponse.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 /// MM Parameter Group Element.
36 class ONIXS_EUREX_ETI_EXPORT MMParameterGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// Participant defined time frame the risk protection parameters should be counted.
44 
45  /// Cumulated executed quantity of an order.
47 
48  /// Absolute number of (long calls + short puts) - (short calls + long puts).
50 
51  /// Absolute number of contracts purchased reduced by the number of contracts sold.
53 
54  /// Percentage threshold: the system counts each trade as a percentage of the original volume and sums the
55  /// percentages.
57 
58  /// Owning Session ID.
60 
61  /// Action for reaching risk limit.
63 
64  /// Returns string representation.
65  std::string toString() const;
66 
67 private:
68  friend class Serializer;
69  MMParameterGrpElem(const void* data);
70 };
71 
72 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const MMParameterGrpElem&);
73 
74 /// Inquire MM Parameter Response Message.
75 class ONIXS_EUREX_ETI_EXPORT InquireMMParameterResponse : public Message
76 {
77 public:
78  /// Initialize default instance.
80 
81  /// Matching engine in timestamp.
83 
84  /// Matching engine out timestamp.
86 
87  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
88  /// transaction.
90 
91  /// Transaction timestamp.
93 
94  /// The product identifier uniquely identifies a Eurex product.
96 
97  /// MM Parameter Group.
98  std::vector<MMParameterGrpElem> mmParameterGrp;
99 
100  /// Returns template ID.
101  TemplateId::Enum templateId() const;
102 
103  /// Returns string representation.
104  std::string toString() const;
105 
106 private:
107  friend class Serializer;
108  InquireMMParameterResponse(const void* data, size_t dataSize, MessageInfo& msgInfo);
109  void nativeSerializeTo(void* nativeMessage);
110 };
111 
112 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const InquireMMParameterResponse&);
113 
114 }}} // namespace OnixS::Eurex::Trading
SInt64 vega
Absolute number of contracts purchased reduced by the number of contracts sold.
SInt64 exposureDuration
Participant defined time frame the risk protection parameters should be counted.
SInt64 cumQty
Cumulated executed quantity of an order.
unsigned long long UInt64
Definition: Defines.h:46
signed int SInt32
Definition: Defines.h:41
std::vector< MMParameterGrpElem > mmParameterGrp
MM Parameter Group.
Message base class.
Definition: Message.h:32
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
MMRiskLimitActionType::Enum mmRiskLimitActionType
Action for reaching risk limit.
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
UInt64 trdRegTSTimeOut
Matching engine out timestamp.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
SInt64 delta
Absolute number of (long calls + short puts) - (short calls + long puts).
Enum
Action for reaching risk limit.
Definition: Enumerations.h:997