pandas-ta
pandas-ta copied to clipboard
Issue #781
Added
- Added a new file
smc.py
in thepandas_ta/momentum
folder for the Smart Money Indicator (SMI). - Included
smc
in thepandas_ta/__init__.py
for module-level access. - Added
def smc(self, fast=None, slow=None, signal=None, scalar=None, offset=None, **kwargs):
topandas_ta/core.py
for core functionality of the SMI/ SMCindicator.
- Created tests for the SMI indicator in
tests/test_ext_indicator_momentum.py
. - Created tests for the SMI indicator in
tests/test_indicator_momentum.py
.
Fixed
- Ensured all tests pass after adding the new indicator and its corresponding tests.