hikyuu2/hikyuu_cpp/hikyuu/data_driver/HistoryFinanceReader.h

37 lines
698 B
C++
Raw Normal View History

/*
* HistoryFinanceReader.h
2019-11-10 23:31:41 +08:00
*
* Copyright (c) 2019 fasiondog
2019-11-10 23:31:41 +08:00
*
* Created on: 2019-4-2
* Author: fasiondog
*/
#pragma once
#ifndef HISTORYFINANCEREADER_H_
#define HISTORYFINANCEREADER_H_
2019-04-05 17:43:35 +08:00
#include "../Stock.h"
namespace hku {
/**
*
2020-06-26 21:39:53 +08:00
* @ingroup DataDriver
*/
class HKU_API HistoryFinanceReader {
public:
HistoryFinanceReader() = delete;
2020-11-02 23:47:15 +08:00
explicit HistoryFinanceReader(const string& dir);
virtual ~HistoryFinanceReader();
2019-11-10 23:31:41 +08:00
PriceList getHistoryFinanceInfo(Datetime date, const string& market, const string& code);
private:
string m_dir; //历史财务信息文件存放目录
};
2019-11-10 23:31:41 +08:00
} // namespace hku
#endif /* HISTORYFINANCEREADER_H_ */