chrisleekr / binance-trading-bot

Automated Binance trading bot - Trade multiple cryptocurrencies. Buy low/sell high with Grid Trading. Integrated with TradingView technical analysis
MIT License
5.01k stars 1.1k forks source link

Failed to load your account information. #651

Open Hilbey opened 5 months ago

Hilbey commented 5 months ago

Version

Description

Hello, the bot used to work fine, but it hasn't been working for the last few months. I'm doing everything as instructed on Docker. I am using live key. Even though I made all the desired settings, I get an error. Does anyone have knowledge about this? Can you help me?

https://prnt.sc/AkKh9LTUXKdh

Blackslash76 commented 5 months ago

Same problem here

Hilbey commented 5 months ago

I guess no one will help with the installation. Why is it being shared then? :(

Rayn0r commented 5 months ago

I guess you have checked all the points listed on the screen?! Binance does revoke API Keys after a certain period of time, if you do not limit access to it via a fixed IP. So please have a look at this. As long as you specified:

## Live
BINANCE_LIVE_API_KEY=...
BINANCE_LIVE_SECRET_KEY=...

in you .env file, everything should be fine. Using the wrong docker-compose yaml could also cause problems. Depending on the file, they differ in at least 2 lines. While docker-compose.server.yml has:

    environment:
      # - BINANCE_MODE=test
      - BINANCE_MODE=live

and docker-compose.yml has:

    environment:
      - BINANCE_MODE=test
      # - BINANCE_MODE=live

I'd say it is best to bring docker up with :

 docker-compose -f docker-compose.server.yml up -d
Hilbey commented 5 months ago

Thank you for your answer. Is there any chance you can help me on this issue via discord or telegram? I do everything as described, but unfortunately when I log in to the bot, it gives a connection error. I've been having this problem for months and I haven't been able to fix it.

Rayn0r commented 5 months ago

Did you check the troubleshooting section in the Wiki here? It mentions installing "bunyan" using:

npm install -g bunyan

and then running:

docker logs binance-bot --tail=1000 | bunyan

to see what is going on inside the docker container...