hikyuu2/hikyuu_cpp/hikyuu/indicator/imp/StdDeviation.h
2019-03-20 02:47:02 +08:00

33 lines
594 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* StdDeviation.h
*
* Created on: 2013-4-18
* Author: fasiondog
*/
#ifndef STDDEVIATION_H_
#define STDDEVIATION_H_
#include "../Indicator.h"
namespace hku {
/*
* 计算N周期内样本标准差
* 参数: n: N日时间窗口
* TODO ma : 计算均值的函数原型
* link均值参数联动标志默认true
*
*/
class StdDeviation: public hku::IndicatorImp {
INDICATOR_IMP(StdDeviation)
INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
public:
StdDeviation();
virtual ~StdDeviation();
};
} /* namespace hku */
#endif /* STDDEVIATION_H_ */