OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Substructures.BV_HIST_DEAL_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_HIST_DEAL_INFO
49 {
50 public:
52  {
53  sectionCode.reserve(4);
54  mktAffiliationShortDesc.reserve(12);
55  mktAffiliationDesc.reserve(36);
56  areaCodeShortDesc.reserve(12);
57  areaCodeDesc.reserve(36);
58  micCode.reserve(12);
59  }
60 
62 
63  /// Data identifying the deal
65 
66  /// Section Code
67  std::string sectionCode; // maxSize = 4
68 
69  /// Member's ID of the Provider
71 
72  /// Member's ID of the Aggressor
74 
75  /// Data regarding the tradable instrument
77 
78  /// Type of match (automatic or manual)
80 
81  /// Status of the deal
83 
84  /// Not used
86 
87  /// Specifies whether it is a buy or sell deal (Referred to the member who receives the information)
89 
90  /// Price, Yield, Discount Rate and Quantity of deal
92 
93  /// Number of trades generated by the deal
95 
96  /// Update time when the contract is cancelled or restored.
97  UInt64 updateTime; // UTIME presentation
98 
99  /// Short description of the Market Affiliation
100  std::string mktAffiliationShortDesc; // maxSize = 12
101 
102  /// Long description of the Market Affiliation
103  std::string mktAffiliationDesc; // maxSize = 36
104 
105  /// Specifies whether the last deal refers to normal trading activity or to a RFQ, RFCQ, etc.
107 
108  /// Short description of the Provider and Aggressor area code
109  std::string areaCodeShortDesc; // maxSize = 12
110 
111  /// Long description of the Provider and Aggressor area code
112  std::string areaCodeDesc; // maxSize = 36
113 
114  /// MIC Code
115  std::string micCode; // maxSize = 12
116 
117  /// Unique ID of the RFCQ or Inventory Order
119 
120  /// Unique ID of the trading leg
122 
123  /// RFCQ type
125 
126  /// Pre and Post-Trade Transparency Info
128 
129 
130  ///
131  size_t deserialize(const void* buf, size_t inLen);
132 
133  /// Provides string presentation
134  std::string toString () const;
135 
136  ///
137  size_t serializationBufSize() const { return 1404; }
138 
139  ///
140  size_t serialize(void* buf) const;
141 
142 };
143 
144 
145 
146 
147 }
148 }
149 }
150 }
std::string mktAffiliationDesc
Long description of the Market Affiliation.
UInt16 numberOfTrades
Number of trades generated by the deal.
BV_HIST_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
BV_HIST_DEAL_MEMBER_INFO provider
Member&#39;s ID of the Provider.
BV_HIST_DEAL_MEMBER_INFO aggressor
Member&#39;s ID of the Aggressor.
UInt32 transactionId
Unique ID of the RFCQ or Inventory Order.
BV_DEAL_TRADING_INFO dealInfo
Price, Yield, Discount Rate and Quantity of deal.
UInt64 updateTime
Update time when the contract is cancelled or restored.
std::string areaCodeShortDesc
Short description of the Provider and Aggressor area code.
TI_TRADE_TYPE::Enum tradeType
Specifies whether the last deal refers to normal trading activity or to a RFQ, RFCQ, etc.
BV_TRANSPARENCY_INFO transparencyInfo
Pre and Post-Trade Transparency Info.
BV_MATCH_MODE::Enum matchMode
Type of match (automatic or manual)
TI_VERB::Enum verb
Specifies whether it is a buy or sell deal (Referred to the member who receives the information) ...
unsigned long long UInt64
Definition: Defines.h:47
std::string mktAffiliationShortDesc
Short description of the Market Affiliation.
unsigned short UInt16
Definition: Defines.h:45
std::string areaCodeDesc
Long description of the Provider and Aggressor area code.