OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_LAST_DAY_BUY_SIDE_INVENTORY_ORDER.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>
48 
49 
50 namespace OnixS {
51 namespace Mts {
52 namespace BondVision {
53 namespace SDP {
54 
55 
56 
57 ///
58 class ONIXS_MTS_BONDVISION_SDP_API BV_LAST_DAY_BUY_SIDE_INVENTORY_ORDER : public Class
59 {
60 public:
62  bidDepth(30)
63  , askDepth(30)
64 
65  {
66  sectionCode.reserve(4);
67  dealerReferenceID.reserve(32);
68  quoteDigest.reserve(100);
69  currency.reserve(3);
70  clientOrderId.reserve(50);
71  execOrderId.reserve(50);
72  accountCode.reserve(200);
73  accountInfo.reserve(200);
74  settlementInfo.reserve(200);
75  mktAffiliationShortDesc.reserve(12);
76  mktAffiliationDesc.reserve(36);
77  userInfo1.reserve(200);
78  userInfo2.reserve(200);
79  }
80 
82 
83  /// Class id
84  virtual ClassId::Enum id() const
85  {
87  }
88 
89  /// Data identifying the inventory order
91 
92  /// Section Code
93  std::string sectionCode; // maxSize = 4
94 
95  /// ID of the inventory quote to hit/lift
97 
98  /// Provider reference ID of the quote
99  std::string dealerReferenceID; // maxSize = 32
100 
101  /// Encrypted information related to quote data
102  std::string quoteDigest; // maxSize = 100
103 
104  /// Time at which the inventory quote was last updated
105  UInt64 quoteUpdateTime; // UTIME presentation
106 
107  /// Member's ID of the Aggressor (Buy Side Member)
109 
110  /// Member's ID of the Provider (Sell Side Member)
112 
113  /// Data regarding the tradable instrument
115 
116  /// Processing status of the order
118 
119  /// Price of the order
120  Double price; // DOUBLE presentation
121 
122  /// Yield of the order
123  Double yield; // DOUBLE presentation
124 
125  /// Quantity of the order
126  Double qty; // DOUBLE presentation
127 
128  /// Specifies whether it is a buy or sell order and is set from the receiving member's viewpoint (Aggressor)
130 
131  /// Timeout for manual acceptance
132  UInt64 acceptanceTimeout; // UTIME presentation
133 
134  /// Principal amount
135  Double principal; // DOUBLE presentation
136 
137  /// Nominal value
138  Double nominalValue; // DOUBLE presentation
139 
140  /// Accrued interests
141  Double accrued; // DOUBLE presentation
142 
143  /// Currency code
144  std::string currency; // maxSize = 3
145 
146  /// Number of accrual days
148 
149  /// BPV of the tradable instrument at the moment of the RFCQ creation
150  Double bpv; // DOUBLE presentation
151 
152  /// Settlement offset espressed as number of days starting from the trading date.
154 
155  /// Settlement date
157 
158  /// Stage Order ID
160 
161  /// ID of the order within the client institution.
162  std::string clientOrderId; // maxSize = 50
163 
164  /// ID of the execution within the client institution.
165  std::string execOrderId; // maxSize = 50
166 
167  /// Type of allocation
169 
170  /// Unique ID of the pre-allocation or of the allocation during the trade splitting phase
172 
173  /// Account code
174  std::string accountCode; // maxSize = 200
175 
176  /// Additional account information
177  std::string accountInfo; // maxSize = 200
178 
179  /// Settlement information
180  std::string settlementInfo; // maxSize = 200
181 
182  /// Short description of the Market Affiliation
183  std::string mktAffiliationShortDesc; // maxSize = 12
184 
185  /// Long description of the Market Affiliation
186  std::string mktAffiliationDesc; // maxSize = 36
187 
188  /// Client free text
189  std::string userInfo1; // maxSize = 200
190 
191  /// Client free text
192  std::string userInfo2; // maxSize = 200
193 
194  /// Delay in seconds before another order on the same tradable instrument could be sent as defined in the BV_INSTRUMENT_CLASS (IODenialTime and IODenialTimeType fields).
196 
197  /// Market depth on the Bid side
198  static const size_t bidDepthSize = 30;
199  std::vector<BV_INVENTORY_TRADING_INFO> bidDepth;
200 
201  /// Market depth on the Ask side
202  static const size_t askDepthSize = 30;
203  std::vector<BV_INVENTORY_TRADING_INFO> askDepth;
204 
205  /// Market BV Best on the Bid side
207 
208  /// Market BV Best on the Ask side
210 
211  /// Mid Price Value
212  Double bVBestMidPrice; // DOUBLE presentation
213 
214  /// Mid Yield Value
215  Double bVBestMidYield; // DOUBLE presentation
216 
217  /// Mid Yield To Call
219 
220  /// MidYield To Worse
222 
223  /// Mid YMW Theoretical
225 
226  /// Mid MWC Price Theoretical
227  Double bvBestMidMWCPriceTh; // DOUBLE presentation
228 
229  /// Mid YMW Exercised
231 
232  /// Mid Yield to Reset
234 
235  /// Analytics
237 
238  /// Flag indicating whether the mid-price set in fields BvBestMidPrice/BvBestMidYield is valid or not.
240 
241  /// Unique ID of the deal
243 
244  /// Pre and Post-Trade Transparency Info
246 
247  /// Date on which the message was written
249 
250  /// Time at which the message was written
251  UInt64 creationTime; // UTIME presentation
252 
253  /// Last update time
254  UInt64 updateTime; // UTIME presentation
255 
256  /// Short Selling indicator
258 
259 
260  ///
261  size_t deserialize(const void* buf, size_t inLen);
262 
263  /// Provides string presentation
264  virtual std::string toString () const;
265 
266  ///
267  virtual size_t serializationBufSize() const { return 39400; }
268 
269  ///
270  virtual BV_LAST_DAY_BUY_SIDE_INVENTORY_ORDER* clone() const;
271 
272  virtual BV_LAST_DAY_BUY_SIDE_INVENTORY_ORDER* clone(void*) const;
273 
274 private:
275  virtual size_t serialize(void* buf) const;
276 
277 };
278 
279 
280 }
281 }
282 }
283 }
Double bpv
BPV of the tradable instrument at the moment of the RFCQ creation.
BV_HIST_MEMBER_INFO provider
Member&#39;s ID of the Provider (Sell Side Member)
BV_HIST_INSTRUMENT_INFO_EXT instrument
Data regarding the tradable instrument.
TI_FLAG::Enum bVBestMidValidityFg
Flag indicating whether the mid-price set in fields BvBestMidPrice/BvBestMidYield is valid or not...
TI_VERB::Enum verb
Specifies whether it is a buy or sell order and is set from the receiving member&#39;s viewpoint (Aggress...
BV_HIST_MEMBER_INFO aggressor
Member&#39;s ID of the Aggressor (Buy Side Member)
UInt16 nextOrderDenialTime
Delay in seconds before another order on the same tradable instrument could be sent as defined in the...
unsigned long long UInt64
Definition: Defines.h:47
UInt32 allocationId
Unique ID of the pre-allocation or of the allocation during the trade splitting phase.
unsigned short UInt16
Definition: Defines.h:45
UInt16 settlementOffset
Settlement offset espressed as number of days starting from the trading date.