OnixS C++ MTS Bond Vision SDP Handler 1.5.1
API documentation
Loading...
Searching...
No Matches
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--------------
24GENERATED FILE
25--------------
26*/
27
28
29#include <string>
48
49
50#if defined (_MSC_VER)
51#pragma warning (push)
52#pragma warning (disable: 4251)
53#endif
54
55namespace OnixS {
56namespace Mts {
57namespace BondVision {
58namespace SDP {
59
60
61
63class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_BUY_SIDE_INVENTORY_ORDER : public Class
64{
65public:
67 bidDepth(30)
68 , askDepth(30)
69
70 {
71 sectionCode.reserve(4);
72 dealerReferenceID.reserve(32);
73 quoteDigest.reserve(100);
74 currency.reserve(3);
75 clientOrderId.reserve(50);
76 execOrderId.reserve(50);
77 accountCode.reserve(200);
78 accountInfo.reserve(200);
79 settlementInfo.reserve(200);
80 mktAffiliationShortDesc.reserve(12);
81 mktAffiliationDesc.reserve(36);
82 userInfo1.reserve(200);
83 userInfo2.reserve(200);
84 }
85
87
89 virtual ClassId::Enum id() const
90 {
92 }
93
96
98 std::string sectionCode; // maxSize = 4
99
102
104 std::string dealerReferenceID; // maxSize = 32
105
107 std::string quoteDigest; // maxSize = 100
108
110 UInt64 quoteUpdateTime; // UTIME presentation
111
114
117
120
123
125 Double price; // DOUBLE presentation
126
128 Double yield; // DOUBLE presentation
129
131 Double qty; // DOUBLE presentation
132
135
137 UInt64 acceptanceTimeout; // UTIME presentation
138
140 Double principal; // DOUBLE presentation
141
143 Double nominalValue; // DOUBLE presentation
144
146 Double accrued; // DOUBLE presentation
147
149 std::string currency; // maxSize = 3
150
153
155 Double bpv; // DOUBLE presentation
156
159
162
165
168
171
173 std::string clientOrderId; // maxSize = 50
174
176 std::string execOrderId; // maxSize = 50
177
180
183
185 std::string accountCode; // maxSize = 200
186
188 std::string accountInfo; // maxSize = 200
189
191 std::string settlementInfo; // maxSize = 200
192
194 std::string mktAffiliationShortDesc; // maxSize = 12
195
197 std::string mktAffiliationDesc; // maxSize = 36
198
200 std::string userInfo1; // maxSize = 200
201
203 std::string userInfo2; // maxSize = 200
204
207
209 static const size_t bidDepthSize = 30;
210 std::vector<BV_INVENTORY_TRADING_INFO> bidDepth;
211
213 static const size_t askDepthSize = 30;
214 std::vector<BV_INVENTORY_TRADING_INFO> askDepth;
215
218
221
223 Double bVBestMidPrice; // DOUBLE presentation
224
226 Double bVBestMidYield; // DOUBLE presentation
227
230
233
236
238 Double bvBestMidMWCPriceTh; // DOUBLE presentation
239
242
245
248
251
254
257
260
262 UInt64 creationTime; // UTIME presentation
263
265 UInt64 updateTime; // UTIME presentation
266
269
270
272 size_t deserialize(const void* buf, size_t inLen);
273
275 virtual std::string toString () const;
276
278 virtual size_t serializationBufSize() const { return 24248; }
279
282
284
285private:
286 virtual size_t serialize(void* buf) const;
287
288};
289
290
291}
292}
293}
294}
295
296#if defined (_MSC_VER)
297#pragma warning (pop)
298#endif
BV_HIST_MEMBER_INFO aggressor
Member's ID of the Aggressor (Buy Side Member)
virtual BV_HIST_BUY_SIDE_INVENTORY_ORDER * clone(void *) const
BV_HIST_MEMBER_INFO provider
Member's ID of the Provider (Sell Side Member)
UInt32 allocationId
Unique ID of the pre-allocation or of the allocation during the trade splitting phase.
BV_HIST_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
UInt16 nextOrderDenialTime
Delay in seconds before another order on the same tradable instrument could be sent as defined in the...
UInt16 settlementOffset
Settlement offset espressed as number of days starting from the trading date.
TI_VERB::Enum verb
Specifies whether it is a buy or sell order and is set from the receiving member's viewpoint (Aggress...
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.
std::string execOrderId
ID of the execution within the client institution.
virtual std::string toString() const
Provides string presentation.
virtual BV_HIST_BUY_SIDE_INVENTORY_ORDER * clone() const
TI_FLAG::Enum bVBestMidValidityFg
Flag indicating whether the mid-price set in fields BvBestMidPrice/BvBestMidYield is valid or not.
unsigned long long UInt64
Definition Defines.h:47
unsigned short UInt16
Definition Defines.h:45