OnixS Eurex ETI Handler C++ library
9.19.0
API documentation
Home
Contents
Namespaces
Classes
Files
File List
include
OnixS
Eurex
Trading
Messages
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
22
#include "OnixS/Eurex/Trading/Export.h"
23
#include "
OnixS/Eurex/Trading/Defines.h
"
24
#include "
OnixS/Eurex/Trading/Enumerations.h
"
25
#include "
OnixS/Eurex/Trading/Message.h
"
26
#include "
OnixS/Eurex/Trading/MessageInfo.h
"
27
28
#include <iosfwd>
29
#include <string>
30
31
namespace
OnixS
{
32
namespace
Eurex {
33
namespace
Trading {
34
35
/// Cross Request Message.
36
class
ONIXS_EUREX_ETI_EXPORT
CrossRequest
:
public
Message
37
{
38
public
:
39
/// Initialize default instance.
40
CrossRequest
();
41
42
/// User ID.
43
UInt32
senderSubId
;
44
45
/// The instrument identifier uniquely identifies an instrument in the core system.
46
SInt64
securityId
;
47
48
/// Total Order Quantity.
49
SInt64
orderQty
;
50
51
/// The product identifier uniquely identifies a Eurex product.
52
SInt32
marketSegmentId
;
53
54
/// This field is used to provide additional regulatory information (according to respective rules and regs, circulars and bilateral coordination between participant and Trading Surveillance Office).
55
std::string
complianceText
;
56
57
/// Returns template ID.
58
TemplateId::Enum
templateId ()
const
;
59
60
/// Returns string representation.
61
std::string toString ()
const
;
62
63
private
:
64
friend
class
Serializer;
65
CrossRequest
(
const
void
* data,
size_t
dataSize,
MessageInfo
& msgInfo);
66
void
nativeSerializeTo (
void
* nativeMessage);
67
};
68
69
ONIXS_EUREX_ETI_EXPORT std::ostream&
operator<<
(std::ostream&,
const
CrossRequest
&);
70
71
}
72
}
73
}
Message.h
OnixS::Eurex::Trading::CrossRequest::complianceText
std::string complianceText
This field is used to provide additional regulatory information (according to respective rules and re...
Definition:
CrossRequest.h:55
OnixS::Eurex::Trading::CrossRequest::senderSubId
UInt32 senderSubId
User ID.
Definition:
CrossRequest.h:43
MessageInfo.h
OnixS::Eurex::Trading::SInt32
signed int SInt32
Definition:
Defines.h:42
Defines.h
Enumerations.h
OnixS::Eurex::Trading::Message
Message base class.
Definition:
Message.h:33
OnixS
Definition:
AdminListener.h:36
OnixS::Eurex::Trading::TemplateId::Enum
Enum
Template IDs.
Definition:
Enumerations.h:2718
OnixS::Eurex::Trading::CrossRequest::marketSegmentId
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
Definition:
CrossRequest.h:52
OnixS::Eurex::Trading::CrossRequest::orderQty
SInt64 orderQty
Total Order Quantity.
Definition:
CrossRequest.h:49
OnixS::Eurex::Trading::UInt32
unsigned int UInt32
Definition:
Defines.h:46
OnixS::Eurex::Trading::SInt64
signed long long SInt64
Definition:
Defines.h:43
OnixS::Eurex::Trading::MessageInfo
Message info.
Definition:
MessageInfo.h:33
OnixS::Eurex::Trading::CrossRequest::securityId
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
Definition:
CrossRequest.h:46
OnixS::Eurex::Trading::operator<<
std::ostream & operator<<(std::ostream &, const ConnectionStateChange &)
Make it printable to formatted C++ I/O streams.
OnixS::Eurex::Trading::CrossRequest
Cross Request Message.
Definition:
CrossRequest.h:36