OnixS Eurex ETI Handler C++ library 9.25.0
API documentation
Loading...
Searching...
No Matches
AddComplexInstrumentRequest.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 InstrmtLegGrpElem
37{
38public:
41
44
47
50
53
56
59
61 std::string toString() const;
62
63private:
64 friend class Serializer;
65 InstrmtLegGrpElem(const void* data);
66};
67
68ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const InstrmtLegGrpElem&);
69
71class ONIXS_EUREX_ETI_EXPORT AddComplexInstrumentRequest : public Message
72{
73public:
76
79
82
85
88
91
94
97
100 std::string complianceText;
101
103 std::vector<InstrmtLegGrpElem> instrmtLegGrp;
104
107
109 std::string toString() const;
110
111private:
112 friend class Serializer;
113 AddComplexInstrumentRequest(const void* data, size_t dataSize, MessageInfo& msgInfo);
114 void nativeSerializeTo(void* nativeMessage);
115};
116
117ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const AddComplexInstrumentRequest&);
118
119}}} // namespace OnixS::Eurex::Trading
MultilegModel::Enum multilegModel
Specifies if a strategy is temporarily (user-defined) or permanently (predefined) available.
std::string toString() const
Returns string representation.
std::vector< InstrmtLegGrpElem > instrmtLegGrp
Instrument Leg Group.
TemplateId::Enum templateId() const
Returns template ID.
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
UInt16 quantityScalingFactor
Quantity Scaling Factor for Scaled Instruments.
SInt32 securitySubType
This field indicates the type of a Eurex futures spread, Eurex option combination or Eurex Strategy.
ProductComplex::Enum productComplex
This field qualifies an instrument type on Eurex.
AddComplexInstrumentRequest()
Initialize default instance.
std::string toString() const
Returns string representation.
InstrmtLegGrpElem()
Initialize default instance.
SInt64 legPrice
Strategy leg underlying price (only applicable for futures legs).
SInt64 legSecurityId
Instrument identifiier of the leg security.
LegSecurityType::Enum legSecurityType
Indicates type of leg.
LegSide::Enum legSide
The side of the individual leg of a strategy.
SInt32 legSymbol
Product identifiier of the leg security.
UInt32 legRatioQty
The ratio of quantity for this individual leg relative to the entire multileg security.
Message base class.
Definition Message.h:33
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 short UInt16
Definition Defines.h:44
Enum
The side of the individual leg of a strategy.
Enum
Specifies if a strategy is temporarily (user-defined) or permanently (predefined) available.
Enum
This field qualifies an instrument type on Eurex.