OnixS C++ MTS Bond Vision SDP Handler  1.1.0
API documentation
SMP.Classes.BV_YIELD_PRICE_PREVIEW.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>
51 
52 
53 namespace OnixS {
54 namespace Mts {
55 namespace BondVision {
56 namespace SDP {
57 
58 
59 
60 ///
61 class ONIXS_MTS_BONDVISION_SDP_API BV_YIELD_PRICE_PREVIEW : public Class
62 {
63 public:
65  {
66  userData.reserve(8);
67  }
68 
70 
71  /// Class id
72  virtual ClassId::Enum id() const
73  {
75  }
76 
77  /// ID of the preview request
79 
80  /// ID of the first tradable instrument
82 
83  /// ID of the second tradable instrument
85 
86  /// ID of the third tradable instrument
88 
89  /// Trading Modality (RFCQ)
91 
92  /// Conversion type for the first leg
94 
95  /// Conversion type for the second leg
97 
98  /// Conversion type for the third leg
100 
101  /// Price of the first instrument
102  Double firstLegPrice; // DOUBLE presentation
103 
104  /// Price of the second instrument
105  Double secondLegPrice; // DOUBLE presentation
106 
107  /// Price of the third instrument
108  Double thirdLegPrice; // DOUBLE presentation
109 
110  /// Discount Rate of the first instrument
111  Double firstLegDiscountRate; // DOUBLE presentation
112 
113  /// Discount Rate of the second instrument
114  Double secondLegDiscountRate; // DOUBLE presentation
115 
116  /// Discount Rate of the third instrument
117  Double thirdLegDiscountRate; // DOUBLE presentation
118 
119  /// CMDP Yield of the first instrument
120  Double firstLegCMPDYield; // DOUBLE presentation
121 
122  /// CMDP Yield of the second instrument
123  Double secondLegCMPDYield; // DOUBLE presentation
124 
125  /// CMDP Yield of the third instrument
126  Double thirdLegCMPDYield; // DOUBLE presentation
127 
128  /// MME Yield of the first instrument
129  Double firstLegMMEYield; // DOUBLE presentation
130 
131  /// MME Yield of the second instrument
132  Double secondLegMMEYield; // DOUBLE presentation
133 
134  /// MME Yield of the third instrument
135  Double thirdLegMMEYield; // DOUBLE presentation
136 
137  /// Yield To Call of the first instrument
139 
140  /// Yield to Worst of the first instrument
142 
143  /// YMW Theoretical of the first instrument
145 
146  /// MWC Price Theoretical of the first instrument
147  Double firstLegMWCPriceTh; // DOUBLE presentation
148 
149  /// YMW Exercised of the first instrument
151 
152  /// Yield to Reset of the first instrument
154 
155  /// Analytics of the First Instrument
157 
158  /// Yield To Call of the second instrument
160 
161  /// Yield to Worst of the second instrument
163 
164  /// YMW Theoretical of the second instrument
166 
167  /// MWC Price Theoretical of the second instrument
168  Double secondLegMWCPriceTh; // DOUBLE presentation
169 
170  /// YMW Exercised of the second instrument
172 
173  /// Yield to Reset of the second instrument
175 
176  /// Analytics of the Second Instrument
178 
179  /// Yield To Call of the third instrument
181 
182  /// Yield to Worst of the third instrument
184 
185  /// YMW Theoretical of the third instrument
187 
188  /// MWC Price Theoretical of the third instrument
189  Double thirdLegMWCPriceTh; // DOUBLE presentation
190 
191  /// YMW Exercised of the third instrument
193 
194  /// Yield to Reset of the third instrument
196 
197  /// Analytics of the Third Instrument
199 
200  /// Settlement date of the first instrument
202 
203  /// Settlement date of the second instrument
205 
206  /// Settlement date of the third instrument
208 
209  /// Free field used by the client
210  std::string userData; // maxSize = 8
211 
212 
213  ///
214  size_t deserialize(const void* buf, size_t inLen);
215 
216  /// Provides string presentation
217  virtual std::string toString () const;
218 
219  ///
220  virtual size_t serializationBufSize() const { return 1112; }
221 
222  ///
223  virtual BV_YIELD_PRICE_PREVIEW* clone() const;
224 
225  virtual BV_YIELD_PRICE_PREVIEW* clone(void*) const;
226 
227 private:
228  virtual size_t serialize(void* buf) const;
229 
230 };
231 
232 
233 }
234 }
235 }
236 }
BV_VALUE thirdLegYTC
Yield To Call of the third instrument.
BV_VALUE thirdLegYTW
Yield to Worst of the third instrument.
BV_VALUE firstLegYTW
Yield to Worst of the first instrument.
BV_ANALYTICS firstLegAnalytics
Analytics of the First Instrument.
BV_VALUE secondLegYMWExrc
YMW Exercised of the second instrument.
UInt32 firstLegSettlementDate
Settlement date of the first instrument.
BV_VALUE firstLegYMWTh
YMW Theoretical of the first instrument.
Double thirdLegDiscountRate
Discount Rate of the third instrument.
Double secondLegMWCPriceTh
MWC Price Theoretical of the second instrument.
Double secondLegCMPDYield
CMDP Yield of the second instrument.
BV_YIELD_PRICE_PREVIEW_TYPE::Enum thirdLegPreviewType
Conversion type for the third leg.
BV_VALUE secondLegYMWTh
YMW Theoretical of the second instrument.
Double secondLegDiscountRate
Discount Rate of the second instrument.
BV_YIELD_PRICE_PREVIEW_TYPE::Enum secondLegPreviewType
Conversion type for the second leg.
BV_VALUE firstLegYTR
Yield to Reset of the first instrument.
BV_VALUE thirdLegYMWExrc
YMW Exercised of the third instrument.
BV_ANALYTICS thirdLegAnalytics
Analytics of the Third Instrument.
BV_VALUE thirdLegYMWTh
YMW Theoretical of the third instrument.
BV_ANALYTICS secondLegAnalytics
Analytics of the Second Instrument.
TI_TRADING_MODALITY::Enum tradingModality
Trading Modality (RFCQ)
BV_VALUE thirdLegYTR
Yield to Reset of the third instrument.
Double firstLegMWCPriceTh
MWC Price Theoretical of the first instrument.
BV_VALUE secondLegYTW
Yield to Worst of the second instrument.
UInt32 secondLegSettlementDate
Settlement date of the second instrument.
Double thirdLegMWCPriceTh
MWC Price Theoretical of the third instrument.
UInt32 thirdLegSettlementDate
Settlement date of the third instrument.
Double firstLegDiscountRate
Discount Rate of the first instrument.
BV_YIELD_PRICE_PREVIEW_TYPE::Enum firstLegPreviewType
Conversion type for the first leg.
BV_VALUE secondLegYTR
Yield to Reset of the second instrument.
BV_VALUE firstLegYTC
Yield To Call of the first instrument.
BV_VALUE firstLegYMWExrc
YMW Exercised of the first instrument.
BV_VALUE secondLegYTC
Yield To Call of the second instrument.