mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-29 18:39:10 +08:00
37 lines
698 B
C++
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_ */
|