OnixS C++ MTS Bond Vision SDP Handler 1.3.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>
36
37
38namespace OnixS {
39namespace Mts {
40namespace BondVision {
41namespace SDP {
42
43
44
46class ONIXS_MTS_BONDVISION_SDP_API BV_TRADE_SPLIT : public Class
47{
48public:
50 accountInfo(100)
51
52 {
53 clientAllocationId.reserve(100);
54 allocationDescription.reserve(50);
55 clientOrderId.reserve(50);
56 }
57
58 virtual ~BV_TRADE_SPLIT() {}
59
61 virtual ClassId::Enum id() const
62 {
64 }
65
68
71
74
76 std::string clientAllocationId; // maxSize = 100
77
79 std::string allocationDescription; // maxSize = 50
80
83
86
89
91 std::string clientOrderId; // maxSize = 50
92
95
97 UInt64 preAllocationTime; // UTIME presentation
98
101
104
106 static const size_t accountInfoSize = 100;
107 std::vector<BV_SPLIT_ACCOUNT_INFO> accountInfo;
108
111
114
117
120
123
126
128 UInt64 creationTime; // UTIME presentation
129
132
134 UInt64 updateTime; // UTIME presentation
135
138
139
141 size_t deserialize(const void* buf, size_t inLen);
142
144 virtual std::string toString () const;
145
147 virtual size_t serializationBufSize() const { return 2528; }
148
150 virtual BV_TRADE_SPLIT* clone() const;
151
152 virtual BV_TRADE_SPLIT* clone(void*) const;
153
154private:
155 virtual size_t serialize(void* buf) const;
156
157};
158
159
160}
161}
162}
163}
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)
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.
UInt32 instrumentId
Unique ID of the tradable instrument.
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