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
from numpy import NaN as npNaN
ImportError: cannot import name 'NaN' from 'numpy' (/TradingBot-Based-on-MooMoo-main/venv/lib/python3.9/site-packages/numpy/init.py)
The text was updated successfully, but these errors were encountered:
There are so many version issues, I will make a update later. Thanks.
from numpy import NaN as npNaN ImportError: cannot import name 'NaN' from 'numpy' (/TradingBot-Based-on-MooMoo-main/venv/lib/python3.9/site-packages/numpy/init.py)
from numpy import NaN as npNaN ImportError: cannot import name 'NaN' from 'numpy' (/TradingBot-Based-on-MooMoo-main/venv/lib/python3.9/site-packages/numpy/init.py)
I just update the final version, please check the requirment.txt file for all the libs, it should be fine now. Oherwise, please check your Python version.
from numpy import NaN as npNaN ImportError: cannot import name 'NaN' from 'numpy' (/TradingBot-Based-on-MooMoo-main/venv/lib/python3.9/site-packages/numpy/init.py)
Hi for this issue, the reason is the pandas_ta use the old version or numpy.
To fix this, I replace pandas_ta with ta for the example stratrgy case.
from numpy import NaN as npNaN
ImportError: cannot import name 'NaN' from 'numpy' (/TradingBot-Based-on-MooMoo-main/venv/lib/python3.9/site-packages/numpy/init.py)
The text was updated successfully, but these errors were encountered: