TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
TradeQualifier.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#pragma once
18
19namespace ttsdk
20{
21 enum class TradeQualifier
22 {
23 Regular = 0,
24 ImpliedTrade = 1,
25 LegTrade = 12,
26 Auction = 20,
27 Unknown = 255,
28 };
29
30 inline const char* ToString(const TradeQualifier value)
31 {
32 switch (value)
33 {
35 return "Regular";
37 return "ImpliedTrade";
39 return "LegTrade";
41 return "Auction";
42 default:
43 return "Unknown";
44 }
45 }
46}
const char * ToString(const AccountConnectionStatus::ConnectionStatus status)
Definition connection.h:50