Skip to content

Commit

Permalink
remove CONST
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Jan 31, 2025
1 parent 3e9dd65 commit a4f6d42
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 107 deletions.
1 change: 0 additions & 1 deletion hikyuu_cpp/hikyuu/indicator/build_in.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "crt/BLOCKSETNUM.h"
#include "crt/CEILING.h"
#include "crt/CONTEXT.h"
#include "crt/CONST.h"
#include "crt/CORR.h"
#include "crt/COS.h"
#include "crt/COST.h"
Expand Down
28 changes: 0 additions & 28 deletions hikyuu_cpp/hikyuu/indicator/crt/CONST.h

This file was deleted.

42 changes: 0 additions & 42 deletions hikyuu_cpp/hikyuu/indicator/imp/IConst.cpp

This file was deleted.

26 changes: 0 additions & 26 deletions hikyuu_cpp/hikyuu/indicator/imp/IConst.h

This file was deleted.

10 changes: 0 additions & 10 deletions hikyuu_pywrap/indicator/_build_in.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2119,14 +2119,4 @@ void export_Indicator_build_in(py::module& m) {
:param Indicator data: 指标
:param int discard: 丢弃数据量
:rtype: Indicator)");

m.def("CONST", py::overload_cast<>(CONST));
m.def("CONST", py::overload_cast<const Indicator&>(CONST), py::arg("data"),
R"(CONST(value)
取值设为常数
用法: CONST(A) 取A最后的值为常量。(未来函数)
:param Indicator data: 输入指标
:rtype: Indicator)");
}

0 comments on commit a4f6d42

Please sign in to comment.