OnixS C++ MTS Cash SDP Handler 1.9.4
API documentation
Loading...
Searching...
No Matches
Enumerations.h
Go to the documentation of this file.
1#pragma once
2
3/*
4* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
5*
6* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
7* and international copyright treaties.
8*
9* Access to and use of the software is governed by the terms of the applicable ONIXS Software
10* Services Agreement (the Agreement) and Customer end user license agreements granting
11* a non-assignable, non-transferable and non-exclusive license to use the software
12* for it's own data processing purposes under the terms defined in the Agreement.
13*
14* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
15* of this source code or associated reference material to any other location for further reproduction
16* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
17*
18* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
19* the terms of the Agreement is a violation of copyright law.
20*/
21
23
24#include <ostream>
25#include <string>
26
27namespace OnixS {
28namespace Mts {
29namespace Cash {
30namespace SDP {
31
33struct ONIXS_MTS_CASH_SDP_API TradeImpactService
34{
35 enum Enum
36 {
39
41 TXN = 1,
42
47
52
55
58 };
59
62 static std::string toString (Enum value);
63};
64
65
67struct ONIXS_MTS_CASH_SDP_API SubscribeType
68{
69 enum Enum
70 {
72 All = 0,
74 Stop = 1,
76 OnTime = 2,
77 };
78
81 static std::string toString (Enum value);
82};
83
109
110struct ONIXS_MTS_CASH_SDP_API ActionType
111{
112 enum Enum
113 {
115 Add = 0,
117 Del = 1,
119 Rwt = 2,
121 Kill = 3,
122 };
123
126 static std::string toString(Enum value);
127};
128
129struct ONIXS_MTS_CASH_SDP_API ActionResult
130{
137
140 static std::string toString (Enum value);
141};
142
143struct ONIXS_MTS_CASH_SDP_API FilterId
144{
145 enum Enum
146 {
147 Market = 1, //Fields: MarketId
148 MarketSection = 2, //Fields: MarketId, SectionId
149 TradableInstrument = 4, //Fields: InstrumentId
150 FinancialInstrument = 5, //Fields: FinancialInstrumentId
151 SectionTradableInstrument = 6, //Fields: SectionId, InstrumentId
152 MarketSectionTradableInstrument = 7, //Fields: MarketId, SectionId, InstrumentId
153 InstrumentGroup = 8, //Fields: InstrumentGroup
154 CustomInstrumentGroup = 9, //Fields: CustomInstrumentGroup
155 MemberStatus = 1000351, //Fields: MarketId
156 };
157
160 static std::string toString(Enum value);
161};
162
163struct ONIXS_MTS_CASH_SDP_API CreateFilterResult
164{
173
176 static std::string toString(Enum value);
177};
178
179struct ONIXS_MTS_CASH_SDP_API SetFilterResult
180{
189
192 static std::string toString(Enum value);
193};
194
195struct ONIXS_MTS_CASH_SDP_API DestroyFilterResult
196{
197 enum Enum
198 {
199 Ok = 0,
201 };
202
205 static std::string toString(Enum value);
206};
207
208ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, TradeImpactService::Enum value);
209ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, SubscribeType::Enum value);
210ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, SubscribeStartRequestResult::Enum value);
211ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, ActionType::Enum value);
212ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, ActionResult::Enum value);
213
214ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, FilterId::Enum value);
215ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, CreateFilterResult::Enum value);
216ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, SetFilterResult::Enum value);
217ONIXS_MTS_CASH_SDP_API std::ostream& operator<< (std::ostream& stream, DestroyFilterResult::Enum value);
218
219}
220}
221}
222}
223
ONIXS_MTS_CASH_SDP_API std::ostream & operator<<(std::ostream &stream, TradeImpactService::Enum value)
static std::string toString(Enum value)
static std::string toString(Enum value)
static std::string toString(Enum value)
static std::string toString(Enum value)
static std::string toString(Enum value)
static std::string toString(Enum value)
Subscribe Start Request Result Types.
static std::string toString(Enum value)
TradeImpact services that can be accessed and used by all authorized traders.
@ IP_REQUEST
The IP Provider service is a specialized technological service that has the task of managing,...
static std::string toString(Enum value)