mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-05 05:17:47 +08:00
32 lines
515 B
C++
32 lines
515 B
C++
/*
|
|
* IStdp.h
|
|
*
|
|
* Copyright (c) 2019 hikyuu.org
|
|
*
|
|
* Created on: 2019-4-18
|
|
* Author: fasiondog
|
|
*/
|
|
|
|
#ifndef INDICATOR_IMP_ISTDP_H_
|
|
#define INDICATOR_IMP_ISTDP_H_
|
|
|
|
#include "../Indicator.h"
|
|
|
|
namespace hku {
|
|
|
|
/*
|
|
* 计算N周期内总体标准差
|
|
* 参数: n: N日时间窗口
|
|
*/
|
|
class IStdp: public hku::IndicatorImp {
|
|
INDICATOR_IMP(IStdp)
|
|
INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
|
|
|
|
public:
|
|
IStdp();
|
|
virtual ~IStdp();
|
|
};
|
|
|
|
} /* namespace hku */
|
|
#endif /* INDICATOR_IMP_ISTDP_H_ */
|