Hikyuu
ConstantValue.h
浏览该文件的文档.
1 /*
2  * ConstantValue.h
3  *
4  * Created on: 2017年6月25日
5  * Author: Administrator
6  */
7 
8 #ifndef INDICATOR_IMP_CONSTANTVALUE_H_
9 #define INDICATOR_IMP_CONSTANTVALUE_H_
10 
11 #include "../Indicator.h"
12 
13 namespace hku {
14 
15 class ConstantValue: public IndicatorImp {
18 
19 public:
20  ConstantValue();
21  ConstantValue(double value, size_t len, size_t discard);
22  virtual ~ConstantValue();
23 };
24 
25 } /* namespace hku */
26 
27 #endif /* INDICATOR_IMP_CONSTANTVALUE_H_ */
#define INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
Definition: IndicatorImp.h:168
指标实现类,定义新指标时,应从此类继承
Definition: IndicatorImp.h:33
ConstantValue()
Definition: ConstantValue.cpp:12
Definition: ConstantValue.h:15
#define INDICATOR_IMP(classname)
Definition: IndicatorImp.h:178
virtual ~ConstantValue()
Definition: ConstantValue.cpp:30
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11
size_t discard() const
Definition: IndicatorImp.h:48