TT CORE SDK
2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
SynthStatus.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\order\enums.proto
21
* Package tt.messaging.order.enums
22
*
23
***************************************************************************/
24
#pragma once
25
26
namespace
ttsdk
27
{
28
enum class
SynthStatus
29
{
30
NotSet
= -2,
31
Unknown
= -1,
32
Starting
= 0,
33
Waiting
= 1,
34
PendingTrigger
= 2,
35
Working
= 3,
36
Paused
= 4,
37
Held
= 5,
38
Failed
= 6,
39
Canceled
= 7,
40
Recovering
= 8,
41
Finished
= 9,
42
Pausing
= 10,
43
Stopping
= 11,
44
Resuming
= 12,
45
RecoveryFailed
= 13,
46
Expired
= 14,
47
Holding
= 15,
48
Unmanaged
= 16,
49
PendingCleanup
= 17,
50
};
51
52
inline
const
char
*
ToString
(
const
SynthStatus
value)
53
{
54
switch
(value)
55
{
56
case
SynthStatus::NotSet
:
57
return
"NotSet"
;
58
case
SynthStatus::Unknown
:
59
return
"Unknown"
;
60
case
SynthStatus::Starting
:
61
return
"Starting"
;
62
case
SynthStatus::Waiting
:
63
return
"Waiting"
;
64
case
SynthStatus::PendingTrigger
:
65
return
"PendingTrigger"
;
66
case
SynthStatus::Working
:
67
return
"Working"
;
68
case
SynthStatus::Paused
:
69
return
"Paused"
;
70
case
SynthStatus::Held
:
71
return
"Held"
;
72
case
SynthStatus::Failed
:
73
return
"Failed"
;
74
case
SynthStatus::Canceled
:
75
return
"Canceled"
;
76
case
SynthStatus::Recovering
:
77
return
"Recovering"
;
78
case
SynthStatus::Finished
:
79
return
"Finished"
;
80
case
SynthStatus::Pausing
:
81
return
"Pausing"
;
82
case
SynthStatus::Stopping
:
83
return
"Stopping"
;
84
case
SynthStatus::Resuming
:
85
return
"Resuming"
;
86
case
SynthStatus::RecoveryFailed
:
87
return
"RecoveryFailed"
;
88
case
SynthStatus::Expired
:
89
return
"Expired"
;
90
case
SynthStatus::Holding
:
91
return
"Holding"
;
92
case
SynthStatus::Unmanaged
:
93
return
"Unmanaged"
;
94
case
SynthStatus::PendingCleanup
:
95
return
"PendingCleanup"
;
96
default
:
97
return
"Unknown"
;
98
}
99
}
100
}
ttsdk
Definition
account.h:21
ttsdk::AlgoType::Unknown
@ Unknown
ttsdk::ExecType::Canceled
@ Canceled
ttsdk::ExecType::Expired
@ Expired
ttsdk::OrderSide::Held
@ Held
ttsdk::ToString
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition
connection.h:50
ttsdk::NotSet
@ NotSet
Definition
environment.h:7
ttsdk::SynthStatus
SynthStatus
Definition
SynthStatus.h:29
ttsdk::SynthStatus::Holding
@ Holding
ttsdk::SynthStatus::Canceled
@ Canceled
ttsdk::SynthStatus::RecoveryFailed
@ RecoveryFailed
ttsdk::SynthStatus::Expired
@ Expired
ttsdk::SynthStatus::Waiting
@ Waiting
ttsdk::SynthStatus::PendingTrigger
@ PendingTrigger
ttsdk::SynthStatus::Resuming
@ Resuming
ttsdk::SynthStatus::Unmanaged
@ Unmanaged
ttsdk::SynthStatus::Recovering
@ Recovering
ttsdk::SynthStatus::Stopping
@ Stopping
ttsdk::SynthStatus::Working
@ Working
ttsdk::SynthStatus::Unknown
@ Unknown
ttsdk::SynthStatus::Finished
@ Finished
ttsdk::SynthStatus::PendingCleanup
@ PendingCleanup
ttsdk::SynthStatus::Starting
@ Starting
ttsdk::SynthStatus::Failed
@ Failed
ttsdk::SynthStatus::Paused
@ Paused
ttsdk::SynthStatus::Held
@ Held
ttsdk::SynthStatus::Pausing
@ Pausing
ttsdk::SynthStatus::NotSet
@ NotSet
Header Files
enums
SynthStatus.h
Generated by
1.10.0