OnixS C++ MTS Bond Vision SDP Handler 1.5.1
API documentation
Loading...
Searching...
No Matches
SMP.Classes.BV_ORDER_STAGING.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--------------
24GENERATED FILE
25--------------
26*/
27
28
29#include <string>
37
38
39#if defined (_MSC_VER)
40#pragma warning (push)
41#pragma warning (disable: 4251)
42#endif
43
44namespace OnixS {
45namespace Mts {
46namespace BondVision {
47namespace SDP {
48
49
50
52class ONIXS_MTS_BONDVISION_SDP_API BV_ORDER_STAGING : public Class
53{
54public:
56 dealerList(50)
57
58 {
59 clientOrderId.reserve(50);
60 clientPreAllocationId.reserve(100);
62 linkId.reserve(50);
63 currency.reserve(3);
64 externalTraderId.reserve(50);
65 userInfo1.reserve(200);
66 userInfo2.reserve(200);
67 micCode.reserve(12);
68 autoDeleteReasonCode.reserve(250);
69 }
70
71 virtual ~BV_ORDER_STAGING() {}
72
74 virtual ClassId::Enum id() const
75 {
77 }
78
81
83 std::string clientOrderId; // maxSize = 50
84
87
89 std::string clientPreAllocationId; // maxSize = 100
90
93
95 std::string clientPreAllocationTraderName; // maxSize = 12
96
99
102
105
107 std::string linkId; // maxSize = 50
108
111
114
117
119 Double qty; // DOUBLE presentation
120
122 Double nominalQty; // DOUBLE presentation
123
125 Double remainingQty; // DOUBLE presentation
126
128 Double remainingNominalQty; // DOUBLE presentation
129
131 Double cumQty; // DOUBLE presentation
132
134 Double cumNominalQty; // DOUBLE presentation
135
137 Double averagePrice; // DOUBLE presentation
138
140 std::string currency; // maxSize = 3
141
144
146 Double clientLimitQuotation; // DOUBLE presentation
147
150
152 Double limitQuotation; // DOUBLE presentation
153
155 UInt64 executionTime; // UTIME presentation
156
159
162
165
168
171
174
177
180
183
186
189
192
195
198
200 std::string externalTraderId; // maxSize = 50
201
204
207
209 static const size_t dealerListSize = 50;
210 std::vector<BV_ORDER_STAGING_DEALER_INFO> dealerList;
211
213 std::string userInfo1; // maxSize = 200
214
216 std::string userInfo2; // maxSize = 200
217
219 UInt64 editTime; // UTIME presentation
220
223
225 std::string micCode; // maxSize = 12
226
228 std::string autoDeleteReasonCode; // maxSize = 250
229
230
232 size_t deserialize(const void* buf, size_t inLen);
233
235 virtual std::string toString () const;
236
238 virtual size_t serializationBufSize() const { return 1660; }
239
241 virtual BV_ORDER_STAGING* clone() const;
242
243 virtual BV_ORDER_STAGING* clone(void*) const;
244
245private:
246 virtual size_t serialize(void* buf) const;
247
248};
249
250
251}
252}
253}
254}
255
256#if defined (_MSC_VER)
257#pragma warning (pop)
258#endif
Double remainingQty
Quantity left after fill or partial fill.
BV_ORDER_STAGING_EXEC_TYPE::Enum executionType
If specified defines how this order should be executed in the market.
Double remainingNominalQty
Quantity left after fill or partial fill, specified as Nominal Value.
Double nominalQty
Quantity specified as Nominal Value.
TI_TRADING_TYPE::Enum clientLimitQuotationType
Limit Quotation Type specified by the client.
Double clientLimitQuotation
Limit Price/Yield specified by the client.
UInt32 clientPreAllocationTraderId
Unique ID of the trader who performed the Pre-Allocation.
BV_MEMBER_INFO memberInfo
ID of the member sending trhe order staging request.
TI_FLAG::Enum warningOnLimitPrice
If true, the GUI will signal the user when the limit price is reached.
std::string clientOrderId
Unique ID of the order within the client institution.
UInt32 workingTraderId
Unique ID of the working trader, belonging to the same member.
BV_WAIVER_INDICATOR::Enum waiverIndicator
Waiver Indicator.
UInt32 allocationId
Unique ID of the pre-allocation or of the allocation during the trade splitting phase.
virtual BV_ORDER_STAGING * clone(void *) const
virtual BV_ORDER_STAGING * clone() const
TI_FLAG::Enum settlDateModifyFlag
Flag indicating whether the date can be modified or not.
TI_FLAG::Enum workInProgressFg
Specifies whether there is work in progress on this order.
Double averagePrice
Weighted Average Price, calculated after fill or partial fill.
Double limitQuotation
Limit Price/Yield specified by the central system.
std::string clientPreAllocationTraderName
Name of the trader who performed the Pre-Allocation.
TI_TRADING_TYPE::Enum limitQuotationType
Limit Quotation Type specified by the central system.
static const size_t dealerListSize
List of dealers that must be included or excluded when executing the Stage Order.
TI_FLAG::Enum noPartialFill
Flag stating whether the order must be completely filled. This flag can be set to No (the order can b...
Double cumQty
Total executed quantity after fill or partial fill.
BV_ORDER_STAGING_STATUS::Enum status
Order Status.
BV_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
BV_HANDLING_INSTRUCTION::Enum handlingInstruction
Order execution modality optionally defined by the Trader. None by default.
std::string clientPreAllocationId
Pre-allocation Id for client use.
Double cumNominalQty
Total executed quantity after fill or partial fill, specified as Nominal Value.
BV_ORDER_STAGING_EVENT::Enum event
Action applied to the order.
std::string linkId
User Defined ID of the RFCQ within the client institution.
UInt16 settlementOffset
Settlement offset espressed as number of days starting from the trading date.
UInt16 dealerListNum
Number of dealers in the dealer list.
TI_FLAG::Enum linkedByOriginatorFg
Specifies whether the order has been linked by the originator.
std::string externalTraderId
External Trader ID of the Stage Order Owner.
TI_VERB::Enum verb
Specifies whether it is a buy or sell order. (Referred to the member who receives the information)
std::string userInfo2
Client free text, or short selling indicator code, or a combination of the two.
size_t deserialize(const void *buf, size_t inLen)
UInt32 execTraderId
Unique ID of the trader, belonging to the same member, that must execute the order.
TI_PROTOCOL_SOURCE::Enum orderSource
Specifies the protocol used to send the order.
BV_ORDER_STAGING_TYPE::Enum orderType
Type of order.
TI_FLAG::Enum partiallyExecutedFg
Flag stating whether the order has been partially filled.
std::vector< BV_ORDER_STAGING_DEALER_INFO > dealerList
virtual std::string toString() const
Provides string presentation.
UInt64 executionTime
Order execution time optionally defined by the Trader.
BV_ORDER_STAGING_DEALER_LIST_TYPE::Enum dealerListType
Specifies if the dealer list type.
unsigned long long UInt64
Definition Defines.h:47
unsigned short UInt16
Definition Defines.h:45