OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_INSTRUMENT.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 BondVision {
38 namespace SDP {
39 
40 
41 
42 ///
43 class ONIXS_MTS_BONDVISION_SDP_API BV_INSTRUMENT : public Class
44 {
45 public:
47  {
48  miFIRIdentifier.reserve(12);
49  }
50 
51  virtual ~BV_INSTRUMENT() {}
52 
53  /// Class id
54  virtual ClassId::Enum id() const
55  {
57  }
58 
59  /// Unique ID of the financial instrument (Bond)
61 
62  /// Unique ID of the Benchmark Index
64 
65  /// Quoted Margin in basis points
66  Double quotedMargin; // DOUBLE presentation
67 
68  /// Unique ID code of the method for calculating the discount margin of the instrument
70 
71  /// Flag identifying callable bonds
73 
74  /// Flag identifying MWC bonds
76 
77  /// Flag identifying perpetual bonds
79 
80  /// Flag to determine wheter a bond is unseasoned or not
82 
83  /// MiFIR Identifier
84  std::string miFIRIdentifier; // maxSize = 12
85 
86  /// Unique ID of the Bond Type
88 
89  /// Unique ID of the Bond Seniority
91 
92  /// Liquid flag (configured for 'EU' Area Code)
94 
95  /// SSTI threshold level for pre-trade transparency (configured for 'EU' Area Code)
96  Double sSTIPreTradeQty; // DOUBLE presentation
97 
98  /// SSTI threshold level for post-trade transparency (configured for 'EU' Area Code)
99  Double sSTIPostTradeQty; // DOUBLE presentation
100 
101  /// LIS threshold level for pre-trade transparency (configured for 'EU' Area Code)
102  Double lISPreTradeQty; // DOUBLE presentation
103 
104  /// LIS threshold level for post-trade transparency (configured for 'EU' Area Code)
105  Double lISPostTradeQty; // DOUBLE presentation
106 
107 
108  ///
109  size_t deserialize(const void* buf, size_t inLen);
110 
111  /// Provides string presentation
112  virtual std::string toString () const;
113 
114  ///
115  virtual size_t serializationBufSize() const { return 96; }
116 
117  ///
118  virtual BV_INSTRUMENT* clone() const;
119 
120  virtual BV_INSTRUMENT* clone(void*) const;
121 
122 private:
123  virtual size_t serialize(void* buf) const;
124 
125 };
126 
127 
128 }
129 }
130 }
131 }
Double sSTIPostTradeQty
SSTI threshold level for post-trade transparency (configured for &#39;EU&#39; Area Code)
UInt32 financialInstrumentId
Unique ID of the financial instrument (Bond)
Double lISPreTradeQty
LIS threshold level for pre-trade transparency (configured for &#39;EU&#39; Area Code)
TI_FLAG::Enum unseasonedBondFg
Flag to determine wheter a bond is unseasoned or not.
Double sSTIPreTradeQty
SSTI threshold level for pre-trade transparency (configured for &#39;EU&#39; Area Code)
UInt32 bondSeniorityId
Unique ID of the Bond Seniority.
Double lISPostTradeQty
LIS threshold level for post-trade transparency (configured for &#39;EU&#39; Area Code)
BV_DISCOUNT_MARGIN_FORMULA_TYPE::Enum discountMarginFormulaType
Unique ID code of the method for calculating the discount margin of the instrument.
TI_FLAG::Enum callProvisionFg
Flag identifying callable bonds.
UInt32 benchmarkIndexId
Unique ID of the Benchmark Index.
TI_FLAG::Enum liquidFg
Liquid flag (configured for &#39;EU&#39; Area Code)
Double quotedMargin
Quoted Margin in basis points.
TI_FLAG::Enum perpetualFg
Flag identifying perpetual bonds.
TI_FLAG::Enum mWCProvisionFg
Flag identifying MWC bonds.
virtual ClassId::Enum id() const
Class id.
UInt32 miFIRBondTypeId
Unique ID of the Bond Type.