OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
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 
35 namespace OnixS { namespace Eurex { namespace Trading {
36 
37 /// Basket Roll Request Message.
38 class ONIXS_EUREX_ETI_EXPORT BasketRollRequest : public Message
39 {
40 public:
41  /// Initialize default instance.
43 
44  /// User ID.
46 
47  /// The product identifier uniquely identifies a Eurex product.
49 
50  /// ID of the Basket profile.
52 
53  /// Indicates if a trade should be reported via the market reporting service.
55 
56  /// Identifies the type of trade notification.
58 
59  /// User defined transaction ID. Part of the TES response and TES broadcast.
60  std::string tradeReportId;
61 
62  /// Basket Root Party Group.
63  std::vector<BasketRootPartyGrpElem> basketRootPartyGrp;
64 
65  /// Old Basket Instrument Match Side Group.
66  std::vector<OldBasketInstrmtMatchSideGrpElem> oldBasketInstrmtMatchSideGrp;
67 
68  /// New Basket Instrument Match Side Group.
69  std::vector<NewBasketInstrmtMatchSideGrpElem> newBasketInstrmtMatchSideGrp;
70 
71  /// Old Basket Side Alloc Group.
72  std::vector<OldBasketSideAllocGrpElem> oldBasketSideAllocGrp;
73 
74  /// New Basket Side Alloc Group.
75  std::vector<NewBasketSideAllocGrpElem> newBasketSideAllocGrp;
76 
77  /// Returns template ID.
78  TemplateId::Enum templateId() const;
79 
80  /// Returns string representation.
81  std::string toString() const;
82 
83 private:
84  friend class Serializer;
85  BasketRollRequest(const void* data, size_t dataSize, MessageInfo& msgInfo);
86  void nativeSerializeTo(void* nativeMessage);
87 };
88 
89 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const BasketRollRequest&);
90 
91 }}} // namespace OnixS::Eurex::Trading
std::vector< OldBasketInstrmtMatchSideGrpElem > oldBasketInstrmtMatchSideGrp
Old Basket Instrument Match Side Group.
TrdType::Enum trdType
Indicates if a trade should be reported via the market reporting service.
Enum
Indicates if a trade should be reported via the market reporting service.
std::vector< BasketRootPartyGrpElem > basketRootPartyGrp
Basket Root Party Group.
signed int SInt32
Definition: Defines.h:41
TradeReportType::Enum tradeReportType
Identifies the type of trade notification.
Message base class.
Definition: Message.h:32
std::vector< OldBasketSideAllocGrpElem > oldBasketSideAllocGrp
Old Basket Side Alloc Group.
unsigned int UInt32
Definition: Defines.h:45
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
std::vector< NewBasketSideAllocGrpElem > newBasketSideAllocGrp
New Basket Side Alloc Group.
std::string tradeReportId
User defined transaction ID. Part of the TES response and TES broadcast.
std::vector< NewBasketInstrmtMatchSideGrpElem > newBasketInstrmtMatchSideGrp
New Basket Instrument Match Side Group.
UInt32 basketProfileId
ID of the Basket profile.
Enum
Identifies the type of trade notification.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.