TT CORE SDK
2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
OrdStatus.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
OrdStatus
29
{
30
NotSet
= 0,
31
New
= 1,
32
PartiallyFilled
= 2,
33
Filled
= 3,
34
DoneForDay
= 4,
35
Canceled
= 5,
36
PendingCancel
= 6,
37
Stopped
= 7,
38
Rejected
= 8,
39
Suspended
= 9,
40
PendingNew
= 10,
41
Calculated
= 11,
42
Expired
= 12,
43
AcceptedForBidding
= 13,
44
PendingReplace
= 14,
45
Unknown
= 16,
46
Inactive
= 17,
47
Planned
= 18,
48
};
49
50
inline
const
char
*
ToString
(
const
OrdStatus
value)
51
{
52
switch
(value)
53
{
54
case
OrdStatus::NotSet
:
55
return
"NotSet"
;
56
case
OrdStatus::New
:
57
return
"New"
;
58
case
OrdStatus::PartiallyFilled
:
59
return
"PartiallyFilled"
;
60
case
OrdStatus::Filled
:
61
return
"Filled"
;
62
case
OrdStatus::DoneForDay
:
63
return
"DoneForDay"
;
64
case
OrdStatus::Canceled
:
65
return
"Canceled"
;
66
case
OrdStatus::PendingCancel
:
67
return
"PendingCancel"
;
68
case
OrdStatus::Stopped
:
69
return
"Stopped"
;
70
case
OrdStatus::Rejected
:
71
return
"Rejected"
;
72
case
OrdStatus::Suspended
:
73
return
"Suspended"
;
74
case
OrdStatus::PendingNew
:
75
return
"PendingNew"
;
76
case
OrdStatus::Calculated
:
77
return
"Calculated"
;
78
case
OrdStatus::Expired
:
79
return
"Expired"
;
80
case
OrdStatus::AcceptedForBidding
:
81
return
"AcceptedForBidding"
;
82
case
OrdStatus::PendingReplace
:
83
return
"PendingReplace"
;
84
case
OrdStatus::Unknown
:
85
return
"Unknown"
;
86
case
OrdStatus::Inactive
:
87
return
"Inactive"
;
88
case
OrdStatus::Planned
:
89
return
"Planned"
;
90
default
:
91
return
"Unknown"
;
92
}
93
}
94
}
ttsdk
Definition
account.h:21
ttsdk::CxlRejReason::PendingCancel
@ PendingCancel
ttsdk::CxlRejReason::PendingReplace
@ PendingReplace
ttsdk::CxlRejReason::PendingNew
@ PendingNew
ttsdk::AlgoType::Unknown
@ Unknown
ttsdk::OrdStatus
OrdStatus
Definition
OrdStatus.h:29
ttsdk::OrdStatus::New
@ New
ttsdk::OrdStatus::Canceled
@ Canceled
ttsdk::OrdStatus::Expired
@ Expired
ttsdk::OrdStatus::AcceptedForBidding
@ AcceptedForBidding
ttsdk::OrdStatus::Inactive
@ Inactive
ttsdk::OrdStatus::Calculated
@ Calculated
ttsdk::OrdStatus::PendingCancel
@ PendingCancel
ttsdk::OrdStatus::Planned
@ Planned
ttsdk::OrdStatus::PartiallyFilled
@ PartiallyFilled
ttsdk::OrdStatus::Unknown
@ Unknown
ttsdk::OrdStatus::Suspended
@ Suspended
ttsdk::OrdStatus::PendingReplace
@ PendingReplace
ttsdk::OrdStatus::Stopped
@ Stopped
ttsdk::OrdStatus::Rejected
@ Rejected
ttsdk::OrdStatus::Filled
@ Filled
ttsdk::OrdStatus::DoneForDay
@ DoneForDay
ttsdk::OrdStatus::PendingNew
@ PendingNew
ttsdk::OrdStatus::NotSet
@ NotSet
ttsdk::ExecType::New
@ New
ttsdk::ExecType::Canceled
@ Canceled
ttsdk::ExecType::Expired
@ Expired
ttsdk::ExecType::Calculated
@ Calculated
ttsdk::ExecType::Suspended
@ Suspended
ttsdk::ExecType::Stopped
@ Stopped
ttsdk::ExecType::Rejected
@ Rejected
ttsdk::ExecType::DoneForDay
@ DoneForDay
ttsdk::ToString
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition
connection.h:50
ttsdk::NotSet
@ NotSet
Definition
environment.h:7
Header Files
enums
OrdStatus.h
Generated by
1.10.0