unterstein / binance-trader

Experimental trading bot for crypto currency on Binance.com
Apache License 2.0
276 stars 145 forks source link

docker #5

Open Jagermeister56 opened 6 years ago

Jagermeister56 commented 6 years ago

when using a docker, is it calling to an API that isn't stored locally or something? I'm experiencing a massive delay between when the trader saying buying and actually places the order. screen shot 2018-01-07 at 11 19 41 pm screen shot 2018-01-07 at 11 19 15 pm

unterstein commented 6 years ago

Hey @Jagermeister56,

thank you for your second report! When the price goes up faster than the bot can place the bid, you usually see this log outputs. In my experience it does not make a difference if you run the bot inside a cgroup (docker) or not, this behavior depends on the current price development. Depending on your system docker will open a bridge network, but this should not affect ping or response time to binance in my experience.

Can you give the docker version a second try and check if the behavior changes?

Thanks Johannes

Jagermeister56 commented 6 years ago

Docker version 1.13.1, build 092cba3