OnixS C++ MTS Bond Vision SDP Handler  1.1.0
API documentation
SMP.Classes.BV_RFCQ_ORDER.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>
39 
40 
41 namespace OnixS {
42 namespace Mts {
43 namespace BondVision {
44 namespace SDP {
45 
46 
47 
48 ///
49 class ONIXS_MTS_BONDVISION_SDP_API BV_RFCQ_ORDER : public Class
50 {
51 public:
53  orderLeg(3)
54  , inventoryDepth(30)
55  , rFCQDepth(20)
56 
57  {
58  dealerReferenceId.reserve(32);
59  clientExecID.reserve(50);
60  execTraderName.reserve(12);
61  }
62 
63  virtual ~BV_RFCQ_ORDER() {}
64 
65  /// Class id
66  virtual ClassId::Enum id() const
67  {
69  }
70 
71  /// Message Info (Unique ID) of the RFCQ order
73 
74  /// ID of the RFCQ request
76 
77  /// ID of the RFCQ quote to hit/lift
79 
80  /// Unique ID of the trading list of bonds
82 
83  /// Unique ID of the trading leg
85 
86  /// Indicates whether it is an incoming order (IN) or an outgoing order (OUT)
88 
89  /// Member's ID of the Aggressor
91 
92  /// Member's ID of the Provider
94 
95  /// Provider reference ID of the quote
96  std::string dealerReferenceId; // maxSize = 32
97 
98  /// Provider reference ID of the order execution
99  std::string clientExecID; // maxSize = 50
100 
101  /// Unique ID of the execution trader
103 
104  /// Name of the execution trader
105  std::string execTraderName; // maxSize = 12
106 
107  /// Order leg data
108  static const size_t orderLegSize = 3;
109  std::vector<BV_RFCQ_ORDER_LEG> orderLeg;
110 
111  /// Type of Order
113 
114  /// Action applied to the RFCQ order
116 
117  /// Processing status of the order
119 
120  /// Matching type
122 
123  /// Timeout for manual acceptance
124  UInt64 acceptanceTimeout; // UTIME presentation
125 
126  /// Timestamp of the RFCQ depth
127  UInt64 depthUpdateTime; // UTIME presentation
128 
129  /// If True, the order has been generated by the central system.
131 
132  /// If set, starts the Pre-Trade Transparency Time
134 
135  /// If set, the RFCQ quote can be matched
137 
138  /// Unique ID of the dealer owner of the matching quote.
140 
141  /// Inventory Market depth on the Ask or Bid side (the side is opposite to the RFCQ Request side).
142  static const size_t inventoryDepthSize = 30;
143  std::vector<BV_RFCQ_ORDER_DEPTH_INFO> inventoryDepth;
144 
145  /// RFCQ Quote Book
146  static const size_t rFCQDepthSize = 20;
147  std::vector<BV_RFCQ_ORDER_DEPTH_INFO> rFCQDepth;
148 
149  /// Last update time
150  UInt64 updateTime; // UTIME presentation
151 
152 
153  ///
154  size_t deserialize(const void* buf, size_t inLen);
155 
156  /// Provides string presentation
157  virtual std::string toString () const;
158 
159  ///
160  virtual size_t serializationBufSize() const { return 6312; }
161 
162  ///
163  virtual BV_RFCQ_ORDER* clone() const;
164 
165  virtual BV_RFCQ_ORDER* clone(void*) const;
166 
167 private:
168  virtual size_t serialize(void* buf) const;
169 
170 };
171 
172 
173 }
174 }
175 }
176 }
std::vector< BV_RFCQ_ORDER_DEPTH_INFO > inventoryDepth
UInt32 execTraderId
Unique ID of the execution trader.
std::string execTraderName
Name of the execution trader.
TI_FLAG::Enum preTradeFg
If set, starts the Pre-Trade Transparency Time.
UInt32 closeWithDealerId
Unique ID of the dealer owner of the matching quote.
virtual ClassId::Enum id() const
Class id.
TI_RFCQ_ORDER_TYPE::Enum type
Type of Order.
TI_FLAG::Enum preTradeAutomaticAcceptanceFg
If set, the RFCQ quote can be matched.
std::string dealerReferenceId
Provider reference ID of the quote.
TI_FLAG::Enum automatchingFg
If True, the order has been generated by the central system.
UInt32 tradingListId
Unique ID of the trading list of bonds.
UInt32 rfcqQuoteId
ID of the RFCQ quote to hit/lift.
UInt64 acceptanceTimeout
Timeout for manual acceptance.
BV_MEMBER_INFO provider
Member&#39;s ID of the Provider.
BV_ORDER_EVENT::Enum event
Action applied to the RFCQ order.
TI_IN_OUT_FLAG::Enum inOutFlag
Indicates whether it is an incoming order (IN) or an outgoing order (OUT)
TI_RFCQ_MATCHING_TYPE::Enum matchingType
Matching type.
std::vector< BV_RFCQ_ORDER_DEPTH_INFO > rFCQDepth
TI_MSG_INFO msgInfo
Message Info (Unique ID) of the RFCQ order.
std::string clientExecID
Provider reference ID of the order execution.
UInt64 depthUpdateTime
Timestamp of the RFCQ depth.
BV_MEMBER_INFO aggressor
Member&#39;s ID of the Aggressor.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45
TI_RFCQ_ORDER_STATUS::Enum status
Processing status of the order.
UInt16 legId
Unique ID of the trading leg.