bukosabino / ta

Technical Analysis Library using Pandas and Numpy
https://technical-analysis-library-in-python.readthedocs.io/en/latest/
MIT License
4.35k stars 923 forks source link

Average Directional Movement Index (ADX) #117

Open steven2K19 opened 4 years ago

steven2K19 commented 4 years ago

RuntimeWarning: invalid value encountered in double_scalars

jamesmogg commented 4 years ago

I get the same error dip[i] = 100 * (self._dip[i]/self._trs[i]) RuntimeWarning: invalid value encountered in double_scalars`

on lines 543 and 547 of trend.py

bukosabino commented 4 years ago

This is a warning.

I will fix it as soon as possible.

Best, Darío

alm0ra commented 4 years ago

please fix this issue