Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

how to stop a trader bot (strategy rsi) #2059

Closed
twiiix opened this issue Mar 26, 2018 · 6 comments
Closed

how to stop a trader bot (strategy rsi) #2059

twiiix opened this issue Mar 26, 2018 · 6 comments

Comments

@twiiix
Copy link

twiiix commented Mar 26, 2018

I started a live gekko bot trader and I want to stop it. How to do?

@twiiix twiiix closed this as completed Mar 26, 2018
@twiiix twiiix reopened this Mar 26, 2018
@CyborgDroid
Copy link

The only way I have found is the command line. You kind of have to know what time you started your "child" worker or at least know the order. So here I wanted to kill the last worker I started which is the trading bot so I picked the one with 00:00 in the time. The other workers can be market watchers, paper traders, etc.

ps -ax | grep node
kill -9 [pid]

example:

ubuntu:~$ps -ax | grep node
11888 ?        Ssl    0:01 /home/ubuntu/.nvm/versions/node/v6.11.2/bin/node /home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/forever/bin/monitor /home/ubuntu/gekko-nn/gekko.js
11898 ?        Sl     0:17 /home/ubuntu/.nvm/versions/node/v6.11.2/bin/node /home/ubuntu/gekko-nn/gekko.js --ui
11908 ?        Sl     2:43 /home/ubuntu/.nvm/versions/node/v6.11.2/bin/node /home/ubuntu/gekko-nn/core/workers/pipeline/child
21850 ?        Sl     0:00 /home/ubuntu/.nvm/versions/node/v6.11.2/bin/node /home/ubuntu/gekko-nn/core/workers/pipeline/child
22117 pts/0    S+     0:00 grep --color=auto node
ubuntu:~$ kill -9 21850

@twiiix
Copy link
Author

twiiix commented Mar 30, 2018

thx :)

@rheos
Copy link

rheos commented Apr 17, 2018

I really hope a button for this is added at some point.

@hilkoc
Copy link
Contributor

hilkoc commented Jun 16, 2018

I'd really like to see this fixed and don't mind to code this myself.
Hi @askmike , could you provide some guidance on what would be the best way to implement this?

@hilkoc
Copy link
Contributor

hilkoc commented Jun 22, 2018

Finally, a working stop button to stop any running gekko; tradebot, marketwatcher or paper trader. If interested feel free to merge in my branch .

The UI button was taken from this pull request. I fixed the back-end in the last commit on my branch.

@askmike
Copy link
Owner

askmike commented Jul 4, 2018

  • update gekko to 0.6
  • click the stop button

:)

@askmike askmike closed this as completed Jul 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants