TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
TradeIndicator.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 TradeIndicator
29 {
30 NotSet = -2,
31 Unknown = -1,
32 New = 0,
33 Bust = 1,
34 Correct = 2,
35 Cross = 3,
36 Open = 4,
37 Close = 5,
39 InterMktSweep = 7,
40 OutOfSequence = 8,
41 ExchGenPrice = 9,
42 Block = 10,
43 ExtendedHours = 11,
44 AvgPrice = 12,
45 PriceVariation = 13,
46 StockOption = 14,
47 ReOpen = 15,
48 BunchedSold = 16,
49 CapElection = 17,
50 AutoExecution = 18,
51 Regular = 19,
52 None = 20,
53 };
54
55 inline const char* ToString(const TradeIndicator value)
56 {
57 switch (value)
58 {
60 return "NotSet";
62 return "Unknown";
64 return "New";
66 return "Bust";
68 return "Correct";
70 return "Cross";
72 return "Open";
74 return "Close";
76 return "NonRegularSettle";
78 return "InterMktSweep";
80 return "OutOfSequence";
82 return "ExchGenPrice";
84 return "Block";
86 return "ExtendedHours";
88 return "AvgPrice";
90 return "PriceVariation";
92 return "StockOption";
94 return "ReOpen";
96 return "BunchedSold";
98 return "CapElection";
100 return "AutoExecution";
102 return "Regular";
104 return "None";
105 default:
106 return "Unknown";
107 }
108 }
109}
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition connection.h:50
@ NotSet
Definition environment.h:7