OnixS BME SENAF Handler C++ library 2.3.0
API documentation
Loading...
Searching...
No Matches
Reference.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
5 * copyright law and international copyright treaties.
6 *
7 * Access to and use of the software is governed by the terms of the applicable
8 * ONIXS Software Services Agreement (the Agreement) and Customer end user
9 * license agreements granting a non-assignable, non-transferable and
10 * non-exclusive license to use the software for it's own data processing
11 * purposes under the terms defined in the Agreement.
12 *
13 * Except as otherwise granted within the terms of the Agreement, copying or
14 * reproduction of any part of this source code or associated reference material
15 * to any other location for further reproduction or redistribution, and any
16 * amendments to this copyright notice, are expressly prohibited.
17 *
18 * Any reproduction or redistribution for sale or hiring of the Software not in
19 * accordance with the terms of the Agreement is a violation of copyright law.
20 */
21
22#pragma once
23
25#include <OnixS/Senaf/MarketData/Export.h>
28
29#include <iosfwd>
30#include <string>
31#include <vector>
32
33namespace OnixS { namespace Senaf { namespace MarketData {
34
36struct ONIXS_BME_SENAF_EXPORT Reference
37{
40
42 unsigned char market;
43
46
48 unsigned short reference;
49
52
55
57 unsigned short tradingPriceTick;
58
60 unsigned short tradingYieldRateTick;
61
63 unsigned int unitaryVolume;
64
67
69 unsigned int hitVolume;
70
72 unsigned int complianceSpread;
73
75 unsigned int complianceVolume;
76
79
81 unsigned char currency;
82
84 std::string marketMIC;
85
88
91
94
97
99 bool liquid;
100
103
106
109
110
113
116
119
122
125
128
131
134
137
140
143
146
149
152
155
158
161
164
167
170
172
177
178
181
184
187
190
193
195
197
198
201
204
206
208
209
211
214 {
217
220
222 std::string referenceName;
223
225 std::string isinCode;
226
228 std::string cfiCode;
229
231 std::string fisn;
232
234 std::string issuerLEI;
235
237 unsigned int facialValue;
238
240 unsigned int maturityPrice;
241
244
247
250
253
255 unsigned short roundPriceTick;
256
258 unsigned short roundYield;
259
261 unsigned char country;
262
264 std::string issuer;
265
268
271
274
276 std::string toString() const;
277 };
278
280 typedef std::vector<SwitchLeg> SwitchLegs;
281
284
286
288 std::string toString() const;
289};
290
291ONIXS_BME_SENAF_EXPORT std::ostream& operator<<(std::ostream&, const Reference&);
292
293}}} // namespace OnixS::Senaf::MarketData
Represents date without time component.
Definition Time.h:315
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
std::string toString() const
Returns string representation.
unsigned char couponPeriodicityInMonths
Coupon Periodicity (in months).
Definition Reference.h:273
unsigned short roundPriceTick
Round Price Tick.
Definition Reference.h:255
unsigned int maturityPrice
Maturity Price.
Definition Reference.h:240
InstrumentType::Enum instrumentTypeOfUnderlyingOrDelivery
Instrument type of Underlying / Delivery.
Definition Reference.h:219
std::string isinCode
ISIN Code or Issuer Code.
Definition Reference.h:225
std::string referenceName
Reference name.
Definition Reference.h:222
unsigned short roundYield
Round Yield / Rate Tick.
Definition Reference.h:258
Optional< Date > valueDate
Value Date.
Definition Reference.h:139
unsigned short tradingYieldRateTick
Trading Yield/Rate Tick.
Definition Reference.h:60
bool tradingObligation
Trading Obligation.
Definition Reference.h:102
Optional< Date > paymentStartDate
Payment Start Date.
Definition Reference.h:142
unsigned int unitaryVolume
Unitary Volume.
Definition Reference.h:63
bool tradedInPriceOrRate
Traded in Price or Rate.
Definition Reference.h:87
unsigned int hitVolume
Hit Volume.
Definition Reference.h:69
std::string toString() const
Returns string representation.
Optional< InstrumentType::Enum > underlyingInstrumentType
Underlying instrument type.
Definition Reference.h:200
Optional< bool > benchmark
Benchmark (Yes/No).
Definition Reference.h:166
Reference()
Default constructor.
Optional< Date > purchaseLegValueDate
Purchase leg Value Date.
Definition Reference.h:183
Optional< int > settlementPriceOfPreviousSession
Settlement Price of previous session.
Definition Reference.h:151
unsigned int minimumTradingDeliveryVolume
Minimum Trading / Delivery Volume.
Definition Reference.h:66
unsigned short tradingPriceTick
Trading Price Tick.
Definition Reference.h:57
Optional< Date > maturityDate
Maturity Date.
Definition Reference.h:148
int lowPriceRatePossible
Low price /rate possible.
Definition Reference.h:54
Optional< DeliveryRestrictions::Enum > deliveryRestrictions
Delivery restrictions.
Definition Reference.h:192
Optional< bool > strippable
Strippable (Yes/No).
Definition Reference.h:163
Optional< std::string > isinCode
ISIN Code or Issuer Code.
Definition Reference.h:115
Optional< unsigned char > segment
Segment.
Definition Reference.h:154
bool standardWindows
Standard windows.
Definition Reference.h:96
std::vector< SwitchLeg > SwitchLegs
Alias for array of legs of a Switch.
Definition Reference.h:280
Optional< int > startingPrice
Starting Price.
Definition Reference.h:203
Optional< unsigned int > facialValue
Facial Value.
Definition Reference.h:133
Optional< std::string > referenceName
Reference name.
Definition Reference.h:112
Optional< unsigned char > productType
Product Type.
Definition Reference.h:127
Optional< std::string > issuer
Issuer.
Definition Reference.h:160
unsigned int originalRequestNumber
Original Request Number.
Definition Reference.h:105
unsigned char currency
Currency.
Definition Reference.h:81
bool tradingStatus
Trading Status.
Definition Reference.h:90
int highPriceRatePossible
High price /rate possible.
Definition Reference.h:51
Optional< std::string > cfiCode
CFI Code.
Definition Reference.h:118
Optional< unsigned char > couponPeriodicityInMonths
Coupon Periodicity (in months).
Definition Reference.h:169
Optional< Date > repurchaseLegValueDate
Repurchase leg Value Date.
Definition Reference.h:186
Optional< Date > nextPaymentDate
Next Payment Date.
Definition Reference.h:145
unsigned int complianceVolume
Compliance Volume.
Definition Reference.h:75
Optional< std::string > term
Term.
Definition Reference.h:180
unsigned char market
Market.
Definition Reference.h:42
Optional< unsigned int > maturityPrice
Maturity Price.
Definition Reference.h:136
bool specialNormal
Special / Normal.
Definition Reference.h:93
unsigned short reference
Reference.
Definition Reference.h:48
Optional< unsigned short > referenceIdentifierOfTheUnderlyingDeliverable
Reference identifier of the underlying deliverable.
Definition Reference.h:189
Optional< std::string > fisn
FISN.
Definition Reference.h:121
std::string marketMIC
Market MIC.
Definition Reference.h:84
Optional< unsigned int > contractValue
Contract Value.
Definition Reference.h:130
Optional< SwitchLegs > switchLegs
Legs of a Switch.
Definition Reference.h:283
unsigned int complianceSpread
Compliance Spread.
Definition Reference.h:72
InstrumentType::Enum instrumentType
Instrument Type.
Definition Reference.h:45
Optional< unsigned char > country
Country.
Definition Reference.h:157
Optional< std::string > issuerLEI
Issuer LEI.
Definition Reference.h:124
Optional< std::string > switchLongName
Definition Reference.h:210
int referencePriceRateInOpening
Reference Price / Rate in opening.
Definition Reference.h:78