OnixS Eurex ETI Handler C++ library 9.25.0
API documentation
Loading...
Searching...
No Matches
EnterTESTradeRequest.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
33namespace OnixS { namespace Eurex { namespace Trading {
34
36class ONIXS_EUREX_ETI_EXPORT SideAllocGrpElem
37{
38public:
41
44
47
50
53
55 std::string partyExecutingFirm;
56
59
61 std::string toString() const;
62
63private:
64 friend class Serializer;
65 SideAllocGrpElem(const void* data);
66};
67
68ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const SideAllocGrpElem&);
69
71class ONIXS_EUREX_ETI_EXPORT TrdInstrmntLegGrpElem
72{
73public:
76
79
82
85
87 std::string toString() const;
88
89private:
90 friend class Serializer;
91 TrdInstrmntLegGrpElem(const void* data);
92};
93
94ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const TrdInstrmntLegGrpElem&);
95
97class ONIXS_EUREX_ETI_EXPORT InstrumentEventGrpElem
98{
99public:
102
105
108
110 std::string toString() const;
111
112private:
113 friend class Serializer;
114 InstrumentEventGrpElem(const void* data);
115};
116
117ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const InstrumentEventGrpElem&);
118
120class ONIXS_EUREX_ETI_EXPORT InstrumentAttributeGrpElem
121{
122public:
125
128
130 std::string instrAttribValue;
131
133 std::string toString() const;
134
135private:
136 friend class Serializer;
137 InstrumentAttributeGrpElem(const void* data);
138};
139
140ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const InstrumentAttributeGrpElem&);
141
143class ONIXS_EUREX_ETI_EXPORT UnderlyingStipGrpElem
144{
145public:
148
151
154
156 std::string toString() const;
157
158private:
159 friend class Serializer;
160 UnderlyingStipGrpElem(const void* data);
161};
162
163ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const UnderlyingStipGrpElem&);
164
166class ONIXS_EUREX_ETI_EXPORT EnterTESTradeRequest : public Message
167{
168public:
171
174
177
180
183
186
189
192
195
198
201
204
207
210
213
216
219
222
225
228
231
234
237
239 std::string tradeReportText;
240
242 std::string tradeReportId;
243
246
249
252
254 std::string underlyingIssuer;
255
257 std::vector<SideAllocGrpElem> sideAllocGrp;
258
260 std::vector<TrdInstrmntLegGrpElem> trdInstrmntLegGrp;
261
263 std::vector<InstrumentEventGrpElem> instrumentEventGrp;
264
266 std::vector<InstrumentAttributeGrpElem> instrumentAttributeGrp;
267
269 std::vector<UnderlyingStipGrpElem> underlyingStipGrp;
270
273
275 std::string toString() const;
276
277private:
278 friend class Serializer;
279 EnterTESTradeRequest(const void* data, size_t dataSize, MessageInfo& msgInfo);
280 void nativeSerializeTo(void* nativeMessage);
281};
282
283ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const EnterTESTradeRequest&);
284
285}}} // namespace OnixS::Eurex::Trading
std::vector< TrdInstrmntLegGrpElem > trdInstrmntLegGrp
Trd Instrmnt Leg Group.
SwapClearer::Enum swapClearer
Swap clearer for EFS Trades only.
std::string toString() const
Returns string representation.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
UInt32 underlyingMaturityDate
Underlying security's maturity date.
UInt32 relatedTradeId
Identifier of a related trade.
SInt64 relatedTradeQuantity
Quantity of the related trade.
SInt64 relatedSecurityId
Instrument identifier of the originating Eurex strategy.
PartyIdSettlementLocation::Enum partyIdSettlementLocation
Settlement institution.
SInt64 underlyingPx
Underlying price associate with a derivative instrument.
TemplateId::Enum templateId() const
Returns template ID.
UInt64 transBkdTime
Trade Closure Time, the time when an Off-Book trade was concluded outside the Eurex System.
std::string underlyingCurrency
Underlying security's currency.
SInt64 relatedClosePrice
User defined index price.
SInt64 relatedPx
Price of the related instrument.
std::vector< SideAllocGrpElem > sideAllocGrp
Side Alloc Group.
std::vector< UnderlyingStipGrpElem > underlyingStipGrp
Underlying Stip Group.
std::string tradeReportText
User defined text field.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
TradePublishIndicator::Enum tradePublishIndicator
Indicates if a trade should be reported via the market reporting service.
std::string underlyingSecurityId
Underlying security's ID.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
std::vector< InstrumentEventGrpElem > instrumentEventGrp
Instrument Event Group.
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
EnterTESTradeRequest()
Initialize default instance.
std::string underlyingSecurityDesc
Description of the Underlying security.
SInt32 relatedMarketSegmentId
Identifies a related product.
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
ProductComplex::Enum productComplex
This field qualifies an instrument type on Eurex.
std::vector< InstrumentAttributeGrpElem > instrumentAttributeGrp
Instrument Attribute Group.
UInt32 underlyingSettlementDate
Date the underlying instrument will settle.
std::string underlyingIssuer
The issuer or name of the underlying security.
std::string toString() const
Returns string representation.
std::string instrAttribValue
Attribute value appropriate to the InstrAttribType field.
InstrumentAttributeGrpElem()
Initialize default instance.
InstrAttribType::Enum instrAttribType
Code to represent the type of instrument attribute.
InstrumentEventGrpElem()
Initialize default instance.
std::string toString() const
Returns string representation.
EventType::Enum eventType
Code to represent the type of event.
Message base class.
Definition Message.h:33
std::string toString() const
Returns string representation.
SInt64 allocQty
Quantity of the particular trade side in the TES trade.
std::string partyExecutingFirm
Owning business unit name.
UInt32 individualAllocId
Unique identifier for a TES trade side.
std::string partyExecutingTrader
Owning user name.
UInt32 tesEnrichmentRuleId
Enrichment Rule ID for TES trades (to be used only in case of Auto Approval).
SideAllocGrpElem()
Initialize default instance.
std::string toString() const
Returns string representation.
SInt64 legPrice
Strategy leg underlying price (only applicable for futures legs).
SInt64 legQty
Quantity for leg of a multileg.
TrdInstrmntLegGrpElem()
Initialize default instance.
SInt64 legSecurityId
Instrument identifiier of the leg security.
std::string toString() const
Returns string representation.
std::string underlyingStipType
Type of stipulation, e.g. to denote coupon frequency.
UnderlyingStipGrpElem()
Initialize default instance.
std::string underlyingStipValue
Value of stipulation. In case of coupon frequency, fill the field with coupon frequency value.
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
signed int SInt32
Definition Defines.h:41
unsigned int UInt32
Definition Defines.h:45
signed long long SInt64
Definition Defines.h:42
unsigned long long UInt64
Definition Defines.h:46
Enum
Code to represent the type of event.
Enum
Code to represent the type of instrument attribute.
Enum
This field qualifies an instrument type on Eurex.
Enum
Swap clearer for EFS Trades only.
Enum
Indicates if a trade should be reported via the market reporting service.
Enum
Identifies the type of trade notification.
Enum
Indicates if a trade should be reported via the market reporting service.