Running gekko in the background with PM2
#11
Thank you
@ monty
****************************************
edit
****************************************
Automatically start your application on boot Pm2   [Image: smile.png] 
start application first

pm2 start gekko.js -n "xxxxxx1" -- -c config.js

then apply this command

pm2 startup systemd

Now if your Node.js application crashes due to an error it will restart, and if Ubuntu crashes for any reason, the process will automatically restart with Ubuntu. The processes can be restarted


to stop
pm2 unstartup systemd
  Reply
#12
PM2 is amazing, this is seriously awesome...the more I learn the more I love gekko....
  Reply
#13
(05-21-2018, 06:48 PM)monty Wrote:
(05-21-2018, 06:03 PM)pingywon Wrote:
(05-21-2018, 02:50 AM)ankasem Wrote: @ Sirtificate
thank you

We started as pm2 cli
ubuntu server is down
when ubuntu server is opened
How to start pm2 at boot time

I am rather sure this user is asking how to get gekko to auto run at boot. I have the same question. Can anyone help?

https://github.com/askmike/gekko/wiki/Ge...th-Systemd

That did not seem to work for me for some reason. No errors everything looks good - but it simply doe not work :*(
  Reply
#14
(05-21-2018, 09:16 PM)pingywon Wrote:
(05-21-2018, 06:48 PM)monty Wrote:
(05-21-2018, 06:03 PM)pingywon Wrote:
(05-21-2018, 02:50 AM)ankasem Wrote: @ Sirtificate
thank you

We started as pm2 cli
ubuntu server is down
when ubuntu server is opened
How to start pm2 at boot time

I am rather sure this user is asking how to get gekko to auto run at boot. I have the same question. Can anyone help?

https://github.com/askmike/gekko/wiki/Ge...th-Systemd

That did not seem to work for me for some reason. No errors everything looks good - but it simply doe not work :*(
check this:


Attached Files
.jpg   Capture.JPG (Size: 39.76 KB / Downloads: 45)
  Reply
#15
Automatically start your application on boot Pm2   Smile
start application first


Enter gekko folder

pm2 start gekko.js -n "xxxx1" -- -c config.js

then apply this command

pm2 startup systemd

Now if your Node.js application crashes due to an error it will restart, and if Ubuntu crashes for any reason, the process will automatically restart with Ubuntu. The processes can be restarted


to stop
pm2 unstartup systemd
  Reply
#16
Helpful thread,
I agree entirely with you susitronix,
But VPN must be reliable and fast because most of the VPN slow the speed of your internet. That is why I recommend Ivacy VPN for more about ivacy you can check this in-depth review ivacy.
  Reply
#17
[quote pid='1906' dateline='1518539423']
 
[/quote]

@ Sirtificate 
Thank you very much for this helpful tools.
May I ask how  do you manage each profit calculation in this mode?Only check the log? 
Thanks in advance.
  Reply
#18
any advice on how to set this up for multiple gekkos say 50? i want to mod gekko to give me signals rather than trade and i need to have gekko run on all my pairs. with pm2 do this efficiently? is so how do i create a list or start up gekko commands?
  Reply
#19
Enter gekko folder

folder names will be different


sample
cd a1
pm2 start gekko.js -n "a1" -- -c config.js

cd b1
pm2 start gekko.js -n "b1" -- -c config.js

run all
exit master root
pm2 startup systemd      ( if resets to re-work )
  Reply
#20
Thank you.

Would i need a separate folder or could i juat use different config files?
Example
config1
config2
etc
  Reply


Forum Jump:


Users browsing this thread: