OnixS C++ MTS Cash SDP Handler  1.6.5
API documentation
SMP.Classes.CMF_TRADABLE_INSTRUMENT_STATISTIC.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 
36 
37 
38 namespace OnixS {
39 namespace Mts {
40 namespace Cash {
41 namespace SDP {
42 
43 
44 
45 ///
46 class ONIXS_MTS_CASH_SDP_API CMF_TRADABLE_INSTRUMENT_STATISTIC : public Class
47 {
48 public:
50  {
51  }
52 
54 
55  /// Class id
56  virtual ClassId::Enum id() const
57  {
59  }
60 
61 
62  /// Data regarding the tradable instrument
64 
65  /// Unique ID of the section
67 
68  /// Period to which the statistics refer (e.g. yesterday,today,hour)
70 
71  /// Hour or interval to which the market statistics refer. Significant only for Type = TI_STATISTIC_TYPE_Hour
73 
74  /// Minimum trading price for the tradable instrument
76 
77  /// Maximum trading price for the tradable instrument
79 
80  /// Weighted average trading price for the tradable instrument
82 
83  /// Minimum trading yield for the tradable instrument
85 
86  /// Maximum trading yield for the tradable instrument
88 
89  /// Weighted average trading yield for the tradable instrument
91 
92  /// Total quantity of tradable instrument traded on the market
94 
95  /// Number of deals used in the calculation
97 
98  /// Time at which the last deal was concluded on the tradable instrument
100 
101  /// Specifies whether the statistic refers to normal trading activity or to a RFQ ...
103 
104  /// Specifies whether the statistic has been recalculated
106 
107  ///
108  size_t deserialize(const void* buf, size_t inLen);
109 
110  /// Provides string presentation
111  virtual std::string toString () const;
112 
113  ///
114  virtual size_t serializationBufSize() const { return 96; }
115 
116  ///
117  virtual CMF_TRADABLE_INSTRUMENT_STATISTIC* clone() const;
118 
119  virtual CMF_TRADABLE_INSTRUMENT_STATISTIC* clone(void*) const;
120 
121 private:
122  virtual size_t serialize(void* buf) const;
123 
124 };
125 
126 
127 }
128 }
129 }
130 }
unsigned short UInt16
Definition: Defines.h:45
TI_STATISTIC_TYPE::Enum type
Period to which the statistics refer (e.g. yesterday,today,hour)
Double maxYield
Maximum trading yield for the tradable instrument.
Double minYield
Minimum trading yield for the tradable instrument.
UInt16 hour
Hour or interval to which the market statistics refer. Significant only for Type = TI_STATISTIC_TYPE_...
Double tradedQty
Total quantity of tradable instrument traded on the market.
Double avgPrice
Weighted average trading price for the tradable instrument.
Double maxPrice
Maximum trading price for the tradable instrument.
unsigned long long UInt64
Definition: Defines.h:47
TI_FLAG::Enum recalculationFg
Specifies whether the statistic has been recalculated.
UInt64 lastDealTime
Time at which the last deal was concluded on the tradable instrument.
Double avgYield
Weighted average trading yield for the tradable instrument.
unsigned int UInt32
Definition: Defines.h:46
CMF_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
Double minPrice
Minimum trading price for the tradable instrument.
TI_TRADE_TYPE::Enum tradeType
Specifies whether the statistic refers to normal trading activity or to a RFQ ... ...