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

Unable to stop a market watcher or Strat runner #1306

Closed
djh82uk opened this issue Nov 9, 2017 · 6 comments
Closed

Unable to stop a market watcher or Strat runner #1306

djh82uk opened this issue Nov 9, 2017 · 6 comments

Comments

@djh82uk
Copy link

djh82uk commented Nov 9, 2017

Is there any way?

@StevenHop
Copy link

Lurking for a while now: this is a question i can answer easily :)
The documentation states:

Stopping Gekko : In the command line hold ctrl + c.

It is on the bottom of this page: https://gekko.wizb.it/docs/installation/installing_gekko_on_windows.html

@djh82uk
Copy link
Author

djh82uk commented Nov 10, 2017

Yeah I can stop the script, but I just want to stop the Strat from running

@StevenHop
Copy link

Ah. I recognize the problem. If you have two Strats running you have to kill both. Somewhere i read this is on the roadmap. I have solved this for now by starting each gekko in a separate directory with their own port. C:\Gekko0=3000, C:\gekko1=3001, enz.. I sometimes copy the database between them or to a third directory to test strategys..

@tomand285
Copy link

Another way of doing this is saving the PID of each process into the database and then KILL the process you want to remove. You could make a html button to remove each processes. I recommend saving them in the DB because if the main program crashes, the child processes can still be controlled upon restart of the UI program. Of course you would have to check to see if the processes are still running every now and then and remove the ones that are not from the DB but that should be simple.

@askmike
Copy link
Owner

askmike commented Nov 16, 2017

The UI is very basic for now. This will be properly supported in the next version. See #911 for details :)

@hilkoc
Copy link
Contributor

hilkoc commented Jun 22, 2018

I finally got this fixed. See my last comment on #2059.

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