OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers 18.2.0
API documentation
Loading...
Searching...
No Matches
InstrumentSummary.h
Go to the documentation of this file.
1/*
2* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3*
4* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5* and international copyright treaties.
6*
7* Access to and use of the software is governed by the terms of the applicable OnixS Software
8* Services Agreement (the Agreement) and Customer end user license agreements granting
9* a non-assignable, non-transferable and non-exclusive license to use the software
10* for it's own data processing purposes under the terms defined in the Agreement.
11*
12* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13* of this source code or associated reference material to any other location for further reproduction
14* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15*
16* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17* the terms of the Agreement is a violation of copyright law.
18*/
19
20#pragma once
21
26
27namespace OnixS
28{
29 namespace Eurex
30 {
31 namespace MarketData
32 {
33 namespace EOBI
34 {
35 class ONIXS_EUREX_EMDI_API InstrumentSummaryEntry : public DataContainer
36 {
37 public:
39 bool mdEntryPx (Decimal& price) const;
40
43
46
49
52
55
58
61
64
66 void toString (std::string&) const;
67
68 private:
70
71 InstrumentSummaryEntry (const void* data);
72 };
73
74 class ONIXS_EUREX_EMDI_API InstrumentSummaryEntries : public DataContainer
75 {
76 public:
78 size_t size() const;
79
81 InstrumentSummaryEntry operator[] (size_t idx) const;
82
84 void toString (std::string&) const;
85
86 private:
87 friend class InstrumentSummary;
88
89 explicit
90 InstrumentSummaryEntries (const void* data);
91 };
92
93 class ONIXS_EUREX_EMDI_API InstrumentSummary : public MessageBase
94 {
95 public:
97 std::string msgType() const;
98
101
104
106 UInt64 securityID() const;
107
109 UInt64 lastUpdateTime() const;
110
112 UInt64 trdRegTSExecutionTime() const;
113
116
119
122
125
128
131
134
136 bool highPx(Decimal& price) const;
137
139 bool lowPx(Decimal& price) const;
140
143
146
149
152
154 void toString (std::string&) const ONIXS_EUREX_EMDI_OVERRIDE;
155
156 private:
157 friend class Implementation::MessageFactory;
158
159 InstrumentSummary (const void* data, const DataSource& dataSource) : MessageBase (data, dataSource) {}
160 };
161 }
162 }
163 }
164}
#define ONIXS_EUREX_EMDI_OVERRIDE
Definition Compiler.h:134
Decimal type for better precision.
Definition Numeric.h:66
void toString(std::string &) const
Appends text presentation.
EOBI::TradeCondition::Enum tradeCondition() const
Trade Condition.
void toString(std::string &) const
Appends text presentation.
EOBI::MDEntryType::Enum mdEntryType() const
Type of market data entry.
EOBI::MultiLegReportingType::Enum multiLegReportingType() const
EOBI::MultiLegPriceModel::Enum multiLegPriceModel() const
EOBI::ProductComplex::Enum productComplex() const
EOBI::SecurityStatus::Enum securityStatus() const
Instrument status.
bool lowPx(Decimal &price) const
Lower boundary price.
InstrumentSummaryEntries mdInstrumentEntryGrp() const
Variable size array, record counter: NoMDEntries.
bool highPx(Decimal &price) const
Upper boundary price.
UInt16 totNoOrders() const
Corresponding number of orders for this instrument.
UInt64 lastUpdateTime() const
Last update time of the corresponding order book.
EOBI::SoldOutIndicator::Enum soldOutIndicator() const
EOBI::SecurityTradingStatus::Enum securityTradingStatus() const
Instrument state status.
UInt64 trdRegTSExecutionTime() const
Last matching execution timestamp.
EOBI::SecurityTradingEvent::Enum securityTradingEvent() const
void toString(std::string &) const ONIXS_EUREX_EMDI_OVERRIDE
Appends text presentation.
UInt64 securityID() const
Unique instrument identifier.
EOBI::MarketDataType::Enum marketDataType() const
Market data type.
EOBI::SecurityIDSource::Enum securityIDSource() const
Marketplace assigned identifier.
std::string msgType() const
Message type.
EOBI::TESSecurityStatus::Enum tesSecurityStatus() const
UInt8 noMDEntries() const
Number of entries in Market Data message for MDEntryGrp.
EOBI::FastMarketIndicator::Enum fastMarketIndicator() const
Fast market indicator.
EOBI::MarketCondition::Enum marketCondition() const
Indicator for stressed market conditions.
const DataSource & dataSource() const
Returns data source.
Definition MessageBase.h:56
MessageBase(const void *data, const DataSource &dataSource)
Definition MessageBase.h:62
unsigned char UInt8
Definition Numeric.h:35
unsigned short UInt16
Definition Numeric.h:38