OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.REPO_OTC_REGISTRATION.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 Repo {
43 namespace SDP {
44 
45 
46 
47 ///
49 {
50 public:
52  {
53  comment.reserve(100);
54  }
55 
57 
58  /// Class id
59  virtual ClassId::Enum id() const
60  {
62  }
63 
64  /// Data identifying the OTC registration
66 
67  /// Indicates whether it is an incoming (IN) OTC registration or an outgoing (OUT) OTC registration
69 
70  /// ID of the member the OTC registration originates from
72 
73  /// ID of the member receiving the OTC registration
75 
76  /// ID of the member submitting the OTC registration
78 
79  /// Specifies whether it is a buy or sell OTC registration and is set from the receiving member's viewpoint. This means that the Verb field has different values for the Originator and the Counterpart, and reflects the type of operation (buy or sell) performed by the receiving member. For Broker and Broker Plus the verb is set from the originator member's viewpoint.
81 
82  /// Free text field
83  std::string comment; // maxSize = 100
84 
85  /// Action applied to the OTC Registration
87 
88  /// Status of the registration
90 
91  /// Status of the registration from the originator's point of view
93 
94  /// Status of the registration from the counterpart's point of view
96 
97  /// Indicates whether the originator wants to force the trade to be settled bilaterally or not. The counterpart receiving the registration cannot modify this flag
99 
100  /// Tradable instrument data
102 
103  /// Spot Price
104  Double price; // DOUBLE presentation
105 
106  /// Yield Reserved for future use
107  Double yield; // DOUBLE presentation
108 
109  /// Rate
110  Double rate; // DOUBLE presentation
111 
112  /// Quantity
113  Double qty; // DOUBLE presentation
114 
115  /// Time at which the data were last updated
116  UInt64 updateTime; // UTIME presentation
117 
118  /// ID of the Brokerage Organization
120 
121  /// Haircut value
122  Double haircut; // DOUBLE presentation
123 
124 
125  ///
126  size_t deserialize(const void* buf, size_t inLen);
127 
128  /// Provides string presentation
129  virtual std::string toString () const;
130 
131  ///
132  virtual size_t serializationBufSize() const { return 864; }
133 
134  ///
135  virtual REPO_OTC_REGISTRATION* clone() const;
136 
137  virtual REPO_OTC_REGISTRATION* clone(void*) const;
138 
139 private:
140  virtual size_t serialize(void* buf) const;
141 
142 };
143 
144 
145 }
146 }
147 }
148 }
REPO_OTC_REGISTRATION_SUBSTATUS::Enum counterpartSubStatus
Status of the registration from the counterpart&#39;s point of view.
TI_MSG_INFO msgInfo
Data identifying the OTC registration.
unsigned long long UInt64
Definition: Defines.h:47
REPO_OTC_MEMBER_INFO counterpart
ID of the member receiving the OTC registration.
UInt64 updateTime
Time at which the data were last updated.
unsigned int UInt32
Definition: Defines.h:46
REPO_OTC_REGISTRATION_EVENT::Enum event
Action applied to the OTC Registration.
TI_FLAG::Enum bilateralOnlyFlag
Indicates whether the originator wants to force the trade to be settled bilaterally or not...
TI_IN_OUT_FLAG::Enum inOutFlag
Indicates whether it is an incoming (IN) OTC registration or an outgoing (OUT) OTC registration...
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
REPO_OTC_REGISTRATION_STATUS::Enum status
Status of the registration.
TI_VERB::Enum verb
Specifies whether it is a buy or sell OTC registration and is set from the receiving member&#39;s viewpoi...
REPO_OTC_MEMBER_INFO originator
ID of the member the OTC registration originates from.
REPO_OTC_REGISTRATION_SUBSTATUS::Enum originatorSubStatus
Status of the registration from the originator&#39;s point of view.
TI_INSTRUMENT_INFO instrument
Tradable instrument data.
REPO_OTC_MEMBER_INFO submitter
ID of the member submitting the OTC registration.