OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Substructures.BV_ALLOCATION_REPORT_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>
38 
39 
40 namespace OnixS {
41 namespace Mts {
42 namespace BondVision {
43 namespace SDP {
44 
45 
46 
47 ///
48 class ONIXS_MTS_BONDVISION_SDP_API BV_ALLOCATION_REPORT_INFO
49 {
50 public:
52  splitTradeList(100)
53 
54  {
55  clientOrderId.reserve(50);
56  clientAllocationId.reserve(100);
57  currency.reserve(3);
58  micCode.reserve(12);
59  allocationDescription.reserve(50);
60  orderTraderName.reserve(12);
61  }
62 
64 
65  /// Report number, date and hour, assigned by the central system
67 
68  /// Information about the Buy Side member
70 
71  /// Information about the Sell Side member
73 
74  /// Unique identifier of the RFCQ Request or Inventory Order
76 
77  /// Unique identifier of the trading leg
79 
80  /// RFCQ type
82 
83  /// Stage Order identifier
85 
86  /// Identifier of the order within the client institution
87  std::string clientOrderId; // maxSize = 50
88 
89  /// Unique identifier o f the pre-allocation or of the allocation during the trade splitting phase
91 
92  /// Identifier of the allocation within the client institution
93  std::string clientAllocationId; // maxSize = 100
94 
95  /// Unique identifier of the allocated trade
97 
98  /// Currency code
99  std::string currency; // maxSize = 3
100 
101  /// MIC code
102  std::string micCode; // maxSize = 12
103 
104  /// Information about the instrument
106 
107  /// Verb
109 
110  /// Settlement date
112 
113  /// Price or Yield or Qty information
115 
116  /// Yield to Worst
117  Double yTW; // DOUBLE presentation
118 
119  /// Discount Rate
120  Double discountRate; // DOUBLE presentation
121 
122  /// Discount Margin
123  Double discountMargin; // DOUBLE presentation
124 
125  /// Weighted Average Price, calculated after fill or partial fill
126  Double averagePrice; // DOUBLE presentation
127 
128  /// Total quantity traded specified as Nominal Value
129  Double nominalValue; // DOUBLE presentation
130 
131  /// Countervalue of the interests rate paid by the buyer to the seller, expressed in the trade currency
132  Double accruedInterest; // DOUBLE presentation
133 
134  /// Gross trade amount
135  Double grossTradeAmt; // DOUBLE presentation
136 
137  /// Number of Split Trades
139 
140  /// List of Split Trades
141  static const size_t splitTradeListSize = 100;
142  std::vector<BV_SPLIT_TRADE_INFO> splitTradeList;
143 
144  /// Split event
146 
147  /// Description of the allocation
148  std::string allocationDescription; // maxSize = 50
149 
150  /// Time when the pre-allocation was made
151  UInt64 preAllocationTime; // UTIME presentation
152 
153  /// Id of the trader owner of the Stage Order. This field is zero if the Allocation Report is addressed to a Sell Side Member (classes BV_SELL_SIDE_ALLOCATION_REPORT, BV_HIST_SELL_SIDE_ALLOCATION_REPORT)
155 
156  /// Name of the trader owner of the Stage Order. This field is empty if the Allocation Report is addressed to a Sell Side Member (classes BV_SELL_SIDE_ALLOCATION_REPORT, BV_HIST_SELL_SIDE_ALLOCATION_REPORT)
157  std::string orderTraderName; // maxSize = 12
158 
159 
160  ///
161  size_t deserialize(const void* buf, size_t inLen);
162 
163  /// Provides string presentation
164  std::string toString () const;
165 
166  ///
167  size_t serializationBufSize() const { return 25664; }
168 
169  ///
170  size_t serialize(void* buf) const;
171 
172 };
173 
174 
175 
176 
177 }
178 }
179 }
180 }
std::string clientOrderId
Identifier of the order within the client institution.
UInt32 orderTraderId
Id of the trader owner of the Stage Order. This field is zero if the Allocation Report is addressed t...
BV_ALLOCATION_REPORT_MEMBER_INFO buySideMember
Information about the Buy Side member.
std::string orderTraderName
Name of the trader owner of the Stage Order. This field is empty if the Allocation Report is addresse...
BV_ALLOCATION_REPORT_INSTRUMENT_INFO instrument
Information about the instrument.
BV_ALLOCATION_REPORT_MEMBER_INFO sellSideMember
Information about the Sell Side member.
Double nominalValue
Total quantity traded specified as Nominal Value.
std::string clientAllocationId
Identifier of the allocation within the client institution.
Double accruedInterest
Countervalue of the interests rate paid by the buyer to the seller, expressed in the trade currency...
UInt32 allocationId
Unique identifier o f the pre-allocation or of the allocation during the trade splitting phase...
UInt32 transactionId
Unique identifier of the RFCQ Request or Inventory Order.
Double averagePrice
Weighted Average Price, calculated after fill or partial fill.
TI_MSG_INFO reportMsgInfo
Report number, date and hour, assigned by the central system.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45