OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Substructures.BV_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>
46 
47 
48 namespace OnixS {
49 namespace Mts {
50 namespace BondVision {
51 namespace SDP {
52 
53 
54 
55 ///
56 class ONIXS_MTS_BONDVISION_SDP_API BV_TRADE_INFO
57 {
58 public:
60  {
61  financialInstrumentCode.reserve(12);
62  currency.reserve(3);
63  micCode.reserve(12);
64  }
65 
67 
68  /// Contract number, contract closing (i.e. creation) date and hour, assigned by the central system
70 
71  /// Unique ID of the Deal
73 
74  /// 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.
76 
77  /// Data identifying the Aggressor (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.
79 
80  /// Instrument info
82 
83  /// Unique ID of the financial instrument
85 
86  /// Code of the financial instrument
87  std::string financialInstrumentCode; // maxSize = 12
88 
89  /// Order side - Buy or Sell
91 
92  /// Contract Price, Yield, Qty, NominalValue
94 
95  /// Status of the trade (e.g. active, cancelled, cancelled - split, modified)
97 
98  /// Indicates whether the deal has been originated by a manual or authomatic matching
100 
101  /// Settlement date
103 
104  /// Settlement type
106 
107  /// Settlement status
109 
110  /// Unique ID of the Account
112 
113  /// Nominal value
114  Double nominalValue; // DOUBLE presentation
115 
116  /// Countervalue of settlement trade, expressed in the trade currency
117  Double settlCounterValue; // DOUBLE presentation
118 
119  /// Countervalue of the interests rate payd by the buyer to the seller, expressed in the trade currency
120  Double accruedInterest; // DOUBLE presentation
121 
122  /// Currency
123  std::string currency; // maxSize = 3
124 
125  /// Indicates if the instrument object of the trade has been dealt on grey market
127 
128  /// Last update time, useful for communications with pre-settlement systems
129  UInt64 updateTime; // UTIME presentation
130 
131  /// Specifies whether the trade has been closed on a regulated market or on a MTF
133 
134  /// Exchange rate between Trading and Settlement Currencies (i.e. Settlement Currency or Trading Currency)
135  Double settlementFXRate; // DOUBLE presentation
136 
137  /// In case of trade splitting, it's the ID of the parent trade.
139 
140  /// Indicates whether the trade is splittable or not
142 
143  /// Time of pre-allocation
144  UInt64 preAllocationTime; // UTIME presentation
145 
146  /// Settlement offset
148 
149  /// Adjustment
150  Double adjustment; // DOUBLE presentation
151 
152  /// Indicates whether adjustment is applied
154 
155  /// Specifies whether the trade results from normal trading activity or from a RFQ, RFCQ, etc.
157 
158  /// Unique ID of the Area Code
160 
161  /// Market best on the Bid side
163 
164  /// Market best on the Ask side
166 
167  /// MidPrice Value
168  Double bVBestMidPrice; // DOUBLE presentation
169 
170  /// MidYield Value
171  Double bVBestMidYield; // DOUBLE presentation
172 
173  /// Mid Yield To Call
175 
176  /// Mid Yield To Worst
178 
179  /// Mid YMW Theoretical
181 
182  /// Mid MWC Price Theoretical
183  Double bvBestMidMWCPriceTh; // DOUBLE presentation
184 
185  /// Mid YMW Exercised
187 
188  /// Mid Yield to Reset
190 
191  /// Analytics
193 
194  /// Flag indicating whether the mid-price set in fields BvBestMidPrice or BvBestMidYield is valid or not.
196 
197  /// MIC Code
198  std::string micCode; // maxSize = 12
199 
200  /// Unique ID of the RFCQ or Inventory Order
202 
203  /// Unique ID of the trading leg
205 
206  /// RFCQ type
208 
209  /// Pre and Post-Trade Transparency Info
211 
212 
213  ///
214  size_t deserialize(const void* buf, size_t inLen);
215 
216  /// Provides string presentation
217  std::string toString () const;
218 
219  ///
220  size_t serializationBufSize() const { return 2984; }
221 
222  ///
223  size_t serialize(void* buf) const;
224 
225 };
226 
227 
228 
229 
230 }
231 }
232 }
233 }
BV_TRANSPARENCY_INFO transparencyInfo
Pre and Post-Trade Transparency Info.
BV_TRADE_MEMBER_INFO provider
Data identifying the Provider (who did the proposal). If the proposal has been done by an Agent...
BV_TRADE_MEMBER_INFO aggressor
Data identifying the Aggressor (who did the order). If the order has been done by an Agent...
UInt32 transactionId
Unique ID of the RFCQ or Inventory Order.
UInt16 marketAffiliation
Specifies whether the trade has been closed on a regulated market or on a MTF.
Double accruedInterest
Countervalue of the interests rate payd by the buyer to the seller, expressed in the trade currency...
BV_TRADE_TRADING_INFO tradeInfo
Contract Price, Yield, Qty, NominalValue.
BV_BEST_TRADING_INFO bVBestAsk
Market best on the Ask side.
TI_VERB::Enum verb
Order side - Buy or Sell.
TI_FLAG::Enum greyMarketFlag
Indicates if the instrument object of the trade has been dealt on grey market.
std::string financialInstrumentCode
Code of the financial instrument.
TI_MSG_INFO tradeMsgInfo
Contract number, contract closing (i.e. creation) date and hour, assigned by the central system...
TI_TRADE_TYPE::Enum tradeType
Specifies whether the trade results from normal trading activity or from a RFQ, RFCQ, etc.
UInt32 parentTradeId
In case of trade splitting, it&#39;s the ID of the parent trade.
TI_FILL_STATUS::Enum status
Status of the trade (e.g. active, cancelled, cancelled - split, modified)
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...
UInt64 updateTime
Last update time, useful for communications with pre-settlement systems.
TI_FLAG::Enum adjustmentFg
Indicates whether adjustment is applied.
Double settlCounterValue
Countervalue of settlement trade, expressed in the trade currency.
BV_BEST_TRADING_INFO bVBestBid
Market best on the Bid side.
UInt32 financialInstrumentId
Unique ID of the financial instrument.
BV_MATCH_MODE::Enum fillMode
Indicates whether the deal has been originated by a manual or authomatic matching.
unsigned long long UInt64
Definition: Defines.h:47
TI_FLAG::Enum splittableFg
Indicates whether the trade is splittable or not.
BV_SETTL_STATUS::Enum settlStatus
Settlement status.
unsigned short UInt16
Definition: Defines.h:45