hikyuu2/hikyuu_cpp/hikyuu/data_driver/HistoryFinanceReader.h
2020-06-26 21:39:53 +08:00

37 lines
689 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;
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_ */