OnixS Eurex ETI Handler C++ library  9.22.0
API documentation
ModifyBasketTradeRequest.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"
29 
30 #include <iosfwd>
31 #include <string>
32 #include <vector>
33 
34 namespace OnixS { namespace Eurex { namespace Trading {
35 
36 /// Modify Basket Trade Request Message.
37 class ONIXS_EUREX_ETI_EXPORT ModifyBasketTradeRequest : public Message
38 {
39 public:
40  /// Initialize default instance.
42 
43  /// User ID.
45 
46  /// System defined Basket ID.
48 
49  /// System generated transaction ID for a Basket transaction.
51 
52  /// The product identifier uniquely identifies a Eurex product.
54 
55  /// Month year code for expiry YYYYMM.
57 
58  /// ID of the Basket profile.
60 
61  /// Indicates if a trade should be reported via the market reporting service.
63 
64  /// Identifies the type of trade notification.
66 
67  /// Indicates whether the counterparties have the right for early termination.
69 
70  /// User defined text message field.
71  std::string basketTradeReportText;
72 
73  /// User defined transaction ID. Part of the TES response and TES broadcast.
74  std::string tradeReportId;
75 
76  /// Basket Root Party Group.
77  std::vector<BasketRootPartyGrpElem> basketRootPartyGrp;
78 
79  /// Instrument Match Side Group.
80  std::vector<InstrmtMatchSideGrpElem> instrmtMatchSideGrp;
81 
82  /// Basket Side Alloc Group.
83  std::vector<BasketSideAllocGrpElem> basketSideAllocGrp;
84 
85  /// Returns template ID.
86  TemplateId::Enum templateId() const;
87 
88  /// Returns string representation.
89  std::string toString() const;
90 
91 private:
92  friend class Serializer;
93  ModifyBasketTradeRequest(const void* data, size_t dataSize, MessageInfo& msgInfo);
94  void nativeSerializeTo(void* nativeMessage);
95 };
96 
97 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const ModifyBasketTradeRequest&);
98 
99 }}}
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
unsigned long long UInt64
Definition: Defines.h:46
Enum
Indicates if a trade should be reported via the market reporting service.
signed int SInt32
Definition: Defines.h:41
OptionalEarlyTerminationIndicator::Enum optionalEarlyTerminationIndicator
Indicates whether the counterparties have the right for early termination.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
Message base class.
Definition: Message.h:32
unsigned int UInt32
Definition: Defines.h:45
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
std::vector< InstrmtMatchSideGrpElem > instrmtMatchSideGrp
Instrument Match Side Group.
Enum
Indicates whether the counterparties have the right for early termination.
std::vector< BasketRootPartyGrpElem > basketRootPartyGrp
Basket Root Party Group.
UInt32 maturityMonthYear
Month year code for expiry YYYYMM.
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
Enum
Identifies the type of trade notification.
UInt32 basketExecId
System generated transaction ID for a Basket transaction.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
std::vector< BasketSideAllocGrpElem > basketSideAllocGrp
Basket Side Alloc Group.
std::string basketTradeReportText
User defined text message field.