OnixS C++ MTS Cash SDP Handler  1.6.5
API documentation
SMP.Substructures.CMF_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>
37 
38 
39 namespace OnixS {
40 namespace Mts {
41 namespace Cash {
42 namespace SDP {
43 
44 
45 
46 ///
47 class ONIXS_MTS_CASH_SDP_API CMF_TRADE_INFO
48 {
49 public:
51  {
52  financialInstrumentCode.reserve(12);
53  currency.reserve(3);
54  micCode.reserve(12);
55  }
56 
58 
59 
60  /// Data identifying the trade
62 
63  /// Third Party contract type
65 
66  /// ID of the related deal
68 
69  /// Member's ID of the Provider (the member can be the Agent's Client or a Third Party Client or a Third Party Sponsor)
71 
72  /// Member's ID of the Aggressor (the member can be the Agent's client or a Third Party Client or a Third Party Sponsor)
74 
75  /// Data regarding the tradable instrument
77 
78  /// Unique ID of the financial instrument
80 
81  /// Code of the financial instrument
82  std::string financialInstrumentCode; // maxSize = 12
83 
84  /// Specifies whether it is a buy or sell trade (referred to the member who receives the information)
86 
87  /// Price, PriceMarkup, Yield, YieldMarkUp, and Quantity of trade
89 
90  /// Status of the trade
92 
93  /// Type of match (automatic or manual)
95 
96  /// Date of settlement of bond
98 
99  /// ID of the type of settlement
101 
102  /// Status of the trade settlement
104 
105  /// Id of the Account
107 
108  /// Nominal Value
110 
111  /// Settlement countervalue, i.e., the amount that must be transferred from the member buying to the member selling
113 
114  /// Countervalue of the accrued interest that the buyer of the bond with coupon pays to the seller
116 
117  /// Code indicating the currency of the trade
118  std::string currency; // maxSize = 3
119 
120  /// Flag indicating that the bond belong to the Grey Market
122 
123  /// Time at which the data was last updated
125 
126  /// Exchange rate between Trading and Settlement Currencies (i.e. Settlement Currency/Trading Currency)
128 
129  /// In case of trade splitting, it's the ID of the parent trade.
131 
132  /// Indicates whether the trade is splittable or not
134 
135  /// Settlement offset expressed as number of days starting from the trading date
137 
138  /// ID of the trade assigned by the post trading
140 
141  /// Specifies whether the trade results from normal trading activity or from a RFQ....
143 
144  /// Specifies whether the trade has been closed at the Mid Price Fixing
146 
147  /// MIC Code
148  std::string micCode; // maxSize = 12
149 
150  /// Waiver Indicator
152 
153  /// Deferral type
155 
156  ///
157  size_t deserialize(const void* buf, size_t inLen);
158 
159  /// Provides string presentation
160  std::string toString () const;
161 
162  ///
163  size_t serializationBufSize() const { return 1316; }
164 
165  ///
166  size_t serialize(void* buf) const;
167 
168 };
169 
170 
171 
172 
173 }
174 }
175 }
176 }
CMF_SETTL_STATUS::Enum settlStatus
Status of the trade settlement.
UInt64 updateTime
Time at which the data was last updated.
unsigned short UInt16
Definition: Defines.h:45
UInt32 parentTradeId
In case of trade splitting, it&#39;s the ID of the parent trade.
TI_VERB::Enum verb
Specifies whether it is a buy or sell trade (referred to the member who receives the information) ...
CMF_TRADE_TRADING_INFO tradeInfo
Price, PriceMarkup, Yield, YieldMarkUp, and Quantity of trade.
TI_FLAG::Enum midPriceFixingFg
Specifies whether the trade has been closed at the Mid Price Fixing.
TI_TRADE_TYPE::Enum tradeType
Specifies whether the trade results from normal trading activity or from a RFQ....
CMF_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
CMF_WAIVER_INDICATOR::Enum waiverIndicator
Waiver Indicator.
TI_FILL_STATUS::Enum status
Status of the trade.
TI_SETTL_TYPE::Enum settlType
ID of the type of settlement.
UInt32 settlFillId
ID of the trade assigned by the post trading.
TI_FLAG::Enum greyMarketFlag
Flag indicating that the bond belong to the Grey Market.
unsigned long long UInt64
Definition: Defines.h:47
CMF_MATCH_MODE::Enum fillMode
Type of match (automatic or manual)
std::string financialInstrumentCode
Code of the financial instrument.
CMF_TRADE_MEMBER_INFO provider
Member&#39;s ID of the Provider (the member can be the Agent&#39;s Client or a Third Party Client or a Third ...
CMF_TRADE_MEMBER_INFO aggressor
Member&#39;s ID of the Aggressor (the member can be the Agent&#39;s client or a Third Party Client or a Third...
CMF_THIRD_PARTY_INFO::Enum thirdPartyInfo
Third Party contract type.
UInt32 financialInstrumentId
Unique ID of the financial instrument.
UInt16 settlementOffset
Settlement offset expressed as number of days starting from the trading date.
unsigned int UInt32
Definition: Defines.h:46
Double settlCounterValue
Settlement countervalue, i.e., the amount that must be transferred from the member buying to the memb...
Double accruedInterest
Countervalue of the accrued interest that the buyer of the bond with coupon pays to the seller...
TI_MSG_INFO tradeMsgInfo
Data identifying the trade.
Double settlementFXRate
Exchange rate between Trading and Settlement Currencies (i.e. Settlement Currency/Trading Currency) ...
TI_FLAG::Enum splittableFg
Indicates whether the trade is splittable or not.
std::string currency
Code indicating the currency of the trade.