You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Much appreciate about the library.
I'm on Python 3.9 and Windows 10, met following error:
C:\Users\****\AppData\Local\Programs\Python\Python39\lib\site-packages\rqrisk\risk.py:127: RuntimeWarning: invalid value encountered in double_scalars return (self.annual_return - self.beta * self.benchmark_annual_return) / annual_residual_std
I edited my local code with safe_div and it worked without warning.
but I'm not sure if it is the right solution.
And I found that risk.py from 1.0.2 has a different impl from 1.0.0
and the module version on PyPI is 1.0.0
Will there be an updated version on PyPI?
The text was updated successfully, but these errors were encountered:
Hi, Much appreciate about the library.
I'm on Python 3.9 and Windows 10, met following error:
C:\Users\****\AppData\Local\Programs\Python\Python39\lib\site-packages\rqrisk\risk.py:127: RuntimeWarning: invalid value encountered in double_scalars return (self.annual_return - self.beta * self.benchmark_annual_return) / annual_residual_std
I edited my local code with safe_div and it worked without warning.
but I'm not sure if it is the right solution.
And I found that risk.py from 1.0.2 has a different impl from 1.0.0
and the module version on PyPI is 1.0.0
Will there be an updated version on PyPI?
The text was updated successfully, but these errors were encountered: