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

29 lines
536 B
C++
Raw Normal View History

2019-03-18 23:12:01 +08:00
/*
* ConstantValue.h
*
* Created on: 2017625
* Author: Administrator
*/
#pragma once
2019-03-18 23:12:01 +08:00
#ifndef INDICATOR_IMP_CONSTANTVALUE_H_
#define INDICATOR_IMP_CONSTANTVALUE_H_
#include "../Indicator.h"
namespace hku {
2019-11-10 23:31:41 +08:00
class ConstantValue : public IndicatorImp {
2019-03-18 23:12:01 +08:00
INDICATOR_IMP(ConstantValue)
INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
public:
ConstantValue();
ConstantValue(double value, size_t discard);
virtual ~ConstantValue();
};
} /* namespace hku */
#endif /* INDICATOR_IMP_CONSTANTVALUE_H_ */