Hikyuu
IPriceList.h
浏览该文件的文档.
1 /*
2  * IPriceList.h
3  *
4  * Created on: 2013-2-12
5  * Author: fasiondog
6  */
7 
8 #ifndef IPRICELIST_H_
9 #define IPRICELIST_H_
10 
11 #include "../Indicator.h"
12 
13 namespace hku {
14 
15 //找到数组最后一个Null<price_t>,并将之前的数据全部置为Null
16 class IPriceList: public IndicatorImp {
19 
20 public:
21  IPriceList();
22  IPriceList(const PriceList&, int discard);
23  IPriceList(price_t *, size_t);
24  virtual ~IPriceList();
25 };
26 
27 
28 } /* namespace hku */
29 #endif /* IPRICELIST_H_ */
#define INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
Definition: IndicatorImp.h:168
指标实现类,定义新指标时,应从此类继承
Definition: IndicatorImp.h:33
Definition: IPriceList.h:16
vector< price_t > PriceList
Definition: DataType.h:66
IPriceList()
Definition: IPriceList.cpp:12
virtual ~IPriceList()
Definition: IPriceList.cpp:64
double price_t
Definition: DataType.h:53
#define INDICATOR_IMP(classname)
Definition: IndicatorImp.h:178
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11
size_t discard() const
Definition: IndicatorImp.h:48