Closed akitxu closed 1 year ago
I believe this is a duplicate of https://github.com/pmorissette/ffn/issues?q=is%3Aissue+divide+by+zero
timkpaine Indeed they refer to the same problem, but I still don't have any explanation / solution for this problem that limits me to use FFN. Greetings
Dear all. I have created this class to get the indicators. `class PreparadorFFN:
Calcular indicadores con FFN
datos_ffn = PreparadorFFN(create_df) preparadorFFN = PreparadorFFN(create_df) preparadorFFN. preparar_datos_ffn() preparadorFFN.construir_tabla_estadisticos() `
Me devuelve estadisticos y el error
'/home/enri/anaconda3/envs/yfinance/lib/python3.8/site-packages/ffn/core.py:2299: RuntimeWarning: divide by zero encountered in divide /home/enri/anaconda3/envs/yfinance/lib/python3.8/site-packages/ffn/core.py:258: RuntimeWarning: divide by zero encountered in divide'
What could be the cause and how can I fix it? Kind regards