TT CORE SDK
2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
OrderSide.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
OrderSide
29
{
30
NotSet
= 0,
31
Buy
= 1,
32
Sell
= 2,
33
BuyMinus
= 3,
34
SellPlus
= 4,
35
SellShort
= 5,
36
SellShortExempt
= 6,
37
Undisclosed
= 7,
38
Cross
= 8,
39
CrossShort
= 9,
40
CrossShortExempt
= 10,
41
AsDefined
= 11,
42
Opposite
= 12,
43
Subscribe
= 13,
44
Redeem
= 14,
45
Lend
= 15,
46
Borrow
= 16,
47
Invalid
= 17,
48
Held
= 18,
49
};
50
51
inline
const
char
*
ToString
(
const
OrderSide
value)
52
{
53
switch
(value)
54
{
55
case
OrderSide::NotSet
:
56
return
"NotSet"
;
57
case
OrderSide::Buy
:
58
return
"Buy"
;
59
case
OrderSide::Sell
:
60
return
"Sell"
;
61
case
OrderSide::BuyMinus
:
62
return
"BuyMinus"
;
63
case
OrderSide::SellPlus
:
64
return
"SellPlus"
;
65
case
OrderSide::SellShort
:
66
return
"SellShort"
;
67
case
OrderSide::SellShortExempt
:
68
return
"SellShortExempt"
;
69
case
OrderSide::Undisclosed
:
70
return
"Undisclosed"
;
71
case
OrderSide::Cross
:
72
return
"Cross"
;
73
case
OrderSide::CrossShort
:
74
return
"CrossShort"
;
75
case
OrderSide::CrossShortExempt
:
76
return
"CrossShortExempt"
;
77
case
OrderSide::AsDefined
:
78
return
"AsDefined"
;
79
case
OrderSide::Opposite
:
80
return
"Opposite"
;
81
case
OrderSide::Subscribe
:
82
return
"Subscribe"
;
83
case
OrderSide::Redeem
:
84
return
"Redeem"
;
85
case
OrderSide::Lend
:
86
return
"Lend"
;
87
case
OrderSide::Borrow
:
88
return
"Borrow"
;
89
case
OrderSide::Invalid
:
90
return
"Invalid"
;
91
case
OrderSide::Held
:
92
return
"Held"
;
93
default
:
94
return
"Unknown"
;
95
}
96
}
97
}
ttsdk
Definition
account.h:21
ttsdk::OrderSide
OrderSide
Definition
OrderSide.h:29
ttsdk::OrderSide::CrossShortExempt
@ CrossShortExempt
ttsdk::OrderSide::SellShortExempt
@ SellShortExempt
ttsdk::OrderSide::Sell
@ Sell
ttsdk::OrderSide::SellPlus
@ SellPlus
ttsdk::OrderSide::Invalid
@ Invalid
ttsdk::OrderSide::BuyMinus
@ BuyMinus
ttsdk::OrderSide::Borrow
@ Borrow
ttsdk::OrderSide::SellShort
@ SellShort
ttsdk::OrderSide::CrossShort
@ CrossShort
ttsdk::OrderSide::Redeem
@ Redeem
ttsdk::OrderSide::Buy
@ Buy
ttsdk::OrderSide::Undisclosed
@ Undisclosed
ttsdk::OrderSide::Lend
@ Lend
ttsdk::OrderSide::Subscribe
@ Subscribe
ttsdk::OrderSide::Opposite
@ Opposite
ttsdk::OrderSide::Cross
@ Cross
ttsdk::OrderSide::AsDefined
@ AsDefined
ttsdk::OrderSide::Held
@ Held
ttsdk::OrderSide::NotSet
@ NotSet
ttsdk::ToString
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition
connection.h:50
ttsdk::NotSet
@ NotSet
Definition
environment.h:7
Header Files
enums
OrderSide.h
Generated by
1.10.0