TT CORE SDK 2.1.1.1
TT CORE SDK documentation
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{
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