OnixS C++ MTS Bond Vision SDP Handler  1.1.0
API documentation
SMP.Classes.BV_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_BUY_SIDE_INVENTORY_ORDER : public Class
59 {
60 public:
62  bidDepth(30)
63  , askDepth(30)
64 
65  {
66  dealerReferenceID.reserve(32);
67  quoteDigest.reserve(100);
68  currency.reserve(3);
69  clientOrderId.reserve(50);
70  clientExecID.reserve(50);
71  accountCode.reserve(200);
72  accountInfo.reserve(200);
73  settlementInfo.reserve(200);
74  userInfo1.reserve(200);
75  userInfo2.reserve(200);
76  }
77 
79 
80  /// Class id
81  virtual ClassId::Enum id() const
82  {
84  }
85 
86  /// Data identifying the inventory order
88 
89  /// ID of the inventory quote to hit/lift
91 
92  /// Provider reference ID of the quote
93  std::string dealerReferenceID; // maxSize = 32
94 
95  /// Encrypted information related to quote data
96  std::string quoteDigest; // maxSize = 100
97 
98  /// Time at which the inventory quote was last updated
99  UInt64 quoteUpdateTime; // UTIME presentation
100 
101  /// Member's ID of the Aggressor (Buy Side Member)
103 
104  /// Member's ID of the Provider (Sell Side Member)
106 
107  /// Data regarding the tradable instrument
109 
110  /// Processing status of the order
112 
113  /// Price of the order
114  Double price; // DOUBLE presentation
115 
116  /// Yield of the order
117  Double yield; // DOUBLE presentation
118 
119  /// Quantity of the order
120  Double qty; // DOUBLE presentation
121 
122  /// Specifies whether it is a buy or sell order and is set from the receiving member's viewpoint (Aggressor)
124 
125  /// Timeout for manual acceptance
126  UInt64 acceptanceTimeout; // UTIME presentation
127 
128  /// Principal amount
129  Double principal; // DOUBLE presentation
130 
131  /// Nominal value
132  Double nominalValue; // DOUBLE presentation
133 
134  /// Accrued interests
135  Double accrued; // DOUBLE presentation
136 
137  /// Currency code
138  std::string currency; // maxSize = 3
139 
140  /// Number of accrual days
142 
143  /// BPV of the tradable instrument at the moment of the RFCQ creation
144  Double bpv; // DOUBLE presentation
145 
146  /// Settlement offset espressed as number of days starting from the trading date.
148 
149  /// Settlement date
151 
152  /// Settlement mode
154 
155  /// Execution settlement mode
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 clientExecID; // 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  /// Market affiliation
184 
185  /// Client free text
186  std::string userInfo1; // maxSize = 200
187 
188  /// Client free text
189  std::string userInfo2; // maxSize = 200
190 
191  /// 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).
193 
194  /// Market depth on the Bid side
195  static const size_t bidDepthSize = 30;
196  std::vector<BV_INVENTORY_TRADING_INFO> bidDepth;
197 
198  /// Market depth on the Ask side
199  static const size_t askDepthSize = 30;
200  std::vector<BV_INVENTORY_TRADING_INFO> askDepth;
201 
202  /// Market BV Best on the Bid side
204 
205  /// Market BV Best on the Ask side
207 
208  /// Mid Price Value
209  Double bVBestMidPrice; // DOUBLE presentation
210 
211  /// Mid Yield Value
212  Double bVBestMidYield; // DOUBLE presentation
213 
214  /// Mid Yield To Call
216 
217  /// MidYield To Worse
219 
220  /// Mid YMW Theoretical
222 
223  /// Mid MWC Price Theoretical
224  Double bvBestMidMWCPriceTh; // DOUBLE presentation
225 
226  /// Mid YMW Exercised
228 
229  /// Mid Yield to Reset
231 
232  /// Analytics
234 
235  /// Flag indicating whether the mid-price set in fields BvBestMidPrice/ BvBestMidYield is valid or not.
237 
238  /// Unique ID of the deal
240 
241  /// Pre and Post-Trade Transparency Info
243 
244  /// Date on which the message was written
246 
247  /// Time at which the message was written
248  UInt64 creationTime; // UTIME presentation
249 
250  /// Last update time
251  UInt64 updateTime; // UTIME presentation
252 
253  /// Short Selling indicator
255 
256 
257  ///
258  size_t deserialize(const void* buf, size_t inLen);
259 
260  /// Provides string presentation
261  virtual std::string toString () const;
262 
263  ///
264  virtual size_t serializationBufSize() const { return 39008; }
265 
266  ///
267  virtual BV_BUY_SIDE_INVENTORY_ORDER* clone() const;
268 
269  virtual BV_BUY_SIDE_INVENTORY_ORDER* clone(void*) const;
270 
271 private:
272  virtual size_t serialize(void* buf) const;
273 
274 };
275 
276 
277 }
278 }
279 }
280 }
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_MEMBER_INFO provider
Member&#39;s ID of the Provider (Sell Side Member)
UInt16 settlementOffset
Settlement offset espressed as number of days starting from the trading date.
BV_EXEC_SETTLEMENT_MODE::Enum execSettlementMode
Execution settlement mode.
UInt64 quoteUpdateTime
Time at which the inventory quote was last updated.
std::string quoteDigest
Encrypted information related to quote data.
UInt16 nextOrderDenialTime
Delay in seconds before another order on the same tradable instrument could be sent as defined in the...
TI_FLAG::Enum bVBestMidValidityFg
Flag indicating whether the mid-price set in fields BvBestMidPrice/ BvBestMidYield is valid or not...
std::string clientOrderId
ID of the order within the client institution.
Double bpv
BPV of the tradable instrument at the moment of the RFCQ creation.
UInt32 allocationId
Unique ID of the pre-allocation or of the allocation during the trade splitting phase.
BV_SHORT_SELLING_INDICATOR::Enum shortSellingIndicator
Short Selling indicator.
BV_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
BV_TRANSPARENCY_INFO transparencyInfo
Pre and Post-Trade Transparency Info.
BV_INVENTORY_ORDER_STATUS::Enum status
Processing status of the order.
unsigned long long UInt64
Definition: Defines.h:47
BV_MEMBER_INFO aggressor
Member&#39;s ID of the Aggressor (Buy Side Member)
unsigned short UInt16
Definition: Defines.h:45
std::string clientExecID
ID of the execution within the client institution.