From 49c8faf812dd8a3379912de5571535d60a12dc9a Mon Sep 17 00:00:00 2001 From: Jaime Lopez Date: Sat, 21 Dec 2024 08:12:31 -0500 Subject: [PATCH] Update --- pybottrader/indicators/src/bindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybottrader/indicators/src/bindings.cpp b/pybottrader/indicators/src/bindings.cpp index 42b6c35..831eb46 100644 --- a/pybottrader/indicators/src/bindings.cpp +++ b/pybottrader/indicators/src/bindings.cpp @@ -32,7 +32,7 @@ PYBIND11_MODULE(_indicators, m) { .def("update", &EMA::update); py::class_>(m, "RSI") - .def(py::init(), py::arg("period"), py::arg("mem_size") = 1) + .def(py::init(), py::arg("period") = 14, py::arg("mem_size") = 1) .def("update", &RSI::update, py::arg("open_price"), py::arg("close_price"));