OnixS C++ MTS Bond Vision SDP Handler  1.1.0
API documentation
SMP.Classes.BV_RFCQ_SELL_SIDE_SUMMARY.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>
40 
41 
42 namespace OnixS {
43 namespace Mts {
44 namespace BondVision {
45 namespace SDP {
46 
47 
48 
49 ///
50 class ONIXS_MTS_BONDVISION_SDP_API BV_RFCQ_SELL_SIDE_SUMMARY : public Class
51 {
52 public:
54  legSummary(3)
55 
56  {
57  buySideTraderName.reserve(12);
58  comment.reserve(100);
59  }
60 
62 
63  /// Class id
64  virtual ClassId::Enum id() const
65  {
67  }
68 
69  /// Unique ID of the member to whom the RFCQ summary is addressed
71 
72  /// Unique Id of the trader of the sell side
74 
75  /// Unique ID of the RFCQ request
77 
78  /// Creation date of the RFCQ
80 
81  /// Creation time of the RFCQ
82  UInt64 creationTime; // UTIME presentation
83 
84  /// RFCQ Type (Outright, Switch, Butterfly, MultiLeg, ...)
86 
87  /// RFCQ Origin(From Scratch, From Single Dealer Page, From Inventory)
89 
90  /// Algo info
92 
93  /// Client identification info
95 
96  /// Specifies if the RFCQ is sent to one and only provider.
98 
99  /// Specifies whether the RFCQ is subject to pre-trade transparency
101 
102  /// Number of seconds the RFCQ will be deferred (for Multileg RFCQ)
104 
105  /// Time at which the MultiLeg RFCQ will start
106  UInt64 dueInTimeout; // UTIME presentation
107 
108  /// Type of quantity calculation carried out by the Buy Side member
110 
111  /// Unique ID of the trading list of bonds
113 
114  /// Unique ID of the trading leg
116 
117  /// If True, messages have been exchanged during the RFCQ between the Sell Side Member and the Buy Side Member.
119 
120  /// Unique ID of the Buy Side Member
122 
123  /// Unique name of the trader of the Buy Side Member.
124  std::string buySideTraderName; // maxSize = 12
125 
126  /// Dealer Selection Type
128 
129  /// Specifies the final status of the RFCQ
131 
132  /// Final status of the Sell Side Member
134 
135  /// Closing time of the RFCQ
136  UInt64 closingTime; // UTIME presentation
137 
138  /// Number of Sell Side Members to whom the RFCQ was addressed
140 
141  /// Number of Sell Side Members that took part in the RFCQ
143 
144  /// Difference between RFCQ creation time and the time of the first quote sent by the Sell Side Member
146 
147  /// Delay between the first quote sent to the Buy Side Member by the Sell Side Member and the first quote sent by all other competing members.
149 
150  /// Price cover information (only for Outright, Multileg and Double-sided RFCQs)
152 
153  /// Proceeds cover information (only for Switch and Butterfly RFCQs)
155 
156  /// Gross yield cover information (only for Switch and Butterfly RFCQs)
158 
159  /// Duration weighted yield cover information (only for Butterfly RFCQs)
161 
162  /// Only valid for Switch and Butterfly RFCQ
163  Double grossYieldSpread; // DOUBLE presentation
164 
165  /// Only valid for Switch (Proceeds Spread) and Butterfly RFCQ (Proceeds Weighted Spread)
166  Double proceedsSpread; // DOUBLE presentation
167 
168  /// Only valid for Butterfly RFCQ
169  Double riskWeightedYieldSpread; // DOUBLE presentation
170 
171  /// Trading List - Number of legs
173 
174  /// Number of tradable bonds in the trading list
176 
177  /// Leg summay information
178  static const size_t legSummarySize = 3;
179  std::vector<BV_RFCQ_LEG_SUMMARY> legSummary;
180 
181  /// Unique ID of the Buy Side Member Area Code
183 
184  /// Free text
185  std::string comment; // maxSize = 100
186 
187 
188  ///
189  size_t deserialize(const void* buf, size_t inLen);
190 
191  /// Provides string presentation
192  virtual std::string toString () const;
193 
194  ///
195  virtual size_t serializationBufSize() const { return 6648; }
196 
197  ///
198  virtual BV_RFCQ_SELL_SIDE_SUMMARY* clone() const;
199 
200  virtual BV_RFCQ_SELL_SIDE_SUMMARY* clone(void*) const;
201 
202 private:
203  virtual size_t serialize(void* buf) const;
204 
205 };
206 
207 
208 }
209 }
210 }
211 }
TI_FLAG::Enum preAgreedFg
Specifies if the RFCQ is sent to one and only provider.
TI_RFCQ_REQUEST_STATUS::Enum finalStatus
Specifies the final status of the RFCQ.
BV_RFCQ_COVER_INFO grossYieldCoverInfo
Gross yield cover information (only for Switch and Butterfly RFCQs)
Double proceedsSpread
Only valid for Switch (Proceeds Spread) and Butterfly RFCQ (Proceeds Weighted Spread) ...
Double grossYieldSpread
Only valid for Switch and Butterfly RFCQ.
BV_RFCQ_DEALER_SELECTION_TYPE::Enum dealerSelectionType
Dealer Selection Type.
TI_RFCQ_PROVIDER_STATUS::Enum providerStatus
Final status of the Sell Side Member.
UInt16 areaCodeId
Unique ID of the Buy Side Member Area Code.
BV_RFCQ_COVER_INFO durWeightedYieldCoverInfo
Duration weighted yield cover information (only for Butterfly RFCQs)
TI_FLAG::Enum msgFg
If True, messages have been exchanged during the RFCQ between the Sell Side Member and the Buy Side M...
BV_CLIENT_IDENTIFICATION_INFO clientIdentificationInfo
Client identification info.
UInt32 sellSideMemberId
Unique ID of the member to whom the RFCQ summary is addressed.
UInt32 delay
Difference between RFCQ creation time and the time of the first quote sent by the Sell Side Member...
TI_RFCQ_TYPE::Enum rfcqType
RFCQ Type (Outright, Switch, Butterfly, MultiLeg, ...)
UInt16 participatingSellSideNr
Number of Sell Side Members that took part in the RFCQ.
UInt64 dueInTimeout
Time at which the MultiLeg RFCQ will start.
UInt16 sellSideNr
Number of Sell Side Members to whom the RFCQ was addressed.
TI_FLAG::Enum preTradeFg
Specifies whether the RFCQ is subject to pre-trade transparency.
SInt32 responseTimeDifference
Delay between the first quote sent to the Buy Side Member by the Sell Side Member and the first quote...
TI_RFCQ_ORIGIN::Enum rfcqOrigin
RFCQ Origin(From Scratch, From Single Dealer Page, From Inventory)
UInt32 sellSideTraderId
Unique Id of the trader of the sell side.
UInt16 dueInTime
Number of seconds the RFCQ will be deferred (for Multileg RFCQ)
unsigned long long UInt64
Definition: Defines.h:47
BV_RFCQ_COVER_INFO priceCoverInfo
Price cover information (only for Outright, Multileg and Double-sided RFCQs)
unsigned short UInt16
Definition: Defines.h:45
TI_RFCQ_QUANTITY_CALCULATION::Enum quantityCalculation
Type of quantity calculation carried out by the Buy Side member.
std::string buySideTraderName
Unique name of the trader of the Buy Side Member.
BV_RFCQ_COVER_INFO proceedsCoverInfo
Proceeds cover information (only for Switch and Butterfly RFCQs)
UInt16 numOfTradableLegs
Number of tradable bonds in the trading list.