Closed PiotrFerenc closed 3 years ago
Did you generate and fill in your Binance API and secret in the .env file?
Hi @PiotrFerenc
That is so weird to show the wrong balance. If it was test mode it would be showing millions of dollars, but just that?
Hmm... Are you sure you using the correct API key/secret? Even if it was not the correct one, showing one BTC is so strange.
Hmm... I think here is what you can do.
.env
configuration for API/Secret.$ docker-compose -f docker-compose.server.yml down -t1 -v
$ docker-compose -f docker-compose.server.yml up -d
Let me know how it goes.
Oh wait, I just checked your account screenshot again. It is the correct balance as the balance is rounded up to 0.00065. It looks like getting data from Binance Websocket issue.
Can you take this and whether this fixes your issue?
https://github.com/chrisleekr/binance-trading-bot/wiki/Troubleshooting#how-to-fix-clock-desync
Yes. Now balace is correct. 💪
But why i don't have "trading window" for my coin ?
https://user-images.githubusercontent.com/5715919/117468596-2ffe0b00-af98-11eb-99da-db45e8cbdc3c.png
..and in docker log (binance-bot)
api","version":"0.0.66","hostname":"41e7f76c5157","pid":18,"gitHash":"e634670","server":"cronjob","job":"trailingTradeIndicator","uuid":"af8987d0-db1b-4389-87ff-755ebb1623c5","level":50,"symbol":"BTCUSDT","err":{"message":"Timestamp for this request was 1000ms ahead of the server's time.","name":"Error","stack":"Error: Timestamp for this request was 1000ms ahead of the server's time.\n at /srv/node_modules/binance-api-node/dist/http-client.js:93:17\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async i (/srv/dist/server.js:1:28898)\n at async execute (/srv/dist/server.js:1:36491)\n at async execute (/srv/dist/server.js:1:35762)\n at async /srv/dist/server.js:1:51922\n at async CronJob.<anonymous> (/srv/dist/server.js:1:51760)","code":-1021},"debug":true,"msg":"âš Execution failed.","time":"2021-05-26T12:23:24.386Z","v":0}
Yap, the issue definitely is your time sync.
Timestamp for this request was 1000ms ahead of the server's time.
This should fix your issue.
https://github.com/chrisleekr/binance-trading-bot/wiki/Troubleshooting#how-to-fix-clock-desync
doesn't work: wsl --shutdown
Timestamp for this request was 1000ms ahead of the server's time.
try run follows commands with admin cmd prompt:
net stop w32time w32tm /unregister w32tm /register net start w32time w32tm /resync
restart docker and try again
try run follows commands with admin cmd prompt:
net stop w32time w32tm /unregister w32tm /register net start w32time w32tm /resync
restart docker and try again
works! 💪
docker-compose -f docker-compose.server.yml down -t1 -v
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync
as Adminwsl --shutdown
docker-compose -f docker-compose.server.yml up -d
Empty screen and wrong balance. :(
Version
Running Version: v0.0.66 (9787211) Latest Version: v0.0.66
Description
step:
npm run docker:build:win
docker-compose -f docker-compose.server.yml up -d