TT CORE SDK
2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
TimeInForce.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
TimeInForce
29
{
30
NotSet
= -1,
31
Unknown
= 0,
32
Day
= 1,
33
GoodTillCancel
= 2,
34
AtTheOpening
= 3,
35
ImmediateOrCancel
= 4,
36
FillOrKill
= 5,
37
GoodTillCrossing
= 6,
38
GoodTillDate
= 7,
39
AtTheClose
= 8,
40
GoodThroughCrossing
= 9,
41
AtCrossing
= 10,
42
Auction
= 13,
43
GoodInSession
= 14,
44
DayPlus
= 15,
45
GoodTillCancelPlus
= 16,
46
GoodTillDatePlus
= 17,
47
GoodTillTime
= 18,
48
ClosingPriceCross
= 19,
49
ImmediateOrCancelPlus
= 20,
50
FillOrKillPlus
= 21,
51
MorningAtTheClose
= 22,
52
AfternoonAtTheClose
= 23,
53
};
54
55
inline
const
char
*
ToString
(
const
TimeInForce
value)
56
{
57
switch
(value)
58
{
59
case
TimeInForce::NotSet
:
60
return
"NotSet"
;
61
case
TimeInForce::Unknown
:
62
return
"Unknown"
;
63
case
TimeInForce::Day
:
64
return
"Day"
;
65
case
TimeInForce::GoodTillCancel
:
66
return
"GoodTillCancel"
;
67
case
TimeInForce::AtTheOpening
:
68
return
"AtTheOpening"
;
69
case
TimeInForce::ImmediateOrCancel
:
70
return
"ImmediateOrCancel"
;
71
case
TimeInForce::FillOrKill
:
72
return
"FillOrKill"
;
73
case
TimeInForce::GoodTillCrossing
:
74
return
"GoodTillCrossing"
;
75
case
TimeInForce::GoodTillDate
:
76
return
"GoodTillDate"
;
77
case
TimeInForce::AtTheClose
:
78
return
"AtTheClose"
;
79
case
TimeInForce::GoodThroughCrossing
:
80
return
"GoodThroughCrossing"
;
81
case
TimeInForce::AtCrossing
:
82
return
"AtCrossing"
;
83
case
TimeInForce::Auction
:
84
return
"Auction"
;
85
case
TimeInForce::GoodInSession
:
86
return
"GoodInSession"
;
87
case
TimeInForce::DayPlus
:
88
return
"DayPlus"
;
89
case
TimeInForce::GoodTillCancelPlus
:
90
return
"GoodTillCancelPlus"
;
91
case
TimeInForce::GoodTillDatePlus
:
92
return
"GoodTillDatePlus"
;
93
case
TimeInForce::GoodTillTime
:
94
return
"GoodTillTime"
;
95
case
TimeInForce::ClosingPriceCross
:
96
return
"ClosingPriceCross"
;
97
case
TimeInForce::ImmediateOrCancelPlus
:
98
return
"ImmediateOrCancelPlus"
;
99
case
TimeInForce::FillOrKillPlus
:
100
return
"FillOrKillPlus"
;
101
case
TimeInForce::MorningAtTheClose
:
102
return
"MorningAtTheClose"
;
103
case
TimeInForce::AfternoonAtTheClose
:
104
return
"AfternoonAtTheClose"
;
105
default
:
106
return
"Unknown"
;
107
}
108
}
109
}
ttsdk
Definition
account.h:21
ttsdk::AlgoType::Unknown
@ Unknown
ttsdk::TimeInForce
TimeInForce
Definition
TimeInForce.h:29
ttsdk::TimeInForce::Day
@ Day
ttsdk::TimeInForce::GoodTillCancelPlus
@ GoodTillCancelPlus
ttsdk::TimeInForce::GoodInSession
@ GoodInSession
ttsdk::TimeInForce::GoodTillTime
@ GoodTillTime
ttsdk::TimeInForce::ImmediateOrCancelPlus
@ ImmediateOrCancelPlus
ttsdk::TimeInForce::AtTheClose
@ AtTheClose
ttsdk::TimeInForce::DayPlus
@ DayPlus
ttsdk::TimeInForce::GoodTillCrossing
@ GoodTillCrossing
ttsdk::TimeInForce::GoodTillDatePlus
@ GoodTillDatePlus
ttsdk::TimeInForce::GoodTillDate
@ GoodTillDate
ttsdk::TimeInForce::AtCrossing
@ AtCrossing
ttsdk::TimeInForce::FillOrKillPlus
@ FillOrKillPlus
ttsdk::TimeInForce::ClosingPriceCross
@ ClosingPriceCross
ttsdk::TimeInForce::Unknown
@ Unknown
ttsdk::TimeInForce::AfternoonAtTheClose
@ AfternoonAtTheClose
ttsdk::TimeInForce::FillOrKill
@ FillOrKill
ttsdk::TimeInForce::MorningAtTheClose
@ MorningAtTheClose
ttsdk::TimeInForce::AtTheOpening
@ AtTheOpening
ttsdk::TimeInForce::ImmediateOrCancel
@ ImmediateOrCancel
ttsdk::TimeInForce::Auction
@ Auction
ttsdk::TimeInForce::NotSet
@ NotSet
ttsdk::TimeInForce::GoodTillCancel
@ GoodTillCancel
ttsdk::TimeInForce::GoodThroughCrossing
@ GoodThroughCrossing
ttsdk::ToString
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition
connection.h:50
ttsdk::NotSet
@ NotSet
Definition
environment.h:7
Header Files
enums
TimeInForce.h
Generated by
1.10.0