Gekko Forum
Internet connection loss - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: General Discussion (https://forum.gekko.wizb.it/forum-14.html)
+--- Thread: Internet connection loss (/thread-56582.html)



Internet connection loss - arminb - 03-19-2018

I noticed that my market watcher was removed as my internet connection got lost. Since then the bot did not trade. Now I manually created a new market watcher for the strat runner's exchange/currency/asset. The strat runner seems to have accepted the new market watcher and is up to date. Now I wonder if the bot will continue trading correctly? Also how can we prevent market watcher being removed on internet connection lost?


RE: Internet connection loss - askmike - 03-20-2018

This is definitely a very subtle bug. The stratrunner should also have crashed. Will definitely be fixed in the next version.

Technically it's not safe to start a new market watcher while keeping the stratrunner running. Best thing to do here is to restart Gekko and start both of them again. The reasoning is explained here: https://github.com/askmike/gekko/issues/514


RE: Internet connection loss - arminb - 03-20-2018

Thanks, Mike. Can we keep the strat runner and market watcher persistent between connection losses? Or do I HAVE to restart them manually?


RE: Internet connection loss - askmike - 03-20-2018

The current version of the UI is actually quite limited here: you have to restart both, the only way to do this right now is to restart the UI.

In the future version I'll add an option to automatically restart both. Note that they will be different bots, I don't see any way around that I am afraid.