OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
EnterBasketTradeRequest.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 /// Enter Basket Trade Request Message.
37 class ONIXS_EUREX_ETI_EXPORT EnterBasketTradeRequest : public Message
38 {
39 public:
40  /// Initialize default instance.
42 
43  /// User ID.
45 
46  /// The product identifier uniquely identifies a Eurex product.
48 
49  /// Month year code for expiry YYYYMM.
51 
52  /// ID of the Basket profile.
54 
55  /// Indicates if a trade should be reported via the market reporting service.
57 
58  /// Identifies the type of trade notification.
60 
61  /// Basket operation.
63 
64  /// Indicates whether the counterparties have the right for early termination.
66 
67  /// Used to indicate anonymized trades in baskets.
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  EnterBasketTradeRequest(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 EnterBasketTradeRequest&);
98 
99 }}} // namespace OnixS::Eurex::Trading
Enum
Used to indicate anonymized trades in baskets.
Definition: Enumerations.h:171
std::vector< BasketSideAllocGrpElem > basketSideAllocGrp
Basket Side Alloc Group.
std::string basketTradeReportText
User defined text message field.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
Enum
Indicates if a trade should be reported via the market reporting service.
signed int SInt32
Definition: Defines.h:41
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
Message base class.
Definition: Message.h:32
std::vector< InstrmtMatchSideGrpElem > instrmtMatchSideGrp
Instrument Match Side Group.
BasketAnonymity::Enum basketAnonymity
Used to indicate anonymized trades in baskets.
unsigned int UInt32
Definition: Defines.h:45
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
BasketTradeReportType::Enum basketTradeReportType
Basket operation.
UInt32 maturityMonthYear
Month year code for expiry YYYYMM.
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
Enum
Indicates whether the counterparties have the right for early termination.
std::vector< BasketRootPartyGrpElem > basketRootPartyGrp
Basket Root Party Group.
Enum
Identifies the type of trade notification.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
OptionalEarlyTerminationIndicator::Enum optionalEarlyTerminationIndicator
Indicates whether the counterparties have the right for early termination.