OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers 18.2.0
API documentation
Loading...
Searching...
No Matches
TotalReturnFuturesStatus.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 part
13* of this source code or associated reference material to any other location for further reproduction
14* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15*
16* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17* the terms of the Agreement is a violation of copyright law.
18*/
19
20#pragma once
21
28
29namespace OnixS
30{
31 namespace Eurex
32 {
33 namespace MarketData
34 {
36 struct ONIXS_EUREX_EMDI_API ConversionMode
37 {
38 enum Enum
39 {
42
45
48
51 };
52 };
53
55 struct ONIXS_EUREX_EMDI_API ConversionModeQualifier
56 {
57 enum Enum
58 {
61
63 Early = 0,
64
67 };
68 };
69
71 class ONIXS_EUREX_EMDI_API TrfsClearingPriceParameter : GroupInstance
72 {
73 public:
74
80
82 bool annualCalendarDays (UInt32& value) const
83 {
84 return get (Tags::AnnualCalendarDays).toNumber (value);
85 }
86
89 bool remainingCalendarDays (Int32& value) const
90 {
91 return get (Tags::RemainingCalendarDays).toNumber (value);
92 }
93
96 bool overnightInterestRate (Decimal& value) const
97 {
98 return get (Tags::OvernightInterestRate).toNumber (value);
99 }
100
103 {
104 return get(Tags::OvernightInterestRateName).toStringRef(id);
105 }
106
109 {
110 return get (Tags::CurrentPaymentParameter).toNumber (value);
111 }
112
117 {
118 return get (Tags::AccruedPaymentParameter).toNumber (value);
119 }
120
122 bool relatedIndexValue (Decimal& value) const
123 {
124 return get (Tags::RelatedIndexValue).toNumber (value);
125 }
126
129 {
130 return get (Tags::CurrentCollectionParameter).toNumber (value);
131 }
132
136 {
137 return get (Tags::AccruedCollectionParameter).toNumber (value);
138 }
139
142 {
143 return get(Tags::CurrentAccruedInterestAmt).toNumber(value);
144 }
145
147 bool relatedClosePrice (Decimal& value) const
148 {
149 return get (Tags::RelatedClosePrice).toNumber (value);
150 }
151
152
153 private:
155
156 TrfsClearingPriceParameter (const GroupInstance& groupInstance)
157 : GroupInstance (groupInstance)
158 {
159 }
160 };
161
162 class TrfsClearingPriceParameters : public TypedGroup<TrfsClearingPriceParameter>
163 {
164 private:
165 explicit
166 TrfsClearingPriceParameters (const Group& group)
168 {
169 }
170
172 };
173
175 class ONIXS_EUREX_EMDI_API TotalReturnFuturesStatus : public Message
176 {
177 public:
178
184
187 {
188 return getInt64 (Tags::SecurityID);
189 }
190
196
199 {
201 }
202
204 bool settlPrice (Decimal& price) const
205 {
206 return get (Tags::SettlPrice).toNumber (price);
207 }
208
209
215
221
227
228 private:
230
231 TotalReturnFuturesStatus (const void* impl)
232 : Message (impl)
233 {
234 }
235 };
236 }
237 }
238}
Decimal type for better precision.
Definition Numeric.h:66
UInt32 getUInt32(Tag tag) const
Group getGroup(Tag numberOfInstancesTag) const
Decimal getDecimal(Tag tag) const
FieldValueRef get(Tag tag) const
GroupInstance(const GroupInstance &other)
Initializes instance as reference to the other one.
Message(const Message &other)
ConversionModeQualifier::Enum conversionModeQualifier() const
MarketSegmentId marketSegmentId() const
Product identifier.
bool settlPrice(Decimal &price) const
Daily settlement price of the current day in trading notation (TRF spread).
SecurityType::Enum securityType() const
Type of security.
SecurityId securityId() const
Instrument identifier.
Decimal priorSettlPrice() const
Daily settlement price of the previous day in trading notation (TRF spread).
TrfsClearingPriceParameters clearingPriceParameters() const
Clearing price parameters.
Clearing price parameter for total return futures status message.
bool relatedIndexValue(Decimal &value) const
Distribution index, defined for the current day. Becomes available in the morning before trading star...
bool currentPaymentParameter(Decimal &value) const
Daily funding, calculated from the funding rate applied to the previous day underlying index.
bool currentAccruedInterestAmt(Decimal &value) const
Coupon payment, for which the coupon period is ongoing, multiplied by the ratio of the already passed...
bool annualCalendarDays(UInt32 &value) const
Annualisation Factor, a constant value that represents the number of calendar days during one year as...
bool currentCollectionParameter(Decimal &value) const
Daily distribution, calculated from the difference between the current and the previous day distribut...
BusinessDayType::Enum businessDayType() const
Business date type.
bool relatedClosePrice(Decimal &value) const
The previous day�s underlying index close value.
bool overnightInterestRateName(StringRef &id) const
Name of the Funding Rate used for the funding calculation of the current day.
const Tag CurrentAccruedInterestAmt
Definition Tags.h:340
const Tag NoClearingPriceParameters
Definition Tags.h:159
const Tag OvernightInterestRateName
Definition Tags.h:382
const Tag CurrentCollectionParameter
Definition Tags.h:229
const Tag ConversionModeQualifier
Definition Tags.h:357
const Tag AccruedCollectionParameter
Definition Tags.h:230
const Tag CurrentPaymentParameter
Definition Tags.h:226
const Tag OvernightInterestRate
Definition Tags.h:171
const Tag RemainingCalendarDays
Definition Tags.h:225
const Tag AccruedPaymentParameter
Definition Tags.h:227
Enumeration::Enum getIntEnumFieldValue(const FieldSet &fieldSet, Tag tag)
Definition FieldSet.h:228
unsigned int UInt32
Definition Numeric.h:41
UInt32 MarketSegmentId
Alias for Market Segment ID type.
Definition Defines.h:40
Int64 SecurityId
Alias for Security Id type.
Definition Defines.h:51
@ Undefined
Used to identify absence of value.