OnixS C++ MTS Bond Vision SDP Handler 1.4.0
API documentation
Loading...
Searching...
No Matches
SMP.Classes.BV_TRADE_SPLIT.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
39namespace OnixS {
40namespace Mts {
41namespace BondVision {
42namespace SDP {
43
44
45
47class ONIXS_MTS_BONDVISION_SDP_API BV_TRADE_SPLIT : public Class
48{
49public:
51 accountInfo(100)
52
53 {
54 clientAllocationId.reserve(100);
55 allocationDescription.reserve(50);
56 clientOrderId.reserve(50);
57 }
58
59 virtual ~BV_TRADE_SPLIT() {}
60
62 virtual ClassId::Enum id() const
63 {
65 }
66
69
72
75
77 std::string clientAllocationId; // maxSize = 100
78
80 std::string allocationDescription; // maxSize = 50
81
84
87
90
93
95 std::string clientOrderId; // maxSize = 50
96
99
101 UInt64 preAllocationTime; // UTIME presentation
102
105
108
110 static const size_t accountInfoSize = 100;
111 std::vector<BV_SPLIT_ACCOUNT_INFO> accountInfo;
112
115
118
121
124
127
130
132 UInt64 creationTime; // UTIME presentation
133
136
138 UInt64 updateTime; // UTIME presentation
139
142
143
145 size_t deserialize(const void* buf, size_t inLen);
146
148 virtual std::string toString () const;
149
151 virtual size_t serializationBufSize() const { return 2536; }
152
154 virtual BV_TRADE_SPLIT* clone() const;
155
156 virtual BV_TRADE_SPLIT* clone(void*) const;
157
158private:
159 virtual size_t serialize(void* buf) const;
160
161};
162
163
164}
165}
166}
167}
BV_TRADE_SPLIT_STATUS::Enum status
Status of the allocation.
BV_PREALLOCATION_TYPE::Enum preAllocationType
Specifies whether the pre-allocation is public or private.
virtual ClassId::Enum id() const
Class id.
UInt32 sellSideMemberId
Unique ID of the sell side Member (counterpart of trade)
UInt32 tradeId
Unique ID of the trade to be split.
std::string clientOrderId
Unique ID of the executed order within the client institution.
UInt16 splitAttemptNo
Identifies the split attempt. (Reserved for future use)
UInt16 numAccountInfo
Number of account information.
UInt32 workingTraderId
Unique ID of the trader who is locking the allocation.
UInt64 preAllocationTime
Time at which the pre-allocation was made.
std::string allocationDescription
Description of the allocation.
UInt32 allocationId
Unique ID of the pre-allocation or of the allocation during the trade splitting phase.
virtual BV_TRADE_SPLIT * clone(void *) const
BV_TRADE_SPLIT_EVENT::Enum event
Action applied to the allocation.
static const size_t accountInfoSize
Account information.
UInt16 numOfBlocks
Total number of block to be sent for the allocation (Reserved for future use)
BV_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
std::string clientAllocationId
Allocation Id for client use.
BV_BLOCK_SPLIT_STATUS::Enum blockValidity
Status of the block validation (Reserved for future use)
virtual BV_TRADE_SPLIT * clone() const
size_t deserialize(const void *buf, size_t inLen)
virtual std::string toString() const
Provides string presentation.
std::vector< BV_SPLIT_ACCOUNT_INFO > accountInfo
BV_MEMBER_INFO member
Buy Side Member requesting the split.
unsigned long long UInt64
Definition Defines.h:47
unsigned short UInt16
Definition Defines.h:45