TT CORE SDK 2.1.1.1
TT CORE SDK documentation
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{
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