OnixS C++ MTS Bond Vision SDP Handler  1.1.0
API documentation
SMP.Substructures.BV_HIST_RFCQ_BUY_SIDE_SUMMARY_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>
39 
40 
41 namespace OnixS {
42 namespace Mts {
43 namespace BondVision {
44 namespace SDP {
45 
46 
47 
48 ///
49 class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_RFCQ_BUY_SIDE_SUMMARY_INFO
50 {
51 public:
53  legSummary(3)
54  , providerInfo(20)
55  , inventoryDepthBid(20)
56  , inventoryDepthAsk(20)
57  , iOIDepthBid(20)
58  , iOIDepthAsk(20)
59 
60  {
61  buySideMemberCode.reserve(12);
62  buySideTraderName.reserve(12);
63  originSellSideMemberCode.reserve(12);
64  originSellSideMemberDesc.reserve(36);
65  originSellSideMemberShortDesc.reserve(12);
66  sellSideMemberCode.reserve(12);
67  sellSideMemberDesc.reserve(36);
68  sellSideMemberShortDesc.reserve(12);
69  sellSideTraderName.reserve(12);
70  clientRfcqId.reserve(50);
71  comment.reserve(100);
72  areaCodeShortDesc.reserve(12);
73  areaCodeDesc.reserve(36);
74  userInfo1.reserve(200);
75  userInfo2.reserve(200);
76  }
77 
79 
80  /// Unique ID code of the Buy Side Member (ABI or MTS coding)
81  std::string buySideMemberCode; // maxSize = 12
82 
83  /// Name of the trader of the Buy Side Member
84  std::string buySideTraderName; // maxSize = 12
85 
86  /// Message Info (Unique ID) of the Rfcq Request
88 
89  /// RFCQ Type (Outright, Switch, Butterfly, MultiLeg, ...)
91 
92  /// RFCQ Origin(From Scratch, From Single Dealer Page, From Inventory)
94 
95  /// Specifies if the RFCQ is sent to one and only provider.
97 
98  /// Specifies whether the RFCQ is subject to pre-trade transparency
100 
101  /// Unique ID of the Voice Registration
103 
104  /// ABI or MTS code of the Sell side member in case of RfcqOrigin equal to 'FromSingleDealerPage' or 'FromInventory'
105  std::string originSellSideMemberCode; // maxSize = 12
106 
107  /// Description of the Sell side member in case of RfcqOrigin equal to 'FromSingleDealerPage' or 'FromInventory'
108  std::string originSellSideMemberDesc; // maxSize = 36
109 
110  /// Short description of the Sell side member in case of RfcqOrigin equal to 'FromSingleDealerPage' or 'FromInventory'
111  std::string originSellSideMemberShortDesc; // maxSize = 12
112 
113  /// Number of seconds the RFCQ will be deferred (for Multileg RFCQ)
115 
116  /// Time at which the MultiLeg RFCQ will start
117  UInt64 dueInTimeout; // UTIME presentation
118 
119  /// Type of quantity calculation carried out by the Buy Side member
121 
122  /// Unique ID of the trading list of bonds
124 
125  /// Unique ID of the trading leg
127 
128  /// Number of quotes triggering auto-matching when best price matches IOI (for Outright RFCQ or Multileg RFCQ)
130 
131  /// If True, messages have been exchanged during the RFCQ among the Buy Side Member and one or more Sell Side Members.
133 
134  /// In case of accepted RFCQ, it is the code of the Sell Side Member with whom the deal has been made
135  std::string sellSideMemberCode; // maxSize = 12
136 
137  /// Long description of the Sell Side Member with whom the deal has been made
138  std::string sellSideMemberDesc; // maxSize = 36
139 
140  /// Short description of the Sell Side Member with whom the deal has been made
141  std::string sellSideMemberShortDesc; // maxSize = 12
142 
143  /// Unique name of the trader of the Sell Side Member with whom the deal has been made
144  std::string sellSideTraderName; // maxSize = 12
145 
146  /// Specifies the final status of the RFCQ
148 
149  /// Closing time of the RFCQ
150  UInt64 closingTime; // UTIME presentation
151 
152  /// Number of Sell Side Members to whom the RFCQ was addressed
154 
155  /// Number of Sell Side Members that took part in the RFCQ
157 
158  /// Client specific information
159  std::string clientRfcqId; // maxSize = 50
160 
161  /// Delay between the RFCQ creation time and the time at which the first quote was received
163 
164  /// In case of accepted RFCQ, it's the timestamp of the RFCQ book that contained the quote hit or lifted.
165  UInt64 bookTimestamp; // UTIME presentation
166 
167  /// Price cover value (only for Outright, Multileg and Double-sided RFCQs)
168  Double priceCoverValue; // DOUBLE presentation
169 
170  /// Proceeds cover value (only for Switch RFCQs) or Proceeds weighted yield cover value (only for Butterfly RFCQs)
171  Double proceedsCoverValue; // DOUBLE presentation
172 
173  /// Gross yield cover value (only for Switchg and Butterfly RFCQs)
174  Double grossYieldCoverValue; // DOUBLE presentation
175 
176  /// Duration weighted yield cover value (only for Butterfly RFCQs)
177  Double durWeightedYieldCoverValue; // DOUBLE presentation
178 
179  /// Only valid for Switch and Butterfly RFCQ
180  Double grossYieldSpread; // DOUBLE presentation
181 
182  /// Only valid for Switch (Proceeds Spread) and Butterfly RFCQ (Proceeds Weighted Spread)
183  Double proceedsSpread; // DOUBLE presentation
184 
185  /// Only valid for Butterfly RFCQ
186  Double riskWeightedYieldSpread; // DOUBLE presentation
187 
188  /// Trading List - Number of legs
190 
191  /// Leg summay information
192  static const size_t legSummarySize = 3;
193  std::vector<BV_RFCQ_BUY_SIDE_LEG_SUMMARY> legSummary;
194 
195  /// Provider information
196  static const size_t providerInfoSize = 20;
197  std::vector<BV_RFCQ_PROVIDER_INFO> providerInfo;
198 
199  /// Inventory Depth - bid side
200  static const size_t inventoryDepthBidSize = 20;
201  std::vector<BV_INVENTORY_TRADING_INFO> inventoryDepthBid;
202 
203  /// Inventory Depth - ask side
204  static const size_t inventoryDepthAskSize = 20;
205  std::vector<BV_INVENTORY_TRADING_INFO> inventoryDepthAsk;
206 
207  /// IOI trading info - bid side
208  static const size_t iOIDepthBidSize = 20;
209  std::vector<BV_IOI_TRADING_INFO> iOIDepthBid;
210 
211  /// IOI trading info - ask side
212  static const size_t iOIDepthAskSize = 20;
213  std::vector<BV_IOI_TRADING_INFO> iOIDepthAsk;
214 
215  /// Free text
216  std::string comment; // maxSize = 100
217 
218  /// Short description of the buy side area code
219  std::string areaCodeShortDesc; // maxSize = 12
220 
221  /// Long description of the buy side area code
222  std::string areaCodeDesc; // maxSize = 36
223 
224  /// Client free text
225  std::string userInfo1; // maxSize = 200
226 
227  /// Client free text
228  std::string userInfo2; // maxSize = 200
229 
230  /// Specifies if the RFCQ is automatically generated
232 
233 
234  ///
235  size_t deserialize(const void* buf, size_t inLen);
236 
237  /// Provides string presentation
238  std::string toString () const;
239 
240  ///
241  size_t serializationBufSize() const { return 53364; }
242 
243  ///
244  size_t serialize(void* buf) const;
245 
246 };
247 
248 
249 
250 
251 }
252 }
253 }
254 }
TI_FLAG::Enum preAgreedFg
Specifies if the RFCQ is sent to one and only provider.
Double proceedsSpread
Only valid for Switch (Proceeds Spread) and Butterfly RFCQ (Proceeds Weighted Spread) ...
std::string sellSideMemberShortDesc
Short description of the Sell Side Member with whom the deal has been made.
std::string originSellSideMemberDesc
Description of the Sell side member in case of RfcqOrigin equal to &#39;FromSingleDealerPage&#39; or &#39;FromInv...
Double grossYieldCoverValue
Gross yield cover value (only for Switchg and Butterfly RFCQs)
TI_RFCQ_QUANTITY_CALCULATION::Enum quantityCalculation
Type of quantity calculation carried out by the Buy Side member.
TI_RFCQ_REQUEST_STATUS::Enum finalStatus
Specifies the final status of the RFCQ.
Double durWeightedYieldCoverValue
Duration weighted yield cover value (only for Butterfly RFCQs)
UInt32 delay
Delay between the RFCQ creation time and the time at which the first quote was received.
TI_FLAG::Enum msgFg
If True, messages have been exchanged during the RFCQ among the Buy Side Member and one or more Sell ...
UInt16 dueInTime
Number of seconds the RFCQ will be deferred (for Multileg RFCQ)
Double priceCoverValue
Price cover value (only for Outright, Multileg and Double-sided RFCQs)
TI_FLAG::Enum preTradeFg
Specifies whether the RFCQ is subject to pre-trade transparency.
std::string sellSideMemberDesc
Long description of the Sell Side Member with whom the deal has been made.
TI_RFCQ_ORIGIN::Enum rfcqOrigin
RFCQ Origin(From Scratch, From Single Dealer Page, From Inventory)
UInt64 bookTimestamp
In case of accepted RFCQ, it&#39;s the timestamp of the RFCQ book that contained the quote hit or lifted...
std::string originSellSideMemberShortDesc
Short description of the Sell side member in case of RfcqOrigin equal to &#39;FromSingleDealerPage&#39; or &#39;F...
UInt16 iOIMatchingQuotes
Number of quotes triggering auto-matching when best price matches IOI (for Outright RFCQ or Multileg ...
UInt16 participatingSellSideNr
Number of Sell Side Members that took part in the RFCQ.
std::string sellSideMemberCode
In case of accepted RFCQ, it is the code of the Sell Side Member with whom the deal has been made...
std::string sellSideTraderName
Unique name of the trader of the Sell Side Member with whom the deal has been made.
Double proceedsCoverValue
Proceeds cover value (only for Switch RFCQs) or Proceeds weighted yield cover value (only for Butterf...
TI_RFCQ_TYPE::Enum rfcqType
RFCQ Type (Outright, Switch, Butterfly, MultiLeg, ...)
std::string originSellSideMemberCode
ABI or MTS code of the Sell side member in case of RfcqOrigin equal to &#39;FromSingleDealerPage&#39; or &#39;Fro...
UInt16 sellSideNr
Number of Sell Side Members to whom the RFCQ was addressed.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45
std::string buySideMemberCode
Unique ID code of the Buy Side Member (ABI or MTS coding)