hikyuu2/hikyuu_cpp/hikyuu/indicator/crt/ASIN.h
2019-05-01 18:27:14 +08:00

36 lines
522 B
C++

/*
* ASIN.h
*
* Copyright (c) 2019 hikyuu.org
*
* Created on: 2019-5-1
* Author: fasiondog
*/
#ifndef INDICATOR_CRT_ASIN_H_
#define INDICATOR_CRT_ASIN_H_
#include "CVAL.h"
namespace hku {
/**
* 反正弦值
* @ingroup Indicator
*/
Indicator HKU_API ASIN();
Indicator ASIN(price_t);
Indicator ASIN(const Indicator& ind);
inline Indicator ASIN(const Indicator& ind) {
return ASIN()(ind);
}
inline Indicator ASIN(price_t val) {
return ASIN(CVAL(val));
}
}
#endif /* INDICATOR_CRT_ASIN_H_ */