hikyuu2/hikyuu_cpp/hikyuu/indicator/imp/StdDeviation.h

33 lines
594 B
C++
Raw Normal View History

2019-03-20 02:47:02 +08:00
/*
* 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 :
* linktrue
*
*/
class StdDeviation: public hku::IndicatorImp {
INDICATOR_IMP(StdDeviation)
INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
public:
StdDeviation();
virtual ~StdDeviation();
};
} /* namespace hku */
#endif /* STDDEVIATION_H_ */