OnixS Eurex ETI Handler C++ library  9.19.0
API documentation
ModifyOrderComplexRequest.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"
27 
28 #include <iosfwd>
29 #include <string>
30 #include <vector>
31 
32 namespace OnixS {
33 namespace Eurex {
34 namespace Trading {
35 
36 /// Leg Ord Group Element.
37 class ONIXS_EUREX_ETI_EXPORT LegOrdGrpElem
38 {
39 public:
40  /// Initialize default instance.
41  LegOrdGrpElem ();
42 
43  /// Leg-specific account to book trades and keep positions on.
44  std::string legAccount;
45 
46  /// Leg-specific field used for Eurex position management purposes and indicates whether the leg is submitted to open or close a position.
48 
49  /// Returns string representation.
50  std::string toString () const;
51 
52 private:
53  friend class Serializer;
54  LegOrdGrpElem (const void* data);
55 };
56 
57 ONIXS_EUREX_ETI_EXPORT std::ostream& operator << (std::ostream&, const LegOrdGrpElem&);
58 
59 /// Modify Order Complex Request Message.
60 class ONIXS_EUREX_ETI_EXPORT ModifyOrderComplexRequest : public Message
61 {
62 public:
63  /// Initialize default instance.
65 
66  /// User ID.
68 
69  /// Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order.
71 
72  /// Unique participant defined order request identifier.
74 
75  /// ClOrdID (11) of the last successfully processed task (request) referring to the specific order; used for client order ID chaining.
77 
78  /// The instrument identifier uniquely identifies an instrument in the core system.
80 
81  /// Price.
83 
84  /// Total Order Quantity.
86 
87  /// Client Identifier field (ESMA Field 3 (Section A)) used to identify the client of an order for agent account of the member or participant of the trading venue.
89 
90  /// Investment decision within firm (ESMA Field 4 (Section A)) is the code used to identify the person or the algorithm within the member or participant of the Trading Venue who is responsible for the investment decision.
92 
93  /// Executing Trader data Field (ESMA Field 5 (Section A)) used to identify the person or algorithm within the member or participant of the trading venue who is responsible for the execution of the transaction resulting from the order.
95 
96  /// The product identifier uniquely identifies a Eurex product.
98 
99  /// Date of order expiry.
101 
102  /// Self Match Prevention ID.
104 
105  /// Owning Session ID.
107 
108  /// Indicates the name of a member institution to which a give-up is designated.
110 
111  /// Partner identification at the Korea Exchange is required for orders in KRX products.
113 
114  /// Mandatory final KRX beneficiary account required for orders in KRX products.
115  std::string partyIdBeneficiary;
116 
117  /// Indicates if the order is a Lean Order or a Standard (non lean) Order.
119 
120  /// Indicate the instruction for SMP. If MatchInstCrossID (28744) is set then the default value for SelfMatchPreventionInstruction is 100 (Reject cross on business unit level).
122 
123  /// This field qualifies an instrument type on Eurex.
125 
126  /// Side of the order.
128 
129  /// Order type.
131 
132  /// Indicator how price validity check should be performed by the exchange.
134 
135  /// Indicator for checking the maximum order/quote value by the exchange.
137 
138  /// Order attribute liquidity provision.
140 
141  /// Instructions for order handling, represented as a bit map.
143 
144  /// Execution and trading restriction parameters supported by Eurex.
146 
147  /// This field designates if the trader is acting in the capacity of agent, trading for its own account or acting as a market maker.
149 
150  /// Ownership indicator.
152 
153  /// Order origination, MiFID field - to indicate order received from a direct access or sponsored access customer.
155 
156  /// Party ID investment decision maker qualifier.
158 
159  /// Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos.
161 
162  /// Country code. Valid characters: 0x01-0x7E.
163  std::string partyIdLocationId;
164 
165  /// Identifies the source of an order, in accordance with the FIA guidelines for a rate Identifier. The field is for participant use only. Valid characters: 0x20, 0x22-0x7B, 0x7D, 0x7E.
167 
168  /// This field is used to provide additional regulatory information (according to respective rules and regs, circulars and bilateral coordination between participant and Trading Surveillance Office).
169  std::string complianceText;
170 
171  /// Flex Account information.
173 
174  /// First free-format text field for trader-specific or customer-related comments.
175  std::string freeText1;
176 
177  /// Second free-format text field for trader-specific or customer-related comments.
178  std::string freeText2;
179 
180  /// Third free-format text field for trader-specific or customer-related comments.
181  std::string freeText3;
182 
183  /// User defined client order ID.
184  std::string fixClOrdId;
185 
186  /// End client identifier.
188 
189  /// Leg Ord Group.
190  std::vector<LegOrdGrpElem> legOrdGrp;
191 
192  /// Returns template ID.
193  TemplateId::Enum templateId () const;
194 
195  /// Returns string representation.
196  std::string toString () const;
197 
198 private:
199  friend class Serializer;
200  ModifyOrderComplexRequest (const void* data, size_t dataSize, MessageInfo& msgInfo);
201  void nativeSerializeTo (void* nativeMessage);
202 };
203 
204 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const ModifyOrderComplexRequest&);
205 
206 }
207 }
208 }
Enum
Party ID investment decision maker qualifier.
UInt64 origClOrdId
ClOrdID (11) of the last successfully processed task (request) referring to the specific order; used ...
Enum
Indicates if the order is a Lean Order or a Standard (non lean) Order.
Definition: Enumerations.h:86
std::vector< LegOrdGrpElem > legOrdGrp
Leg Ord Group.
UInt64 orderId
Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order...
std::string freeText2
Second free-format text field for trader-specific or customer-related comments.
ExecInst::Enum execInst
Instructions for order handling, represented as a bit map.
TimeInForce::Enum timeInForce
Execution and trading restriction parameters supported by Eurex.
std::string legAccount
Leg-specific account to book trades and keep positions on.
LegPositionEffect::Enum legPositionEffect
Leg-specific field used for Eurex position management purposes and indicates whether the leg is submi...
UInt64 partyIdClientId
Client Identifier field (ESMA Field 3 (Section A)) used to identify the client of an order for agent ...
Enum
Indicate the instruction for SMP. If MatchInstCrossID (28744) is set then the default value for SelfM...
std::string partyIdTakeUpTradingFirm
Indicates the name of a member institution to which a give-up is designated.
Enum
Side of the order.
ProductComplex::Enum productComplex
This field qualifies an instrument type on Eurex.
unsigned long long UInt64
Definition: Defines.h:47
Enum
Indicator how price validity check should be performed by the exchange.
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
TradingCapacity::Enum tradingCapacity
This field designates if the trader is acting in the capacity of agent, trading for its own account o...
UInt64 clOrdId
Unique participant defined order request identifier.
OwnershipIndicator::Enum ownershipIndicator
Ownership indicator.
signed int SInt32
Definition: Defines.h:42
Enum
This field qualifies an instrument type on Eurex.
Enum
Instructions for order handling, represented as a bit map.
Definition: Enumerations.h:391
UInt64 executingTrader
Executing Trader data Field (ESMA Field 5 (Section A)) used to identify the person or algorithm withi...
Message base class.
Definition: Message.h:33
Enum
Order origination, MiFID field - to indicate order received from a direct access or sponsored access ...
ValueCheckTypeValue::Enum valueCheckTypeValue
Indicator for checking the maximum order/quote value by the exchange.
std::string partyEndClientIdentification
End client identifier.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
Enum
Identifies the source of an order, in accordance with the FIA guidelines for a rate Identifier...
Definition: Enumerations.h:271
std::string partyIdBeneficiary
Mandatory final KRX beneficiary account required for orders in KRX products.
unsigned int UInt32
Definition: Defines.h:46
std::string fixClOrdId
User defined client order ID.
signed long long SInt64
Definition: Defines.h:43
std::string partyIdOrderOriginationFirm
Partner identification at the Korea Exchange is required for orders in KRX products.
Enum
Indicator for checking the maximum order/quote value by the exchange.
SelfMatchPreventionInstruction::Enum selfMatchPreventionInstruction
Indicate the instruction for SMP. If MatchInstCrossID (28744) is set then the default value for SelfM...
OrderOrigination::Enum orderOrigination
Order origination, MiFID field - to indicate order received from a direct access or sponsored access ...
PriceValidityCheckType::Enum priceValidityCheckType
Indicator how price validity check should be performed by the exchange.
std::string complianceText
This field is used to provide additional regulatory information (according to respective rules and re...
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
ExecutingTraderQualifier::Enum executingTraderQualifier
Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos...
std::string partyIdLocationId
Country code. Valid characters: 0x01-0x7E.
ApplSeqIndicator::Enum applSeqIndicator
Indicates if the order is a Lean Order or a Standard (non lean) Order.
Enum
This field designates if the trader is acting in the capacity of agent, trading for its own account o...
std::string freeText3
Third free-format text field for trader-specific or customer-related comments.
std::string freeText1
First free-format text field for trader-specific or customer-related comments.
UInt64 partyIdInvestmentDecisionMaker
Investment decision within firm (ESMA Field 4 (Section A)) is the code used to identify the person or...
PartyIdInvestmentDecisionMakerQualifier::Enum partyIdInvestmentDecisionMakerQualifier
Party ID investment decision maker qualifier.
OrderAttributeLiquidityProvision::Enum orderAttributeLiquidityProvision
Order attribute liquidity provision.
CustOrderHandlingInst::Enum custOrderHandlingInst
Identifies the source of an order, in accordance with the FIA guidelines for a rate Identifier...
Enum
Execution and trading restriction parameters supported by Eurex.
Enum
Leg-specific field used for Eurex position management purposes and indicates whether the leg is submi...
Definition: Enumerations.h:754
Enum
Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos...
Definition: Enumerations.h:473
std::string partyIdPositionAccount
Flex Account information.