OnixS C++ MTS Bond Vision SDP Handler  1.1.0
API documentation
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 --------------
24 GENERATED FILE
25 --------------
26 */
27 
28 
29 #include <string>
45 
46 
47 namespace OnixS {
48 namespace Mts {
49 namespace BondVision {
50 namespace SDP {
51 
52 
53 
54 ///
55 class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_TRADE_INFO
56 {
57 public:
59  {
60  sectionCode.reserve(4);
61  instrumentClassCode.reserve(6);
62  financialInstrumentCode.reserve(12);
63  accountCode.reserve(200);
64  currency.reserve(3);
65  marketAffiliationShortDesc.reserve(12);
66  marketAffiliationDesc.reserve(36);
67  accountInfo.reserve(200);
68  areaCodeShortDesc.reserve(12);
69  areaCodeDesc.reserve(36);
70  micCode.reserve(12);
71  }
72 
74 
75  /// Contract number, contract closing (i.e. creation) date and hour, assigned by the central system
77 
78  /// Section code
79  std::string sectionCode; // maxSize = 4
80 
81  /// Unique ID of the Deal
83 
84  /// Data identifying the Provider (who did the proposal). If the proposal has been done by an Agent, the field indicates the member on behalf of which the Agent has operated.
86 
87  /// Data identifying the Aggrssor (who did the order). If the order has been done by an Agent, the field indicates the member on behalf of which the Agent has operated.
89 
90  /// Instrument info
92 
93  /// Code of the instrument class
94  std::string instrumentClassCode; // maxSize = 6
95 
96  /// Code of the financial instrument
97  std::string financialInstrumentCode; // maxSize = 12
98 
99  /// Order side - Buy or Sell
101 
102  /// Contract Price, Yield, Qty, NominalValue
104 
105  /// Status of the trade (e.g. active, cancelled, cancelled - split, modified)
107 
108  /// Indicates whether the trade has been originated by a manual or authomatic matching
110 
111  /// Settlement date
113 
114  /// Settlement type
116 
117  /// Settlement status
119 
120  /// Account information
121  std::string accountCode; // maxSize = 200
122 
123  /// Nominal value
124  Double nominalValue; // DOUBLE presentation
125 
126  /// Countervalue of settlement trade, expressed in the trade currency
127  Double settlCounterValue; // DOUBLE presentation
128 
129  /// Countervalue of the interests rate payd by the buyer to the seller, expressed in the trade currency
130  Double accruedInterest; // DOUBLE presentation
131 
132  /// Currency
133  std::string currency; // maxSize = 3
134 
135  /// Indicates if the instrument object of the trade has been dealt on grey market
137 
138  /// Last update time, useful for communications with pre-settlement systems
139  UInt64 updateTime; // UTIME presentation
140 
141  /// Market Affiliation short description
142  std::string marketAffiliationShortDesc; // maxSize = 12
143 
144  /// Market Affiliation description
145  std::string marketAffiliationDesc; // maxSize = 36
146 
147  /// Exchange rate between Trading and Settlement Currencies (i.e. Settlement Currency or Trading Currency)
148  Double settlementFXRate; // DOUBLE presentation
149 
150  /// In case of trade splitting, it's the ID of the parent trade.
152 
153  /// Indicates whether the trade is splittable or not
155 
156  /// Time of pre-allocation
157  UInt64 preAllocationTime; // UTIME presentation
158 
159  /// Settlement offset
161 
162  /// Additional account information
163  std::string accountInfo; // maxSize = 200
164 
165  /// Unique ID of the allocation
167 
168  /// Adjustment
169  Double adjustment; // DOUBLE presentation
170 
171  /// Indicates whether adjustment is applied
173 
174  /// Specifies whether the trade results from normal trading activity or from a RFQ, RFCQ, etc.
176 
177  /// Area Code short description
178  std::string areaCodeShortDesc; // maxSize = 12
179 
180  /// Area Code description
181  std::string areaCodeDesc; // maxSize = 36
182 
183  /// Market best on the Bid side
185 
186  /// Market best on the Ask side
188 
189  /// MidPrice Value
190  Double bVBestMidPrice; // DOUBLE presentation
191 
192  /// MidYield Value
193  Double bVBestMidYield; // DOUBLE presentation
194 
195  /// Mid Yield To Call
197 
198  /// Mid Yield To Worst
200 
201  /// Mid YMW Theoretical
203 
204  /// Mid MWC Price Theoretical
205  Double bvBestMidMWCPriceTh; // DOUBLE presentation
206 
207  /// Mid YMW Exercised
209 
210  /// Mid Yield to Reset
212 
213  /// Analytics
215 
216  /// Flag indicating whether the mid-price set in fields BvBestMidPrice or BvBestMidYield is valid or not.
218 
219  /// MIC Code
220  std::string micCode; // maxSize = 12
221 
222  /// Unique ID of the RFCQ or Inventory Order
224 
225  /// Unique ID of the trading leg
227 
228  /// RFCQ Type (Outright, Switch, Butterfly, Multileg)
230 
231  /// Pre and Post-Trade Transparency Info
233 
234 
235  ///
236  size_t deserialize(const void* buf, size_t inLen);
237 
238  /// Provides string presentation
239  std::string toString () const;
240 
241  ///
242  size_t serializationBufSize() const { return 3716; }
243 
244  ///
245  size_t serialize(void* buf) const;
246 
247 };
248 
249 
250 
251 
252 }
253 }
254 }
255 }
BV_MATCH_MODE::Enum fillMode
Indicates whether the trade has been originated by a manual or authomatic matching.
TI_FLAG::Enum bVBestMidValidityFg
Flag indicating whether the mid-price set in fields BvBestMidPrice or BvBestMidYield is valid or not...
Double settlementFXRate
Exchange rate between Trading and Settlement Currencies (i.e. Settlement Currency or Trading Currency...
UInt32 parentTradeId
In case of trade splitting, it&#39;s the ID of the parent trade.
TI_FLAG::Enum adjustmentFg
Indicates whether adjustment is applied.
std::string financialInstrumentCode
Code of the financial instrument.
std::string marketAffiliationShortDesc
Market Affiliation short description.
Double accruedInterest
Countervalue of the interests rate payd by the buyer to the seller, expressed in the trade currency...
BV_HIST_TRADE_MEMBER_INFO provider
Data identifying the Provider (who did the proposal). If the proposal has been done by an Agent...
TI_FLAG::Enum splittableFg
Indicates whether the trade is splittable or not.
TI_RFCQ_TYPE::Enum rfcqType
RFCQ Type (Outright, Switch, Butterfly, Multileg)
TI_MSG_INFO tradeMsgInfo
Contract number, contract closing (i.e. creation) date and hour, assigned by the central system...
UInt64 updateTime
Last update time, useful for communications with pre-settlement systems.
UInt32 transactionId
Unique ID of the RFCQ or Inventory Order.
TI_TRADE_TYPE::Enum tradeType
Specifies whether the trade results from normal trading activity or from a RFQ, RFCQ, etc.
std::string marketAffiliationDesc
Market Affiliation description.
TI_FILL_STATUS::Enum status
Status of the trade (e.g. active, cancelled, cancelled - split, modified)
BV_BEST_TRADING_INFO bVBestBid
Market best on the Bid side.
Double settlCounterValue
Countervalue of settlement trade, expressed in the trade currency.
BV_BEST_TRADING_INFO bVBestAsk
Market best on the Ask side.
BV_HIST_TRADE_MEMBER_INFO aggressor
Data identifying the Aggrssor (who did the order). If the order has been done by an Agent...
TI_FLAG::Enum greyMarketFlag
Indicates if the instrument object of the trade has been dealt on grey market.
BV_TRADE_TRADING_INFO tradeInfo
Contract Price, Yield, Qty, NominalValue.
unsigned long long UInt64
Definition: Defines.h:47
BV_TRANSPARENCY_INFO transparencyInfo
Pre and Post-Trade Transparency Info.
unsigned short UInt16
Definition: Defines.h:45
std::string instrumentClassCode
Code of the instrument class.