Howto: auto re-run Gekko on crash
Sometimes it happens that some error will occur in Gekko and the program will turn off, for example when we have runned Gekkos live trade. 

We can overcome this by simply loops in Bash.
for i in {1..10}
1. Save above code to loop.bash file and copy to Gekko directory.
2. $ chmod +x loop.bash
3. $ ./loop.bash "node gekko -c config.js"

After turning off Gekko, the script will launch Gekko again. He will repeat the action 10 times.
thank you
how does it work for (ui) mod
It dont working for UI Live Trader only for CLI.
thank you

I found the following command

forever start -a ~/gekko/gekko.js --ui
forever stop ~/gekko/gekko.js --ui

-a flag is to keep a log.
Hi guys, i cant get either of these to work and Gekko crashes out at 5am each morning for reasons unknown, any other solutions for tit o auto connect for me?
When you will do it wrong you will find a crash or error on the front page. When you found it you must get paper now review to fix this error by paying some money.

Forum Jump:

Users browsing this thread: