OnixS Eurex ETI Handler C++ library  9.22.0
API documentation
ModifyOrderSingleRequest.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 
32 namespace OnixS { namespace Eurex { namespace Trading {
33 
34 /// Modify Order Single Request Message.
35 class ONIXS_EUREX_ETI_EXPORT ModifyOrderSingleRequest : public Message
36 {
37 public:
38  /// Initialize default instance.
40 
41  /// User ID.
43 
44  /// Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order.
46 
47  /// Unique participant defined order request identifier.
49 
50  /// ClOrdID (11) of the last successfully processed task (request) referring to the specific order; used for client
51  /// order ID chaining.
53 
54  /// The instrument identifier uniquely identifies an instrument in the core system.
56 
57  /// Price.
59 
60  /// Total Order Quantity.
62 
63  /// Stop price.
65 
66  /// Client Identifier field (ESMA Field 3 (Section A)) used to identify the client of an order for agent account of
67  /// the member or participant of the trading venue.
69 
70  /// Investment decision within firm (ESMA Field 4 (Section A)) is the code used to identify the person or the
71  /// algorithm within the member or participant of the Trading Venue who is responsible for the investment decision.
73 
74  /// Executing Trader data Field (ESMA Field 5 (Section A)) used to identify the person or algorithm within the
75  /// member or participant of the trading venue who is responsible for the execution of the transaction resulting
76  /// from the order.
78 
79  /// Date of order expiry.
81 
82  /// The product identifier uniquely identifies a Eurex product.
84 
85  /// Self Match Prevention ID.
87 
88  /// Owning Session ID.
90 
91  /// Indicate the instruction for SMP. If MatchInstCrossID (28744) is set then the default value for
92  /// SelfMatchPreventionInstruction is 100 (Reject cross on business unit level).
94 
95  /// Indicates the name of a member institution to which a give-up is designated.
97 
98  /// Partner identification at the Korea Exchange is required for orders in KRX products.
100 
101  /// Mandatory final KRX beneficiary account required for orders in KRX products.
102  std::string partyIdBeneficiary;
103 
104  /// Indicates if the order is a Lean Order or a Standard (non lean) Order.
106 
107  /// This field qualifies an instrument type on Eurex.
109 
110  /// Side of the order.
112 
113  /// Order type.
115 
116  /// Indicator how price validity check should be performed by the exchange.
118 
119  /// Indicator for checking the maximum order/quote value by the exchange.
121 
122  /// Order attribute liquidity provision.
124 
125  /// Execution and trading restriction parameters supported by Eurex.
127 
128  /// Instructions for order handling, represented as a bit map.
130 
131  /// Marks a a certain order as a closing auction one.
133 
134  /// This field designates if the trader is acting in the capacity of agent, trading for its own account or acting as
135  /// a market maker.
137 
138  /// Order origination, MiFID field - to indicate order received from a direct access or sponsored access customer.
140 
141  /// Party ID investment decision maker qualifier.
143 
144  /// Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos.
146 
147  /// Account to book trades and keep positions on.
148  std::string account;
149 
150  /// Flex Account information.
152 
153  /// Field is used for Eurex position management purposes and indicates whether the order is submitted to open or
154  /// close a position.
156 
157  /// Ownership indicator.
159 
160  /// Country code. Valid characters: 0x01-0x7E.
161  std::string partyIdLocationId;
162 
163  /// Identifies the source of an order, in accordance with the FIA guidelines for a rate Identifier. The field is for
164  /// participant use only. Valid characters: 0x20, 0x22-0x7B, 0x7D, 0x7E.
166 
167  /// This field is used to provide additional regulatory information (according to respective rules and regs,
168  /// circulars and bilateral coordination between participant and Trading Surveillance Office).
169  std::string complianceText;
170 
171  /// First free-format text field for trader-specific or customer-related comments.
172  std::string freeText1;
173 
174  /// Second free-format text field for trader-specific or customer-related comments.
175  std::string freeText2;
176 
177  /// Third free-format text field for trader-specific or customer-related comments.
178  std::string freeText3;
179 
180  /// User defined client order ID.
181  std::string fixClOrdId;
182 
183  /// End client identifier.
185 
186  /// Returns template ID.
187  TemplateId::Enum templateId() const;
188 
189  /// Returns string representation.
190  std::string toString() const;
191 
192 private:
193  friend class Serializer;
194  ModifyOrderSingleRequest(const void* data, size_t dataSize, MessageInfo& msgInfo);
195  void nativeSerializeTo(void* nativeMessage);
196 };
197 
198 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const ModifyOrderSingleRequest&);
199 
200 }}}
Enum
Party ID investment decision maker qualifier.
Enum
Indicates if the order is a Lean Order or a Standard (non lean) Order.
Definition: Enumerations.h:94
ApplSeqIndicator::Enum applSeqIndicator
Indicates if the order is a Lean Order or a Standard (non lean) Order.
std::string fixClOrdId
User defined client order ID.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
SelfMatchPreventionInstruction::Enum selfMatchPreventionInstruction
Enum
Side of the order.
unsigned long long UInt64
Definition: Defines.h:46
Enum
Indicator how price validity check should be performed by the exchange.
ExecInst::Enum execInst
Instructions for order handling, represented as a bit map.
std::string freeText1
First free-format text field for trader-specific or customer-related comments.
signed int SInt32
Definition: Defines.h:41
Enum
This field qualifies an instrument type on Eurex.
std::string freeText3
Third free-format text field for trader-specific or customer-related comments.
Enum
Instructions for order handling, represented as a bit map.
Definition: Enumerations.h:460
std::string partyIdBeneficiary
Mandatory final KRX beneficiary account required for orders in KRX products.
TimeInForce::Enum timeInForce
Execution and trading restriction parameters supported by Eurex.
Message base class.
Definition: Message.h:32
std::string partyIdTakeUpTradingFirm
Indicates the name of a member institution to which a give-up is designated.
Enum
Order origination, MiFID field - to indicate order received from a direct access or sponsored access ...
std::string partyIdLocationId
Country code. Valid characters: 0x01-0x7E.
std::string freeText2
Second free-format text field for trader-specific or customer-related comments.
UInt64 orderId
Exchange Order ID generated by Eurex System; it remains constant over the lifetime of an order...
ExecutingTraderQualifier::Enum executingTraderQualifier
Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos...
unsigned int UInt32
Definition: Defines.h:45
UInt64 clOrdId
Unique participant defined order request identifier.
signed long long SInt64
Definition: Defines.h:42
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
TradingSessionSubId::Enum tradingSessionSubId
Marks a a certain order as a closing auction one.
Enum
Indicator for checking the maximum order/quote value by the exchange.
ValueCheckTypeValue::Enum valueCheckTypeValue
Indicator for checking the maximum order/quote value by the exchange.
ProductComplex::Enum productComplex
This field qualifies an instrument type on Eurex.
std::string account
Account to book trades and keep positions on.
OrderAttributeLiquidityProvision::Enum orderAttributeLiquidityProvision
Order attribute liquidity provision.
PartyIdInvestmentDecisionMakerQualifier::Enum partyIdInvestmentDecisionMakerQualifier
Party ID investment decision maker qualifier.
std::string partyIdPositionAccount
Flex Account information.
std::string partyIdOrderOriginationFirm
Partner identification at the Korea Exchange is required for orders in KRX products.
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
std::string partyEndClientIdentification
End client identifier.
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.
Enum
Marks a a certain order as a closing auction one.
Enum
Execution and trading restriction parameters supported by Eurex.
Enum
Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos...
Definition: Enumerations.h:551
OwnershipIndicator::Enum ownershipIndicator
Ownership indicator.