OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
ModifyOrderNRResponse.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 /// Order Event Group Element.
36 class ONIXS_EUREX_ETI_EXPORT OrderEventGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// Price level for the order event.
44 
45  /// Quantity for the order event.
47 
48  /// Unique identifier for each price level (match step) of an order event.
50 
51  /// Action that caused the event to occur.
53 
54  /// Returns string representation.
55  std::string toString() const;
56 
57 private:
58  friend class Serializer;
59  OrderEventGrpElem(const void* data);
60 };
61 
62 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const OrderEventGrpElem&);
63 
64 /// Modify Order NR Response Message.
65 class ONIXS_EUREX_ETI_EXPORT ModifyOrderNRResponse : public Message
66 {
67 public:
68  /// Initialize default instance.
70 
71  /// Matching engine in timestamp.
73 
74  /// Matching engine out timestamp.
76 
77  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
78  /// transaction.
80 
81  /// Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order.
83 
84  /// Unique participant defined order request identifier.
86 
87  /// ClOrdID (11) of the last successfully processed task (request) referring to the specific order; used for client
88  /// order ID chaining.
90 
91  /// The instrument identifier uniquely identifies an instrument in the core system.
93 
94  /// Transaction timestamp.
96 
97  /// Remaining quantity of an order.
99 
100  /// Cumulated executed quantity of an order.
102 
103  /// Total quantity cancelled for this order.
105 
106  /// Conveys the current status of an order.
108 
109  /// The reason why this message was generated.
111 
112  /// Code to further qualify the field ExecType (150) of the Execution Report (8) message.
114 
115  /// Indicates SMP involvement.
117 
118  /// This field qualifies an instrument type on Eurex.
120 
121  /// Indicates if an order has been previously triggered.
123 
124  /// Indicator for a delayed transaction.
126 
127  /// Order Event Group.
128  std::vector<OrderEventGrpElem> orderEventGrp;
129 
130  /// Returns template ID.
131  TemplateId::Enum templateId() const;
132 
133  /// Returns string representation.
134  std::string toString() const;
135 
136 private:
137  friend class Serializer;
138  ModifyOrderNRResponse(const void* data, size_t dataSize, MessageInfo& msgInfo);
139  void nativeSerializeTo(void* nativeMessage);
140 };
141 
142 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const ModifyOrderNRResponse&);
143 
144 }}} // namespace OnixS::Eurex::Trading
ExecRestatementReason::Enum execRestatementReason
Code to further qualify the field ExecType (150) of the Execution Report (8) message.
UInt64 clOrdId
Unique participant defined order request identifier.
unsigned long long UInt64
Definition: Defines.h:46
CrossedIndicator::Enum crossedIndicator
Indicates SMP involvement.
Triggered::Enum triggered
Indicates if an order has been previously triggered.
SInt64 cumQty
Cumulated executed quantity of an order.
OrderEventReason::Enum orderEventReason
Action that caused the event to occur.
Enum
Indicator for a delayed transaction.
Enum
The reason why this message was generated.
Definition: Enumerations.h:527
UInt64 orderId
Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order...
Enum
This field qualifies an instrument type on Eurex.
std::vector< OrderEventGrpElem > orderEventGrp
Order Event Group.
Message base class.
Definition: Message.h:32
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
Enum
Code to further qualify the field ExecType (150) of the Execution Report (8) message.
Definition: Enumerations.h:481
TransactionDelayIndicator::Enum transactionDelayIndicator
Indicator for a delayed transaction.
Enum
Indicates if an order has been previously triggered.
SInt64 cxlQty
Total quantity cancelled for this order.
ProductComplex::Enum productComplex
This field qualifies an instrument type on Eurex.
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
UInt64 trdRegTSTimeIn
Matching engine in timestamp.
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
SInt64 orderEventPx
Price level for the order event.
UInt32 orderEventMatchId
Unique identifier for each price level (match step) of an order event.
UInt64 trdRegTSTimeOut
Matching engine out timestamp.
ExecType::Enum execType
The reason why this message was generated.
Enum
Conveys the current status of an order.
SInt64 leavesQty
Remaining quantity of an order.
Enum
Indicates SMP involvement.
Definition: Enumerations.h:300
OrdStatus::Enum ordStatus
Conveys the current status of an order.
SInt64 orderEventQty
Quantity for the order event.
Enum
Action that caused the event to occur.