I am using Python 3.7 and I am getting this error when I try to run the calc_stats() method.
C:\Python_3.7\lib\site-packages\ffn\core.py:2054: RuntimeWarning: invalid value encountered in minimum
negative_returns = np.minimum(returns, 0.)
Can you help me out? I really like the library.
Thanks.
I am using Python 3.7 and I am getting this error when I try to run the calc_stats() method. C:\Python_3.7\lib\site-packages\ffn\core.py:2054: RuntimeWarning: invalid value encountered in minimum negative_returns = np.minimum(returns, 0.) Can you help me out? I really like the library. Thanks.