pmorissette / ffn

ffn - a financial function library for Python
pmorissette.github.io/ffn
MIT License
2.03k stars 300 forks source link

error again due to invalid negative value #67

Open ShreyasChari opened 5 years ago

ShreyasChari commented 5 years ago

I moved to pyCharm and using ffn now to make equity curves etc... Receive this error again that i used to in jupyter but that went away. What do i need to do when i run in pyCharm:

C:\Users.....\venv\lib\site-packages\ffn\core.py:2054: RuntimeWarning: invalid value encountered in minimum negative_returns = np.minimum(returns, 0.)