OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Substructures.BV_RFCQ_LEG_SUMMARY.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>
41 
42 
43 namespace OnixS {
44 namespace Mts {
45 namespace BondVision {
46 namespace SDP {
47 
48 
49 
50 ///
51 class ONIXS_MTS_BONDVISION_SDP_API BV_RFCQ_LEG_SUMMARY
52 {
53 public:
55  {
56  instrumentIsinCode.reserve(12);
57  instrumentDescription.reserve(36);
58  sectionCode.reserve(4);
59  instrumentClassCode.reserve(12);
60  currency.reserve(3);
61  accountCode.reserve(200);
62  accountInfo.reserve(200);
63  clientOrderId.reserve(50);
64  settlementInfo.reserve(200);
65  benchmarkISINCode.reserve(12);
66  benchmarkDescription.reserve(36);
67  micCode.reserve(12);
68  }
69 
71 
72  /// Data regarding the tradable instrument
74 
75  /// ISIN code of the tradable instrument
76  std::string instrumentIsinCode; // maxSize = 12
77 
78  /// Description of the tradable instrument
79  std::string instrumentDescription; // maxSize = 36
80 
81  /// Code of the section
82  std::string sectionCode; // maxSize = 4
83 
84  /// Code of the instrument class
85  std::string instrumentClassCode; // maxSize = 12
86 
87  /// Verb (Referred to the member who receives the information)
89 
90  /// Quantity
91  Double quantity; // DOUBLE presentation
92 
93  /// Minimum quantity
94  Double minQty; // DOUBLE presentation
95 
96  /// Traded quantity
97  Double executedQuantity; // DOUBLE presentation
98 
99  /// Nominal value
100  Double nominalValue; // DOUBLE presentation
101 
102  /// Unique ID of the deal
104 
105  /// Price
106  Double price; // DOUBLE presentation
107 
108  /// Yield
109  Double yield; // DOUBLE presentation
110 
111  /// Settlement date
113 
114  /// Settlement offset
116 
117  /// Principal amount
118  Double principal; // DOUBLE presentation
119 
120  /// Accrued interests
121  Double accrued; // DOUBLE presentation
122 
123  /// Number of accrual days
125 
126  /// Currency code
127  std::string currency; // maxSize = 3
128 
129  /// BPV of the tradable instrument at the moment of the RFCQ creation
130  Double bpv; // DOUBLE presentation
131 
132  /// Type of allocation
134 
135  /// If specified reports the ID of a single account or of a pre allocation split depending on the fields above
137 
138  /// Account code
139  std::string accountCode; // maxSize = 200
140 
141  /// Additional account information
142  std::string accountInfo; // maxSize = 200
143 
144  /// Stage order number
146 
147  /// Unique ID of the executed order within the client institution.
148  std::string clientOrderId; // maxSize = 50
149 
150  /// Settlement information.
151  std::string settlementInfo; // maxSize = 200
152 
153  /// Modified Duration
154  Double modDuration; // DOUBLE presentation
155 
156  /// Specifies if the quotation is specified
158 
159  /// Price(Yield)
160  Double quotation; // DOUBLE presentation
161 
162  /// If true, quotation must be sent to providers
164 
165  /// Market BV Best on the Bid side
167 
168  /// Market BV Best on the Ask side
170 
171  /// Mid Price Value
172  Double bVBestMidPrice; // DOUBLE presentation
173 
174  /// Mid Yield Value
175  Double bVBestMidYield; // DOUBLE presentation
176 
177  /// Mid Yield To Call
179 
180  /// Mid Yield To Worst
182 
183  /// Mid YMW Theoretical
185 
186  /// Mid MWC Price Theoretical
187  Double bvBestMidMWCPriceTh; // DOUBLE presentation
188 
189  /// Mid YMW Exercised
191 
192  /// Mid Yield to Reset
194 
195  /// Analytics
197 
198  /// Flag indicating whether the mid-price set in fields BvBestMidPrice/BvBestMidYield is valid or not.
200 
201  /// Benchmark ISIN Code
202  std::string benchmarkISINCode; // maxSize = 12
203 
204  /// Benchmark description
205  std::string benchmarkDescription; // maxSize = 36
206 
207  /// Benchmark Price
208  Double benchmarkPrice; // DOUBLE presentation
209 
210  /// Benchmark Yield
211  Double benchmarkYield; // DOUBLE presentation
212 
213  /// Benchmark Spread Value
214  Double benchmarkSpreadValue; // DOUBLE presentation
215 
216  /// Shor tSelling indicator
218 
219  /// MIC Code
220  std::string micCode; // maxSize = 12
221 
222  /// Pre and Post-Trade Transparency Info
224 
225 
226  ///
227  size_t deserialize(const void* buf, size_t inLen);
228 
229  /// Provides string presentation
230  std::string toString () const;
231 
232  ///
233  size_t serializationBufSize() const { return 2052; }
234 
235  ///
236  size_t serialize(void* buf) const;
237 
238 };
239 
240 
241 
242 
243 }
244 }
245 }
246 }
TI_VERB::Enum verb
Verb (Referred to the member who receives the information)
UInt32 instrumentId
Data regarding the tradable instrument.
BV_BEST_TRADING_INFO bVBestBid
Market BV Best on the Bid side.
TI_FLAG::Enum bVBestMidValidityFg
Flag indicating whether the mid-price set in fields BvBestMidPrice/BvBestMidYield is valid or not...
BV_SHORT_SELLING_INDICATOR::Enum shortSellingIndicator
Shor tSelling indicator.
TI_FLAG::Enum discloseIOIFg
If true, quotation must be sent to providers.
TI_FLAG::Enum quotationFg
Specifies if the quotation is specified.
UInt32 allocationId
If specified reports the ID of a single account or of a pre allocation split depending on the fields ...
BV_TRANSPARENCY_INFO transparencyInfo
Pre and Post-Trade Transparency Info.
std::string instrumentIsinCode
ISIN code of the tradable instrument.
BV_BEST_TRADING_INFO bVBestAsk
Market BV Best on the Ask side.
std::string clientOrderId
Unique ID of the executed order within the client institution.
unsigned short UInt16
Definition: Defines.h:45
std::string instrumentDescription
Description of the tradable instrument.
Double bpv
BPV of the tradable instrument at the moment of the RFCQ creation.