OnixS Eurex ETI Handler C++ library 9.25.0
API documentation
Loading...
Searching...
No Matches
BasketRollRequest.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"
30
31#include <iosfwd>
32#include <string>
33#include <vector>
34
35namespace OnixS { namespace Eurex { namespace Trading {
36
38class ONIXS_EUREX_ETI_EXPORT OldBasketDataGrp
39{
40public:
43
46
49
51 std::string tradeReportId;
52
55
58
61
63 std::string toString() const;
64
65private:
66 friend class Serializer;
67 OldBasketDataGrp(const void* data);
68};
69
70ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const OldBasketDataGrp&);
71
73class ONIXS_EUREX_ETI_EXPORT NewBasketDataGrp
74{
75public:
78
80 std::string tradeReportId;
81
84
87
90
92 std::string toString() const;
93
94private:
95 friend class Serializer;
96 NewBasketDataGrp(const void* data);
97};
98
99ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const NewBasketDataGrp&);
100
102class ONIXS_EUREX_ETI_EXPORT BasketRollRequest : public Message
103{
104public:
107
110
113
116
119
122
124 std::string tradeReportId;
125
128
131
133 std::vector<BasketRootPartyGrpElem> basketRootPartyGrp;
134
136 std::vector<OldBasketInstrmtMatchSideGrpElem> oldBasketInstrmtMatchSideGrp;
137
139 std::vector<NewBasketInstrmtMatchSideGrpElem> newBasketInstrmtMatchSideGrp;
140
142 std::vector<OldBasketSideAllocGrpElem> oldBasketSideAllocGrp;
143
145 std::vector<NewBasketSideAllocGrpElem> newBasketSideAllocGrp;
146
149
151 std::string toString() const;
152
153private:
154 friend class Serializer;
155 BasketRollRequest(const void* data, size_t dataSize, MessageInfo& msgInfo);
156 void nativeSerializeTo(void* nativeMessage);
157};
158
159ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketRollRequest&);
160
161}}} // namespace OnixS::Eurex::Trading
std::vector< BasketRootPartyGrpElem > basketRootPartyGrp
Basket Root Party Group.
std::string toString() const
Returns string representation.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
OldBasketDataGrp oldBasketDataGrp
Old Basket Data Group.
BasketRollRequest()
Initialize default instance.
TemplateId::Enum templateId() const
Returns template ID.
UInt32 basketProfileId
ID of the Basket profile.
std::vector< OldBasketSideAllocGrpElem > oldBasketSideAllocGrp
Old Basket Side Alloc Group.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
std::vector< NewBasketSideAllocGrpElem > newBasketSideAllocGrp
New Basket Side Alloc Group.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
std::vector< NewBasketInstrmtMatchSideGrpElem > newBasketInstrmtMatchSideGrp
New Basket Instrument Match Side Group.
std::vector< OldBasketInstrmtMatchSideGrpElem > oldBasketInstrmtMatchSideGrp
Old Basket Instrument Match Side Group.
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
NewBasketDataGrp newBasketDataGrp
New Basket Data Group.
Message base class.
Definition Message.h:33
std::string toString() const
Returns string representation.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
NewBasketDataGrp()
Initialize default instance.
BasketTradeReportType::Enum basketTradeReportType
Basket operation.
UInt32 maturityMonthYear
Month year code for expiry YYYYMM.
std::string basketTradeReportText
User defined text message field.
std::string toString() const
Returns string representation.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
UInt64 basketTrdMatchId
System defined Basket ID.
BasketTradeReportType::Enum basketTradeReportType
Basket operation.
UInt32 maturityMonthYear
Month year code for expiry YYYYMM.
std::string basketTradeReportText
User defined text message field.
UInt32 basketExecId
System generated transaction ID for a Basket transaction.
OldBasketDataGrp()
Initialize default instance.
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
unsigned long long UInt64
Definition Defines.h:46
Enum
Identifies the type of trade notification.
Enum
Indicates if a trade should be reported via the market reporting service.