ActiveTick Feed C++ API SDK  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ATTickHistoryDBResponseParser.h
Go to the documentation of this file.
1 #pragma once
2 
4 
11 {
12 public:
18 
23 
24 public:
29  bool IsValid() const;
30 
35  uint64_t GetNextOffset() const;
36 
37  ATTIME GetOffsetDbDate() const;
38 
43  bool MoveToFirstRecord();
44 
49  bool MoveToNextRecord();
50 
56  ATTickHistoryRecordType GetRecordType() const;
57 
62  ATTIME GetRecordDateTime() const;
63 
69  ATExchangeType GetTradeLastExchange() const;
70 
76  ATPRICE GetTradeLastPrice() const;
77 
82  uint32_t GetTradeLastSize() const;
83 
89  ATTradeConditionType GetTradeCondition(uint32_t index) const;
90 
98  ATTradeConditionType* GetTradeConditions() const;
99 
105  ATExchangeType GetQuoteBidExchange() const;
106 
112  ATExchangeType GetQuoteAskExchange() const;
113 
119  ATPRICE GetQuoteBidPrice() const;
120 
126  ATPRICE GetQuoteAskPrice() const;
127 
132  uint32_t GetQuoteBidSize() const;
133 
138  uint32_t GetQuoteAskSize() const;
139 
145  ATQuoteConditionType GetQuoteCondition() const;
146 
152  LPATSYMBOL GetSymbol() const;
153 
159  ATSymbolStatus GetSymbolStatus() const;
160 
165  uint32_t GetRecordCount() const;
166 
167 private:
168  LPATTICKHISTORY_RESPONSE m_pResponse;
169  uint8_t* m_pCurrPtr;
170  uint32_t m_nCurrRecord;
171 };