Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jailop committed Dec 21, 2024
1 parent b3073c3 commit 49c8faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybottrader/indicators/src/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PYBIND11_MODULE(_indicators, m) {
.def("update", &EMA::update);

py::class_<RSI, Indicator<double>>(m, "RSI")
.def(py::init<double, double>(), py::arg("period"), py::arg("mem_size") = 1)
.def(py::init<int, int>(), py::arg("period") = 14, py::arg("mem_size") = 1)
.def("update", &RSI::update,
py::arg("open_price"),
py::arg("close_price"));
Expand Down

0 comments on commit 49c8faf

Please sign in to comment.