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
26namespace ttsdk
27{
28 enum class OrdStatus
29 {
30 NotSet = 0,
31 New = 1,
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,
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 {
55 return "NotSet";
56 case OrdStatus::New:
57 return "New";
59 return "PartiallyFilled";
61 return "Filled";
63 return "DoneForDay";
65 return "Canceled";
67 return "PendingCancel";
69 return "Stopped";
71 return "Rejected";
73 return "Suspended";
75 return "PendingNew";
77 return "Calculated";
79 return "Expired";
81 return "AcceptedForBidding";
83 return "PendingReplace";
85 return "Unknown";
87 return "Inactive";
89 return "Planned";
90 default:
91 return "Unknown";
92 }
93 }
94}
OrdStatus
Definition OrdStatus.h:29
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition connection.h:50
@ NotSet
Definition environment.h:7