TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
instrument_search.h
Go to the documentation of this file.
1/***************************************************************************
2 *
3 * Unpublished Work Copyright (c) 2018-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
19#include <stddef.h>
20#include "enums/ProductType.h"
21#include "enums/MarketId.h"
22#include "shared_ptr.h"
23
24namespace ttsdk {
25
27 {
28 public:
29 virtual ~InstrumentResult() {};
30 virtual const char* GetName() const noexcept = 0;
31 virtual const char* GetAlias() const noexcept = 0;
32 virtual uint64_t GetInstrumentId() const noexcept = 0;
33 virtual ProductType GetProductType() const noexcept = 0;
34 virtual const char* GetProductName() const noexcept = 0;
35 virtual const char* GetProductSymbol() const noexcept = 0;
36 virtual MarketId GetMarketId() const noexcept = 0;
37 virtual uint64_t GetMaturityDate() const noexcept = 0;
38 virtual const char* GetSeriesKey() const noexcept = 0;
39
40 protected:
42 };
44
46 {
47 public:
49 virtual size_t GetNumResults() const = 0;
50 virtual InstrumentResultPtr GetResult(const uint32_t index) const = 0;
51
52 protected:
54 };
55
57
58}
virtual MarketId GetMarketId() const noexcept=0
virtual ProductType GetProductType() const noexcept=0
virtual uint64_t GetInstrumentId() const noexcept=0
virtual const char * GetProductSymbol() const noexcept=0
virtual const char * GetName() const noexcept=0
virtual const char * GetProductName() const noexcept=0
virtual const char * GetAlias() const noexcept=0
virtual uint64_t GetMaturityDate() const noexcept=0
virtual const char * GetSeriesKey() const noexcept=0
virtual InstrumentResultPtr GetResult(const uint32_t index) const =0
virtual size_t GetNumResults() const =0
MarketId
Definition MarketId.h:29