Hikyuu
StdDeviation.h
浏览该文件的文档.
1 /*
2  * StdDeviation.h
3  *
4  * Created on: 2013-4-18
5  * Author: fasiondog
6  */
7 
8 #ifndef STDDEVIATION_H_
9 #define STDDEVIATION_H_
10 
11 #include "../Indicator.h"
12 
13 namespace hku {
14 
15 /*
16  * 计算N周期内样本标准差
17  * 参数: n: N日时间窗口
18  * TODO ma : 计算均值的函数原型
19  * link:均值参数联动标志,默认true
20  *
21  */
25 
26 public:
27  StdDeviation();
28  virtual ~StdDeviation();
29 };
30 
31 } /* namespace hku */
32 #endif /* STDDEVIATION_H_ */
#define INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
Definition: IndicatorImp.h:168
Definition: StdDeviation.h:22
指标实现类,定义新指标时,应从此类继承
Definition: IndicatorImp.h:33
virtual ~StdDeviation()
Definition: StdDeviation.cpp:17
StdDeviation()
Definition: StdDeviation.cpp:13
#define INDICATOR_IMP(classname)
Definition: IndicatorImp.h:178
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11