hikyuu2/hikyuu_cpp/hikyuu/data_driver/HistoryFinanceReader.h
2020-11-02 23:47:15 +08:00

37 lines
698 B
C++

/*
* HistoryFinanceReader.h
*
* Copyright (c) 2019 fasiondog
*
* Created on: 2019-4-2
* Author: fasiondog
*/
#pragma once
#ifndef HISTORYFINANCEREADER_H_
#define HISTORYFINANCEREADER_H_
#include "../Stock.h"
namespace hku {
/**
* 读取历史财务信息
* @ingroup DataDriver
*/
class HKU_API HistoryFinanceReader {
public:
HistoryFinanceReader() = delete;
explicit HistoryFinanceReader(const string& dir);
virtual ~HistoryFinanceReader();
PriceList getHistoryFinanceInfo(Datetime date, const string& market, const string& code);
private:
string m_dir; //历史财务信息文件存放目录
};
} // namespace hku
#endif /* HISTORYFINANCEREADER_H_ */