OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_HIST_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_HIST_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  /// Settlement mode
160 
161  /// Execution settlement mode
163 
164  /// Stage Order ID
166 
167  /// ID of the order within the client institution.
168  std::string clientOrderId; // maxSize = 50
169 
170  /// ID of the execution within the client institution.
171  std::string execOrderId; // maxSize = 50
172 
173  /// Type of allocation
175 
176  /// Unique ID of the pre-allocation or of the allocation during the trade splitting phase
178 
179  /// Account code
180  std::string accountCode; // maxSize = 200
181 
182  /// Additional account information
183  std::string accountInfo; // maxSize = 200
184 
185  /// Settlement information
186  std::string settlementInfo; // maxSize = 200
187 
188  /// Short description of the Market Affiliation
189  std::string mktAffiliationShortDesc; // maxSize = 12
190 
191  /// Long description of the Market Affiliation
192  std::string mktAffiliationDesc; // maxSize = 36
193 
194  /// Client free text
195  std::string userInfo1; // maxSize = 200
196 
197  /// Client free text
198  std::string userInfo2; // maxSize = 200
199 
200  /// 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).
202 
203  /// Market depth on the Bid side
204  static const size_t bidDepthSize = 30;
205  std::vector<BV_INVENTORY_TRADING_INFO> bidDepth;
206 
207  /// Market depth on the Ask side
208  static const size_t askDepthSize = 30;
209  std::vector<BV_INVENTORY_TRADING_INFO> askDepth;
210 
211  /// Market BV Best on the Bid side
213 
214  /// Market BV Best on the Ask side
216 
217  /// Mid Price Value
218  Double bVBestMidPrice; // DOUBLE presentation
219 
220  /// Mid Yield Value
221  Double bVBestMidYield; // DOUBLE presentation
222 
223  /// Mid Yield To Call
225 
226  /// MidYield To Worse
228 
229  /// Mid YMW Theoretical
231 
232  /// Mid MWC Price Theoretical
233  Double bvBestMidMWCPriceTh; // DOUBLE presentation
234 
235  /// Mid YMW Exercised
237 
238  /// Mid Yield to Reset
240 
241  /// Analytics
243 
244  /// Flag indicating whether the mid-price set in fields BvBestMidPrice/BvBestMidYield is valid or not.
246 
247  /// Unique ID of the deal
249 
250  /// Pre and Post-Trade Transparency Info
252 
253  /// Date on which the message was written
255 
256  /// Time at which the message was written
257  UInt64 creationTime; // UTIME presentation
258 
259  /// Last update time
260  UInt64 updateTime; // UTIME presentation
261 
262  /// Short Selling indicator
264 
265 
266  ///
267  size_t deserialize(const void* buf, size_t inLen);
268 
269  /// Provides string presentation
270  virtual std::string toString () const;
271 
272  ///
273  virtual size_t serializationBufSize() const { return 39408; }
274 
275  ///
276  virtual BV_HIST_BUY_SIDE_INVENTORY_ORDER* clone() const;
277 
278  virtual BV_HIST_BUY_SIDE_INVENTORY_ORDER* clone(void*) const;
279 
280 private:
281  virtual size_t serialize(void* buf) const;
282 
283 };
284 
285 
286 }
287 }
288 }
289 }
UInt16 settlementOffset
Settlement offset espressed as number of days starting from the trading date.
BV_HIST_MEMBER_INFO aggressor
Member&#39;s ID of the Aggressor (Buy Side Member)
std::string execOrderId
ID of the execution within the client institution.
BV_SHORT_SELLING_INDICATOR::Enum shortSellingIndicator
Short Selling indicator.
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.
std::string mktAffiliationShortDesc
Short description of the Market Affiliation.
TI_FLAG::Enum bVBestMidValidityFg
Flag indicating whether the mid-price set in fields BvBestMidPrice/BvBestMidYield is valid or not...
UInt32 allocationId
Unique ID of the pre-allocation or of the allocation during the trade splitting phase.
UInt64 quoteUpdateTime
Time at which the inventory quote was last updated.
BV_TRANSPARENCY_INFO transparencyInfo
Pre and Post-Trade Transparency Info.
UInt16 nextOrderDenialTime
Delay in seconds before another order on the same tradable instrument could be sent as defined in the...
BV_INVENTORY_ORDER_STATUS::Enum status
Processing status of the order.
Double bpv
BPV of the tradable instrument at the moment of the RFCQ creation.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45
std::string clientOrderId
ID of the order within the client institution.
TI_VERB::Enum verb
Specifies whether it is a buy or sell order and is set from the receiving member&#39;s viewpoint (Aggress...