OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
ApproveTESTradeRequest.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 /// Approve TES Trade Request Message.
35 class ONIXS_EUREX_ETI_EXPORT ApproveTESTradeRequest : public Message
36 {
37 public:
38  /// Initialize default instance.
40 
41  /// User ID.
43 
44  /// Client Identifier field (ESMA Field 3 (Section A)) used to identify the client of an order for agent account of
45  /// the member or participant of the trading venue.
47 
48  /// Investment decision within firm (ESMA Field 4 (Section A)) is the code used to identify the person or the
49  /// algorithm within the member or participant of the Trading Venue who is responsible for the investment decision.
51 
52  /// Executing Trader data Field (ESMA Field 5 (Section A)) used to identify the person or algorithm within the
53  /// member or participant of the trading venue who is responsible for the execution of the transaction resulting
54  /// from the order.
56 
57  /// Quantity of the particular trade side in the TES trade.
59 
60  /// Identifier for a Trade Entry Service trade, i.e TES trade ID.
62 
63  /// Unique identifier for a TES Trade side.
65 
66  /// System transaction identifier for a Trade Entry Service transaction.
68 
69  /// The product identifier uniquely identifies a Eurex product.
71 
72  /// Identifies a related product.
74 
75  /// Indicates if a trade should be reported via the market reporting service.
77 
78  /// This field designates if the trader is acting in the capacity of agent, trading for its own account or acting as
79  /// a market maker.
81 
82  /// Identifies the type of trade notification.
84 
85  /// Side of the order.
87 
88  /// Order attribute liquidity provision.
90 
91  /// Party ID investment decision maker qualifier.
93 
94  /// Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos.
96 
97  /// Order attribute risk reduction.
99 
100  /// Order origination, MiFID field - to indicate order received from a direct access or sponsored access customer.
102 
103  /// User defined transaction ID. Part of the TES response and TES broadcast.
104  std::string tradeReportId;
105 
106  /// Field is used for Eurex position management purposes and indicates whether the order is submitted to open or
107  /// close a position.
109 
110  /// Owning business unit name.
111  std::string partyExecutingFirm;
112 
113  /// Owning user name.
114  std::string partyExecutingTrader;
115 
116  /// Account to book trades and keep positions on.
117  std::string account;
118 
119  /// First free-format text field for trader-specific or customer-related comments.
120  std::string freeText1;
121 
122  /// Second free-format text field for trader-specific or customer-related comments.
123  std::string freeText2;
124 
125  /// Third free-format text field for trader-specific or customer-related comments.
126  std::string freeText3;
127 
128  /// Indicates the name of a member institution to which a give-up is designated.
130 
131  /// Flex Account information.
133 
134  /// Partner identification at the Korea Exchange is required for orders in KRX products.
136 
137  /// Mandatory final KRX beneficiary account required for orders in KRX products.
138  std::string partyIdBeneficiary;
139 
140  /// Country code. Valid characters: 0x01-0x7E.
141  std::string partyIdLocationId;
142 
143  /// Identifies the source of an order, in accordance with the FIA guidelines for a rate Identifier. The field is for
144  /// participant use only. Valid characters: 0x20, 0x22-0x7B, 0x7D, 0x7E.
146 
147  /// This field is used to provide additional regulatory information (according to respective rules and regs,
148  /// circulars and bilateral coordination between participant and Trading Surveillance Office).
149  std::string complianceText;
150 
151  /// End client identifier.
153 
154  /// Returns template ID.
155  TemplateId::Enum templateId() const;
156 
157  /// Returns string representation.
158  std::string toString() const;
159 
160 private:
161  friend class Serializer;
162  ApproveTESTradeRequest(const void* data, size_t dataSize, MessageInfo& msgInfo);
163  void nativeSerializeTo(void* nativeMessage);
164 };
165 
166 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const ApproveTESTradeRequest&);
167 
168 }}} // namespace OnixS::Eurex::Trading
Enum
Party ID investment decision maker qualifier.
UInt32 tesExecId
System transaction identifier for a Trade Entry Service transaction.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
Enum
Side of the order.
unsigned long long UInt64
Definition: Defines.h:46
Enum
Indicates if a trade should be reported via the market reporting service.
std::string freeText3
Third free-format text field for trader-specific or customer-related comments.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
std::string partyIdBeneficiary
Mandatory final KRX beneficiary account required for orders in KRX products.
std::string freeText1
First free-format text field for trader-specific or customer-related comments.
std::string partyEndClientIdentification
End client identifier.
signed int SInt32
Definition: Defines.h:41
OrderAttributeRiskReduction::Enum orderAttributeRiskReduction
Order attribute risk reduction.
Message base class.
Definition: Message.h:32
Enum
Order origination, MiFID field - to indicate order received from a direct access or sponsored access ...
OrderOrigination::Enum orderOrigination
Order origination, MiFID field - to indicate order received from a direct access or sponsored access ...
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
std::string partyExecutingFirm
Owning business unit name.
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
SInt64 allocQty
Quantity of the particular trade side in the TES trade.
PartyIdInvestmentDecisionMakerQualifier::Enum partyIdInvestmentDecisionMakerQualifier
Party ID investment decision maker qualifier.
UInt32 packageId
Identifier for a Trade Entry Service trade, i.e TES trade ID.
std::string partyIdTakeUpTradingFirm
Indicates the name of a member institution to which a give-up is designated.
UInt32 allocId
Unique identifier for a TES Trade side.
ExecutingTraderQualifier::Enum executingTraderQualifier
Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos...
Enum
Identifies the type of trade notification.
std::string freeText2
Second free-format text field for trader-specific or customer-related comments.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
SInt32 relatedMarketSegmentId
Identifies a related product.
std::string partyIdLocationId
Country code. Valid characters: 0x01-0x7E.
std::string account
Account to book trades and keep positions on.
std::string partyIdOrderOriginationFirm
Partner identification at the Korea Exchange is required for orders in KRX products.
std::string partyIdPositionAccount
Flex Account information.
Enum
Qualifier for field ExecutingTrader. It is required to distinguish between natural persons and Algos...
Definition: Enumerations.h:551
OrderAttributeLiquidityProvision::Enum orderAttributeLiquidityProvision
Order attribute liquidity provision.