TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
TradingStatus.h
Go to the documentation of this file.
1/***************************************************************************
2*
3* Unpublished Work Copyright (c) 2019-2020
4* Trading Technologies International, Inc.
5* All Rights Reserved Worldwide
6*
7* * * * S T R I C T L Y P R O P R I E T A R Y * * *
8*
9* WARNING: This program (or document) is unpublished, proprietary property
10* of Trading Technologies International, Inc. and is to be maintained in
11* strict confidence. Unauthorized reproduction, distribution or disclosure
12* of this program (or document), or any program (or document) derived from
13* it is prohibited by State and Federal law, and by local law outside of
14* the U.S.
15*
16****************************************************************************
17*
18* This file is auto generated - do not modify by hand.
19* Run the auto generation against the message template files.
20* Generated from messaging\edge_server\edge_server_messages.proto
21* Package tt.messaging.edge_server
22*
23***************************************************************************/
24#pragma once
25
26namespace ttsdk
27{
28 enum class TradingStatus
29 {
30 NotSet = -1,
31 Halted = 0,
32 Suspended = 1,
33 Reserved = 2,
34 Mktclose = 3,
35 Mktopen = 4,
36 Lateopen = 5,
37 Auction = 6,
38 Preopen = 7,
39 Slowbid = 8,
40 Slowask = 9,
41 Slowbidask = 10,
42 Gapslowbidask = 11,
43 Securitydeleted = 12,
44 Shorestriction = 13,
45 Quotingonly = 14,
47 Openingrotation = 16,
48 Fastmarket = 17,
49 Precspa = 18,
50 Cspa = 19,
51 Adjust = 20,
52 Adjuston = 21,
53 Purgeorders = 22,
54 Sysmaintain = 23,
55 Clclose = 24,
56 Clstart = 25,
57 Openalloc = 26,
58 Preopenalloc = 27,
59 Premktact = 28,
61 Filter = 30,
64 Volatilitypause = 33,
66 Auctionopen = 35,
67 Auctionintra = 36,
68 Auctionclose = 37,
69 Atlast = 38,
70 Auctionvola = 39,
72 Luld = 41,
73 Auctionexp = 42,
74 Auctionvol = 43,
75 Mwcbhalt1 = 44,
76 Mwcbhalt2 = 45,
77 Mwcbhalt3 = 46,
78 Crossing = 47,
82 Precross = 51,
83 Nocancel = 52,
84 Postclose = 53,
85 Openingiop = 54,
86 Sessionclose = 55,
87 Impliedstart = 56,
88 Impliedend = 57,
89 Uncrosscall = 58,
91 Auctionsurplus = 60,
92 Unknown = 61,
94 Pretrading = 63,
95 Posttrading = 64,
96 None = 65,
97 };
98
99 inline const char* ToString(const TradingStatus value)
100 {
101 switch (value)
102 {
104 return "NotSet";
106 return "Halted";
108 return "Suspended";
110 return "Reserved";
112 return "Mktclose";
114 return "Mktopen";
116 return "Lateopen";
118 return "Auction";
120 return "Preopen";
122 return "Slowbid";
124 return "Slowask";
126 return "Slowbidask";
128 return "Gapslowbidask";
130 return "Securitydeleted";
132 return "Shorestriction";
134 return "Quotingonly";
136 return "Opendelayimbalance";
138 return "Openingrotation";
140 return "Fastmarket";
142 return "Precspa";
144 return "Cspa";
146 return "Adjust";
148 return "Adjuston";
150 return "Purgeorders";
152 return "Sysmaintain";
154 return "Clclose";
156 return "Clstart";
158 return "Openalloc";
160 return "Preopenalloc";
162 return "Premktact";
164 return "Shohaltrestriction";
166 return "Filter";
168 return "Shoquotingrestriction";
170 return "Closesessionroll";
172 return "Volatilitypause";
174 return "Shovolatilitypause";
176 return "Auctionopen";
178 return "Auctionintra";
180 return "Auctionclose";
182 return "Atlast";
184 return "Auctionvola";
186 return "Precautionaryhalt";
188 return "Luld";
190 return "Auctionexp";
192 return "Auctionvol";
194 return "Mwcbhalt1";
196 return "Mwcbhalt2";
198 return "Mwcbhalt3";
200 return "Crossing";
202 return "Shopremktactrestriction";
204 return "Shosuspendedrestriction";
206 return "Haltorderallowed";
208 return "Precross";
210 return "Nocancel";
212 return "Postclose";
214 return "Openingiop";
216 return "Sessionclose";
218 return "Impliedstart";
220 return "Impliedend";
222 return "Uncrosscall";
224 return "Preopennottrading";
226 return "Auctionsurplus";
228 return "Unknown";
230 return "Shocloserestriction";
232 return "Pretrading";
234 return "Posttrading";
236 return "None";
237 default:
238 return "Unknown";
239 }
240 }
241}
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition connection.h:50
@ NotSet
Definition environment.h:7