Closed thesam1545 closed 2 years ago
It works as expected on Python 3.9, make sure you upgrade first.
Please am new to python and just trying to test this bot script out. I ran the script and below is the output I got which seems like there's an error with "yaml" can't find any file like that in the actual files download from GitHub.
ARMSTRONGs-MacBook-Air:gateio-crypto-trading-bot-binance-announcements-new-coins armstrongonaiwu$ python3 main.py
Traceback (most recent call last):
File "/Users/armstrongonaiwu/gateio-crypto-trading-bot-binance-announcements-new-coins/main.py", line 1, in
Please am new to python and just trying to test this bot script out. I ran the script and below is the output I got which seems like there's an error with "yaml" can't find any file like that in the actual files download from GitHub.
ARMSTRONGs-MacBook-Air:gateio-crypto-trading-bot-binance-announcements-new-coins armstrongonaiwu$ python3 main.py Traceback (most recent call last): File "/Users/armstrongonaiwu/gateio-crypto-trading-bot-binance-announcements-new-coins/main.py", line 1, in from trade_client import File "/Users/armstrongonaiwu/gateio-crypto-trading-bot-binance-announcements-new-coins/trade_client.py", line 1, in from auth.gateio_auth import File "/Users/armstrongonaiwu/gateio-crypto-trading-bot-binance-announcements-new-coins/auth/gateio_auth.py", line 1, in import yaml ModuleNotFoundError: No module named 'yaml'
You should install requirements
$ pip install yaml
👆 or navigate to your local project directory and install all the requirements in one go: python -m pip install -r requirements.txt
or pip3 install -r requirements.txt
for linux
Thanks done and ran the script again and started gotting some output which I believe is working now. please confirm that's what is expected.
python3 main.py working... No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating. You can comment me out, I live on line 176 in main.py Checking for coin announcements every 1 minute (in a separate thread) No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating. You can comment me out, I live on line 176 in main.py No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating. You can comment me out, I live on line 176 in main.py No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating. You can comment me out, I live on line 176 in main.py Checking for coin announcements every 1 minute (in a separate thread) No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating. You can comment me out, I live on line 176 in main.py No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating. You can comment me out, I live on line 176 in main.py No coins announced, or coin has already been bought/sold. Checking more frequently in case TP and SL need updating. You can comment me out, I live on line 176 in main.py
Also in the config file, the quantity is it the amount one intend to spend on the coin? or the number of coins to buy.
that is the expected output, yes
that is the expected output, yes
I really admire your project here, and the talking robot in YT. hehe I know you did not make a lot of testing here because there is no testnet in Gateio... What do you think that may go wrong?
When Binance placed this news, I tested your previous project, and it created a file with a coin list like this "AVAXAUDAVAXBRLAXSETHFTMETH....." Was this corrected?
Interesting, thanks for flagging that. It should have been excluded in this version, I didn’t get an output like that but I will keep an eye on it.
My main concern is that Gate.io will be particularly picky about the amount used for each coin, with precise decimal points for each.
Edit: appreciate you liking my content:)
I get this error when running script from main.py
I am on Windows 10 running Python through Visual Studio Code. I configured auth.yml file and config.yml file, all correctly. I also installed all requirements. I am not a programmer, so excuse me if this is a newbie error. :D