OnixS C++ MTS Cash SDP Handler  1.7.0
API documentation
SMP.Classes.CMF_INSTRUMENT_CLASS.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>
30 
35 
36 
37 namespace OnixS {
38 namespace Mts {
39 namespace Cash {
40 namespace SDP {
41 
42 
43 
44 ///
45 class ONIXS_MTS_CASH_SDP_API CMF_INSTRUMENT_CLASS : public Class
46 {
47 public:
49  {
50  }
51 
52  virtual ~CMF_INSTRUMENT_CLASS() {}
53 
54  /// Class id
55  virtual ClassId::Enum id() const
56  {
58  }
59 
60 
61  /// Unique ID of the instrument class
63 
64  /// Identifier of the yield/price conversion for CAT market depth
66 
67  /// Identifier of the calculation type to be used for the second leg quantity definition in case of Spread Trading or Switch Auction Trading. In case of Switch Auction Trading: - Instruments with CalculationType = "Cash Equivalent" will remain suspended (with status equal to TI_SUSP_STATUS_WaitingForPrice) until the arrival of the buy back price flow contribution. - Instruments with CalculationType = "Duration Weighted" will remain suspended (with status equal to TI_SUSP_STATUS_WaitingForPrice) until the arrival of the buy back price flow contribution and, in addition,until the receipt of the hedge ratio or of the BPVs of the underlying bonds.
69 
70  /// Identifier of the price type
72 
73  /// Identifier of the tradable instrument type (Bond,Spread,Basis,etc.)
75 
76  /// Indicates since what time statistics are available. If it is zero statistics are always calculated
78 
79  /// Maximum Settlement Size for the instrument class
81 
82  /// Instrument Class Sorting Number
84 
85  /// Market model
87 
88  /// Flag indicating if it's possible to insert only FAS orders or only double sided proposals or both. Used for tradable instruments: Basis,Spread and Switch Auction
90 
91  /// Flag indicating if it's possible to insert only striker FAS orders or only double sided proposals or both. Used for tradable instruments: Basis, Spread.
93 
94  /// Identifier of the yield/price conversion for mid price
96 
97  /// Unique ID of the product type.
99 
100  /// Multiplier to be applied to the MinPriceTick and to the MinYieldTick CAT functions parameters to obtain the MinMidPriceTick and the MinMidYieldTick (Mid Price Trading)
102 
103  /// Mid Price FAS Orders Flag latency,expressed as number of seconds
105 
106  /// Delay, expressed as number of seconds,for the Mid Price publication
108 
109  /// Specifies the source of MidPrice value: Order Book (CAT)
111 
112  ///
113  size_t deserialize(const void* buf, size_t inLen);
114 
115  /// Provides string presentation
116  virtual std::string toString () const;
117 
118  ///
119  virtual size_t serializationBufSize() const { return 80; }
120 
121  ///
122  virtual CMF_INSTRUMENT_CLASS* clone() const;
123 
124  virtual CMF_INSTRUMENT_CLASS* clone(void*) const;
125 
126 private:
127  virtual size_t serialize(void* buf) const;
128 
129 };
130 
131 
132 }
133 }
134 }
135 }
Double maxSettlSize
Maximum Settlement Size for the instrument class.
unsigned short UInt16
Definition: Defines.h:45
CMF_YIELD_PRICE_CONV::Enum midPriceYieldPriceConv
Identifier of the yield/price conversion for mid price.
TI_POSSIBLE_QUOTING::Enum doubleLegStrikerQuotingFg
Flag indicating if it&#39;s possible to insert only striker FAS orders or only double sided proposals or ...
UInt16 midPricePublicationDelay
Delay, expressed as number of seconds,for the Mid Price publication.
Double midPriceMultiplier
Multiplier to be applied to the MinPriceTick and to the MinYieldTick CAT functions parameters to obta...
UInt16 midPriceInterestLatency
Mid Price FAS Orders Flag latency,expressed as number of seconds.
UInt64 statisticsTime
Indicates since what time statistics are available. If it is zero statistics are always calculated...
unsigned long long UInt64
Definition: Defines.h:47
CMF_CALCULATION_TYPE::Enum calculationType
Identifier of the calculation type to be used for the second leg quantity definition in case of Sprea...
UInt32 sortNumber
Instrument Class Sorting Number.
CMF_YIELD_PRICE_CONV::Enum yieldPriceConv
Identifier of the yield/price conversion for CAT market depth.
TI_POSSIBLE_QUOTING::Enum doubleLegPossibleQuoting
Flag indicating if it&#39;s possible to insert only FAS orders or only double sided proposals or both...
UInt32 instrumentClassId
Unique ID of the instrument class.
TI_INSTRUMENT_TYPE::Enum instrumentType
Identifier of the tradable instrument type (Bond,Spread,Basis,etc.)
unsigned int UInt32
Definition: Defines.h:46
CMF_MID_PRICE_SOURCE::Enum midPriceSource
Specifies the source of MidPrice value: Order Book (CAT)
TI_TRADING_TYPE::Enum tradingType
Identifier of the price type.