OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers 18.2.0
API documentation
Loading...
Searching...
No Matches
CrossRequest.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
27
28namespace OnixS
29{
30 namespace Eurex
31 {
32 namespace MarketData
33 {
34
36 struct ONIXS_EUREX_EMDI_API CrossRequestType
37 {
49 };
50
52 struct ONIXS_EUREX_EMDI_API InputSource
53 {
54 enum Enum
55 {
58
61 };
62 };
63
65 class ONIXS_EUREX_EMDI_API CrossRequest : public Message
66 {
67 public:
73
76 {
78 }
79
81 bool orderQty(Decimal& quantity) const
82 {
83 return get(Tags::OrderQty).toNumber(quantity);
84 }
85
91
93 bool price(Decimal& price) const
94 {
95 return get(Tags::MDEntryPx).toNumber(price);
96 }
97
99 UInt64 transactTime() const
100 {
102 }
103
109
115
116 private:
118
119 CrossRequest (const void* impl)
120 : Message (impl)
121 {
122 }
123 };
124 }
125 }
126}
bool price(Decimal &price) const
Price of the Liquidity Improvement Cross.
CrossRequestType::Enum crossRequestType() const
Cross Request Type.
UInt32 getMarketSegmentID() const
Product identifier.
InputSource::Enum inputSource() const
Input source.
bool orderQty(Decimal &quantity) const
Defines the requested quantity which cannot be zero in a cross request.
SecurityId securityId() const
Instrument identifier.
UInt64 transactTime() const
Time when request was processed by the matcher (nanoseconds).
Decimal type for better precision.
Definition Numeric.h:66
UInt32 getUInt32(Tag tag) const
Group getGroup(Tag numberOfInstancesTag) const
UInt64 getUInt64(Tag tag) const
FieldValueRef get(Tag tag) const
Message(const Message &other)
const Tag NoCrossRequestSideGrp
Definition Tags.h:257
Enumeration::Enum getIntEnumFieldValue(const FieldSet &fieldSet, Tag tag)
Definition FieldSet.h:228
unsigned int UInt32
Definition Numeric.h:41
Int64 SecurityId
Alias for Security Id type.
Definition Defines.h:51
@ Undefined
Used to identify absence of value.
@ Undefined
Used to identify absence of value.