OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.TI_MARKET.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>
33 
34 
35 namespace OnixS {
36 namespace Mts {
37 namespace Repo {
38 namespace SDP {
39 
40 
41 
42 ///
44 {
45 public:
47  {
48  marketCode.reserve(4);
49  marketDesc.reserve(36);
50  geographicalAreaDesc.reserve(36);
51  }
52 
53  virtual ~TI_MARKET() {}
54 
55  /// Class id
56  virtual ClassId::Enum id() const
57  {
58  return ClassId::TI_MARKET;
59  }
60 
61  /// Unique ID of the market
63 
64  /// Unique ID of the service
66 
67  /// Alphanumeric code of the market brief description
68  std::string marketCode; // maxSize = 4
69 
70  /// Market description
71  std::string marketDesc; // maxSize = 36
72 
73  /// Unique ID of the geographical area to which the market belongs
75 
76  /// Description of the geographical area to which the market belongs
77  std::string geographicalAreaDesc; // maxSize = 36
78 
79  /// Time zone, expressed as difference in hours (plus or minus) compared to Greenwich Mean Time (GMT). Deprecated field.
80  Double deltaGMT; // DOUBLE presentation
81 
82  /// Number of seconds for accepting a Switch RFCQ. This field could be updated by the Governance, during the current trading day
84 
85  /// Maximum number of market members to whom a Switch RFCQ can be addressed. This field could be updated by the Governance, during the current trading day
87 
88  /// Delay, expressed as number of seconds, for the Switch audit trail
90 
91  /// Minimum time, expressed as number of seconds, after which a Switch RFCQ quote can only be manually accepted.This field could be updated by the Governance, during the current trading day
93 
94  /// Time, expressed as number of seconds, for manual acceptance of a Switch RFCQ. This field could be updated by the Governance, during the current trading day
96 
97  /// Number of seconds for accepting a Butterfly RFCQ. This field could be updated by the Governance, during the current trading day
99 
100  /// Maximum number of market members to whom a Butterfly RFCQ can be addressed. This field could be updated by the Governance, during the current trading day
102 
103  /// Delay, expressed as number of seconds, for the Butterfly audit trail
105 
106  /// Minimum time, expressed as number of seconds, after which a Butterfly RFCQ quote can only be manually accepted. This field could be updated by the Governance, during the current trading day
108 
109  /// Time, expressed as number of seconds, for manual acceptance of a Butterfly RFCQ. This field could be updated by the Governance, during the current trading day
111 
112  /// Max number of legs allowed for Multileg RFCQ
114 
115  /// Maximum delay (in seconds) of the Due In Time parameter for a Multi-leg RFCQ
117 
118  /// Number of seconds for accepting a Multileg RFCQ. This field could be updated by the Governance, during the current trading day
120 
121  /// Maximum number of market members to whom a Multileg RFCQ can be addressed. This field could be updated by the Governance, during the current trading day
123 
124  /// Delay, expressed as number of seconds, for the Multileg audit trail
126 
127  /// Minimum time, expressed as number of seconds, after which a Multileg RFCQ quote can only be manually accepted. This field could be updated by the Governance, during the current trading day
129 
130  /// Time, expressed as number of seconds, for manual acceptance of a Multileg RFCQ. This field could be updated by the Governance, during the current trading day
132 
133  /// Number of seconds for accepting a double sided RFCQ. This field could be updated by the Governance, during the current trading day
135 
136  /// Maximum number of market members to whom a double sided RFCQ can be addressed. This field could be updated by the Governance, during the current trading day
138 
139  /// Delay, expressed as number of seconds, for the double sided audit trail
141 
142  /// Minimum time, expressed as number of seconds, after which a double sided RFCQ quote can only be manually accepted. This field could be updated by the Governance, during the current trading day
144 
145  /// Time, expressed as number of seconds, for manual acceptance of a double sided RFCQ. This field could be updated by the Governance, during the current trading day
147 
148  /// Limit (expressed in terms of duration weighted quantity) of the quantity of each single leg for a double sided RFCQ
149  Double doubleSidedRFCQLegQtyCap; // DOUBLE presentation
150 
151  /// Limit (expressed in terms of duration weighted quantity) of the total quatity for a double sided RFCQ
152  Double doubleSidedRFCQTotalQtyCap; // DOUBLE presentation
153 
154  /// Limit (expressed in terms of duration weighted quantity) of the quantity of each single leg for a Multileg RFCQ
155  Double multiLegRFCQLegQtyCap; // DOUBLE presentation
156 
157  /// Limit (expressed in terms of duration weighted quantity) of the total quatity for a Multileg RFCQ
158  Double multiLegRFCQTotalQtyCap; // DOUBLE presentation
159 
160  /// Specifies whether a double sided RFCQ will be automatically closed as soon as there's a match on one of the legs
162 
163  /// Maximum number of Inventory Groups that a Sell Side Member may define
165 
166  /// Maximum number of Buy Side Members that may belong to an Inventory Group. Buy Side Members that appear with different configurations in an Inventory Group, are counted one time
168 
169  /// Maximum number of generic configurations (i.e. Product Type = Wildcard, Currency = Wildcard) that are present in the Inventory Groups of a Sell Side Member
171 
172  /// Maximum number of speciaized / exception configurations (i.e. Product Type = Value, Currency = Value or Product Type = Value, Currency = Wildcard) that are present in the Inventory Groups of a Sell Side Member
174 
175 
176  ///
177  size_t deserialize(const void* buf, size_t inLen);
178 
179  /// Provides string presentation
180  virtual std::string toString () const;
181 
182  ///
183  virtual size_t serializationBufSize() const { return 248; }
184 
185  ///
186  virtual TI_MARKET* clone() const;
187 
188  virtual TI_MARKET* clone(void*) const;
189 
190 private:
191  virtual size_t serialize(void* buf) const;
192 
193 };
194 
195 
196 }
197 }
198 }
199 }
UInt32 switchRFCQTimer
Number of seconds for accepting a Switch RFCQ. This field could be updated by the Governance...
UInt16 maxNumInventoryGroups
Maximum number of Inventory Groups that a Sell Side Member may define.
UInt32 serviceProviderId
Unique ID of the service.
UInt16 multilegRFCQAcceptanceTimeout
Time, expressed as number of seconds, for manual acceptance of a Multileg RFCQ. This field could be u...
std::string marketCode
Alphanumeric code of the market brief description.
UInt16 multilegRFCQMinAutomaticMatchingTimeout
Minimum time, expressed as number of seconds, after which a Multileg RFCQ quote can only be manually ...
Double multiLegRFCQLegQtyCap
Limit (expressed in terms of duration weighted quantity) of the quantity of each single leg for a Mul...
UInt16 doubleSidedRFCQMinAutomaticMatchingTimeout
Minimum time, expressed as number of seconds, after which a double sided RFCQ quote can only be manua...
UInt32 marketId
Unique ID of the market.
unsigned short UInt16
Definition: Defines.h:45
std::string geographicalAreaDesc
Description of the geographical area to which the market belongs.
std::string marketDesc
Market description.
UInt16 butterflyRFCQMaxNumRecipients
Maximum number of market members to whom a Butterfly RFCQ can be addressed. This field could be updat...
UInt16 switchRFCQAcceptanceTimeout
Time, expressed as number of seconds, for manual acceptance of a Switch RFCQ. This field could be upd...
UInt16 switchRFCQMinAutomaticMatchingTimeout
Minimum time, expressed as number of seconds, after which a Switch RFCQ quote can only be manually ac...
UInt16 butterflyRFCQMinAutomaticMatchingTimeout
Minimum time, expressed as number of seconds, after which a Butterfly RFCQ quote can only be manually...
TI_FLAG::Enum doubleSidedRFCQDoubleAutoAcceptanceFg
Specifies whether a double sided RFCQ will be automatically closed as soon as there&#39;s a match on one ...
UInt16 switchRFCQAuditTrailDelay
Delay, expressed as number of seconds, for the Switch audit trail.
UInt16 geographicalAreaCode
Unique ID of the geographical area to which the market belongs.
unsigned int UInt32
Definition: Defines.h:46
UInt16 maxNumInventoryGroupExceptions
Maximum number of speciaized / exception configurations (i.e. Product Type = Value, Currency = Value or Product Type = Value, Currency = Wildcard) that are present in the Inventory Groups of a Sell Side Member.
UInt16 multiLegRFCQMaxDueInTime
Maximum delay (in seconds) of the Due In Time parameter for a Multi-leg RFCQ.
virtual ClassId::Enum id() const
Class id.
UInt16 butterflyRFCQAuditTrailDelay
Delay, expressed as number of seconds, for the Butterfly audit trail.
UInt16 doubleSidedRFCQAcceptanceTimeout
Time, expressed as number of seconds, for manual acceptance of a double sided RFCQ. This field could be updated by the Governance, during the current trading day.
Double multiLegRFCQTotalQtyCap
Limit (expressed in terms of duration weighted quantity) of the total quatity for a Multileg RFCQ...
UInt16 doubleSidedRFCQAuditTrailDelay
Delay, expressed as number of seconds, for the double sided audit trail.
UInt16 multilegRFCQMaxNumRecipients
Maximum number of market members to whom a Multileg RFCQ can be addressed. This field could be update...
UInt32 multilegRFCQTimer
Number of seconds for accepting a Multileg RFCQ. This field could be updated by the Governance...
virtual size_t serializationBufSize() const
Double doubleSidedRFCQLegQtyCap
Limit (expressed in terms of duration weighted quantity) of the quantity of each single leg for a dou...
UInt16 maxNumInventoryGroupConfigurations
Maximum number of generic configurations (i.e. Product Type = Wildcard, Currency = Wildcard) that are...
UInt16 multiLegRFCQMaxNumLegs
Max number of legs allowed for Multileg RFCQ.
UInt16 butterflyRFCQAcceptanceTimeout
Time, expressed as number of seconds, for manual acceptance of a Butterfly RFCQ. This field could be ...
Double doubleSidedRFCQTotalQtyCap
Limit (expressed in terms of duration weighted quantity) of the total quatity for a double sided RFCQ...
UInt16 maxNumMemberPerInventoryGroup
Maximum number of Buy Side Members that may belong to an Inventory Group. Buy Side Members that appea...
UInt16 switchRFCQMaxNumRecipients
Maximum number of market members to whom a Switch RFCQ can be addressed. This field could be updated ...
UInt16 multilegRFCQAuditTrailDelay
Delay, expressed as number of seconds, for the Multileg audit trail.
UInt16 doubleSidedRFCQMaxNumRecipients
Maximum number of market members to whom a double sided RFCQ can be addressed. This field could be up...
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
UInt32 butterflyRFCQTimer
Number of seconds for accepting a Butterfly RFCQ. This field could be updated by the Governance...
UInt32 doubleSidedRFCQTimer
Number of seconds for accepting a double sided RFCQ. This field could be updated by the Governance...
Double deltaGMT
Time zone, expressed as difference in hours (plus or minus) compared to Greenwich Mean Time (GMT)...