OnixS C++ MTS Bond Vision SDP Handler  1.1.0
API documentation
SMP.Classes.BV_OFFICIAL_PRICE.h
Go to the documentation of this file.
1 #pragma once
2 /*
3 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
4 *
5 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
6 * and international copyright treaties.
7 *
8 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
9 * Services Agreement (the Agreement) and Customer end user license agreements granting
10 * a non-assignable, non-transferable and non-exclusive license to use the software
11 * for it's own data processing purposes under the terms defined in the Agreement.
12 *
13 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
14 * of this source code or associated reference material to any other location for further reproduction
15 * or redistribution, and any amendments to this copyright notice, are expressly 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 
22 /*
23 --------------
24 GENERATED FILE
25 --------------
26 */
27 
28 
29 #include <string>
34 
35 
36 namespace OnixS {
37 namespace Mts {
38 namespace BondVision {
39 namespace SDP {
40 
41 
42 
43 ///
44 class ONIXS_MTS_BONDVISION_SDP_API BV_OFFICIAL_PRICE : public Class
45 {
46 public:
48  {
49  currency.reserve(3);
50  }
51 
52  virtual ~BV_OFFICIAL_PRICE() {}
53 
54  /// Class id
55  virtual ClassId::Enum id() const
56  {
58  }
59 
60  /// Section, Class, ID, type of the financial instrument
62 
63  /// Date of the bonds price list generation
65 
66  /// Market minimum price of the instrument
67  Double minPrice; // DOUBLE presentation
68 
69  /// Market maximum price of the instrument
70  Double maxPrice; // DOUBLE presentation
71 
72  /// Market weighted average price of the instrument
73  Double avgPrice; // DOUBLE presentation
74 
75  /// Market minimum yield of the instrument
76  Double minYield; // DOUBLE presentation
77 
78  /// Market maximum yield of the instrument
79  Double maxYield; // DOUBLE presentation
80 
81  /// Market weighted average yeild of the instrument
82  Double avgYield; // DOUBLE presentation
83 
84  /// Quantity exchanged on the market
85  Double qty; // DOUBLE presentation
86 
87  /// Nominal value of the instrument
88  Double nominalValue; // DOUBLE presentation
89 
90  /// First price of the instrument in the market day
91  Double firstPrice; // DOUBLE presentation
92 
93  /// First yield of the instrument in the market day
94  Double firstYield; // DOUBLE presentation
95 
96  /// Last price of the instrument in the market day
97  Double lastPrice; // DOUBLE presentation
98 
99  /// Last yield of the instrument in the market day
100  Double lastYield; // DOUBLE presentation
101 
102  /// Currency
103  std::string currency; // maxSize = 3
104 
105  /// Number of trades concluded on the date
107 
108  /// Time of the bonds price list generation
109  UInt64 createTime; // UTIME presentation
110 
111  /// Specifies whether the statistic refers to normal trading activity or to a RFQ, RFCQ, etc.
113 
114  /// Specifies whether the statistic refers to trading acitivity in a regulated market or in an MTF
116 
117  /// Unique ID of the Area Code
119 
120 
121  ///
122  size_t deserialize(const void* buf, size_t inLen);
123 
124  /// Provides string presentation
125  virtual std::string toString () const;
126 
127  ///
128  virtual size_t serializationBufSize() const { return 148; }
129 
130  ///
131  virtual BV_OFFICIAL_PRICE* clone() const;
132 
133  virtual BV_OFFICIAL_PRICE* clone(void*) const;
134 
135 private:
136  virtual size_t serialize(void* buf) const;
137 
138 };
139 
140 
141 }
142 }
143 }
144 }
Double maxYield
Market maximum yield of the instrument.
Double avgPrice
Market weighted average price of the instrument.
Double firstYield
First yield of the instrument in the market day.
Double avgYield
Market weighted average yeild of the instrument.
UInt32 offPriceDate
Date of the bonds price list generation.
Double minPrice
Market minimum price of the instrument.
Double nominalValue
Nominal value of the instrument.
TI_TRADE_TYPE::Enum tradeType
Specifies whether the statistic refers to normal trading activity or to a RFQ, RFCQ, etc.
Double firstPrice
First price of the instrument in the market day.
BV_OFFICIAL_PRICE_INFO offPriceInfo
Section, Class, ID, type of the financial instrument.
UInt32 numberOfTrades
Number of trades concluded on the date.
Double lastYield
Last yield of the instrument in the market day.
UInt64 createTime
Time of the bonds price list generation.
unsigned long long UInt64
Definition: Defines.h:47
Double maxPrice
Market maximum price of the instrument.
UInt16 marketAffiliation
Specifies whether the statistic refers to trading acitivity in a regulated market or in an MTF...
unsigned short UInt16
Definition: Defines.h:45
Double lastPrice
Last price of the instrument in the market day.
Double minYield
Market minimum yield of the instrument.