zyairelai / futures-hero

❗ HIGH RISK ❗ Scalping Trading on Binance Futures
163 stars 48 forks source link

My run start issue #18

Closed tontheonelove closed 2 years ago

tontheonelove commented 2 years ago

Hi Sir.

     i fork  and  follow tutorial step 

   1.   add  my key & secrete  in  binance_futures_api.py 
   2.   run pip3 install apscheduler==3.6.3
               pip3 install cryptography==3.3.2 
               pip3 install python-binance==0.7.9
               pip3 install termcolor==1.1.0
   3.   try run  python3 run.py

but not work and see error like this

root@ubuntu:~/futures-hero# python3 run.py Pair Name : BTCUSDT Trade Quantity : 0.001 BTC Leverage : 50

Traceback (most recent call last): File "run.py", line 7, in import strategy_hybrid File "/root/futures-hero/strategy_hybrid.py", line 1, in import RSI File "/root/futures-hero/RSI.py", line 1, in import pandas as pd ModuleNotFoundError: No module named 'pandas' root@ubuntu:~/futures-hero# pandas -v pandas: command not found

zyairelai commented 2 years ago

I forgot to add the pandas library as it is new and I didn't update the old documentations. For Python 3, when we have the requirements.txt in the repository, you can simple run:

pip3 install -r requirements.txt

This will automatically install all the requirements that listed in requirements.txt. Please close this thread after you solved this issue.

tontheonelove commented 2 years ago

Thankyou for help me sir. i follow pip3 install -r requirements.txt

and i try run python3 run.py again is still issue i dont know why pls help again

root@ubuntu:~/futures-hero# python3 run.py Pair Name : BTCUSDT Trade Quantity : 0.001 BTC Leverage : 50

Traceback (most recent call last): File "run.py", line 7, in import strategy_hybrid File "/root/futures-hero/strategy_hybrid.py", line 1, in import RSI File "/root/futures-hero/RSI.py", line 1, in import pandas as pd ModuleNotFoundError: No module named 'pandas'

zyairelai commented 2 years ago

If you follow pip3 install -r requirements.txt you shouldn't encounter this problem. Since pandas is the module missing, try pip3 install pandas.

Or you can simply google ModuleNotFoundError: No module named 'pandas' to seek the answer you want.