OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers  16.1.0
API documentation
PartialOrderExecution.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 
25 
26 namespace Testing
27 {
28  class TestingPartialOrderExecution;
29 }
30 
31 namespace OnixS
32 {
33  namespace Eurex
34  {
35  namespace MarketData
36  {
37  namespace EOBI
38  {
39  class ONIXS_EUREX_EMDI_API PartialOrderExecution : public MessageBase
40  {
41  public:
42  /// Message type
43  std::string msgType() const;
44 
45  /// Market data type
46  EOBI::MarketDataType::Enum marketDataType() const;
47 
48  /// Type of Market Data update action.
49  EOBI::MDUpdateAction::Enum mdUpdateAction() const;
50 
51  /// Marketplace assigned identifier.
52  EOBI::SecurityIDSource::Enum securityIDSource() const;
53 
54  /// Side of the order.
55  EOBI::Side::Enum side() const;
56 
57  /// Reserved for future release.
58  EOBI::OrderType::Enum ordType() const;
59 
60  /// The price at which the order entered the book. Typically it is equal to Last-Px except during auction uncrossing.
61  bool price (Decimal& price) const;
62 
63  /// Priority timestamp.
64  UInt64 trdRegTSTimePriority() const;
65 
66  /// Unique instrument identifier.
67  UInt64 securityID() const;
68 
69  /// Unique identifier for each price level (match step) of a match event; it is used for public trade reporting.
70  UInt32 trdMatchID() const;
71 
72  /// Quantity executed in this fill.
73  QuantityType lastQty() const;
74 
75  /// Price of this fill.
76  Decimal lastPx() const;
77 
78  ///
79  EOBI::AlgorithmicTradeIndicator::Enum algorithmicTradeIndicator() const;
80 
81  /// The updated index of the HHI interval at the ordersÂ’ price level, if the product is HHI enabled.
82  UInt8 hHIIndicator() const;
83 
84  /// Appends text presentation.
85  void toString (std::string&) const ONIXS_EUREX_EMDI_OVERRIDE;
86 
87  private:
88  friend class Implementation::MessageFactory;
89  friend class ::Testing::TestingPartialOrderExecution;
90 
91  PartialOrderExecution (const void* data, const DataSource& dataSource) : MessageBase (data, dataSource) {}
92  };
93  }
94  }
95  }
96 }
unsigned char UInt8
Definition: Numeric.h:35
#define ONIXS_EUREX_EMDI_OVERRIDE
Definition: Compiler.h:126
unsigned int UInt32
Definition: Numeric.h:41
Definition: Defines.h:30
Decimal type for better precision.
Definition: Numeric.h:63