OnixS C++ MTS Bond Vision SDP Handler 1.5.1
API documentation
Loading...
Searching...
No Matches
SMP.Substructures.BV_HIST_TRADE_INFO.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>
45
46
47#if defined (_MSC_VER)
48#pragma warning (push)
49#pragma warning (disable: 4251)
50#endif
51
52namespace OnixS {
53namespace Mts {
54namespace BondVision {
55namespace SDP {
56
57
58
60class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_TRADE_INFO
61{
62public:
64 {
65 sectionCode.reserve(4);
66 instrumentClassCode.reserve(6);
67 financialInstrumentCode.reserve(12);
68 accountCode.reserve(200);
69 currency.reserve(3);
71 marketAffiliationDesc.reserve(36);
72 accountInfo.reserve(200);
73 areaCodeShortDesc.reserve(12);
74 areaCodeDesc.reserve(36);
75 micCode.reserve(12);
76 }
77
79
82
84 std::string sectionCode; // maxSize = 4
85
88
91
94
97
99 std::string instrumentClassCode; // maxSize = 6
100
102 std::string financialInstrumentCode; // maxSize = 12
103
106
109
112
115
118
121
124
126 std::string accountCode; // maxSize = 200
127
129 Double nominalValue; // DOUBLE presentation
130
132 Double settlCounterValue; // DOUBLE presentation
133
135 Double accruedInterest; // DOUBLE presentation
136
138 Double grossTradeAmt; // DOUBLE presentation
139
141 std::string currency; // maxSize = 3
142
145
147 UInt64 updateTime; // UTIME presentation
148
150 std::string marketAffiliationShortDesc; // maxSize = 12
151
153 std::string marketAffiliationDesc; // maxSize = 36
154
156 Double settlementFXRate; // DOUBLE presentation
157
160
163
165 UInt64 preAllocationTime; // UTIME presentation
166
169
171 std::string accountInfo; // maxSize = 200
172
175
177 Double adjustment; // DOUBLE presentation
178
181
184
186 std::string areaCodeShortDesc; // maxSize = 12
187
189 std::string areaCodeDesc; // maxSize = 36
190
193
196
198 Double bVBestMidPrice; // DOUBLE presentation
199
201 Double bVBestMidYield; // DOUBLE presentation
202
205
208
211
213 Double bvBestMidMWCPriceTh; // DOUBLE presentation
214
217
220
223
226
228 std::string micCode; // maxSize = 12
229
232
235
238
241
242
244 size_t deserialize(const void* buf, size_t inLen);
245
247 std::string toString () const;
248
250 size_t serializationBufSize() const { return 3884; }
251
253 size_t serialize(void* buf) const;
254
255};
256
257
258
259
260}
261}
262}
263}
264
265#if defined (_MSC_VER)
266#pragma warning (pop)
267#endif
TI_FLAG::Enum adjustmentFg
Indicates whether adjustment is applied.
TI_TRADE_TYPE::Enum tradeType
Specifies whether the trade results from normal trading activity or from a RFQ, RFCQ,...
BV_MATCH_MODE::Enum fillMode
Indicates whether the trade has been originated by a manual or authomatic matching.
UInt32 transactionId
Unique ID of the RFCQ or Inventory Order.
BV_BEST_TRADING_INFO bVBestAsk
Market best on the Ask side.
UInt64 updateTime
Last update time, useful for communications with pre-settlement systems.
std::string toString() const
Provides string presentation.
TI_MSG_INFO tradeMsgInfo
Contract number, contract closing (i.e. creation) date and hour, assigned by the central system.
Double settlCounterValue
Countervalue of settlement trade, expressed in the trade currency.
std::string financialInstrumentCode
Code of the financial instrument.
std::string marketAffiliationDesc
Market Affiliation description.
BV_TRADE_TRADING_INFO tradeInfo
Contract Price, Yield, Qty, NominalValue.
TI_FLAG::Enum greyMarketFlag
Indicates if the instrument object of the trade has been dealt on grey market.
Double settlementFXRate
Exchange rate between Trading and Settlement Currencies (i.e. Settlement Currency or Trading Currency...
BV_HIST_TRADE_MEMBER_INFO provider
Data identifying the Provider (who did the proposal). If the proposal has been done by an Agent,...
BV_BEST_TRADING_INFO bVBestBid
Market best on the Bid side.
std::string marketAffiliationShortDesc
Market Affiliation short description.
TI_FLAG::Enum splittableFg
Indicates whether the trade is splittable or not.
TI_FILL_STATUS::Enum status
Status of the trade (e.g. active, cancelled, cancelled - split, modified)
TI_RFCQ_TYPE::Enum rfcqType
RFCQ Type (Outright, Switch, Butterfly, Multileg)
BV_TRANSPARENCY_INFO transparencyInfo
Pre and Post-Trade Transparency Info.
Double accruedInterest
Countervalue of the interests rate payd by the buyer to the seller, expressed in the trade currency.
size_t deserialize(const void *buf, size_t inLen)
BV_HIST_TRADE_MEMBER_INFO aggressor
Data identifying the Aggrssor (who did the order). If the order has been done by an Agent,...
UInt32 parentTradeId
In case of trade splitting, it's the ID of the parent trade.
TI_FLAG::Enum bVBestMidValidityFg
Flag indicating whether the mid-price set in fields BvBestMidPrice or BvBestMidYield is valid or not.
unsigned long long UInt64
Definition Defines.h:47
unsigned short UInt16
Definition Defines.h:45