Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a runtime error on data.calc_stats() #79

Closed
CarterFitz opened this issue Jul 29, 2019 · 1 comment
Closed

Getting a runtime error on data.calc_stats() #79

CarterFitz opened this issue Jul 29, 2019 · 1 comment

Comments

@CarterFitz
Copy link

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.

@timkpaine
Copy link
Collaborator

dupe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants