How to run two trade boots with two gekko in two stock exchanges
#3
Two different exchanges shouldn't be a problem for gekko through the UI or command line - just add the different API keys and select the relevant exchange when you start the bot.

If you mean two different accounts on the same exchange:

Running the bots from the command line, you only need one copy of gekko, a config file for each bot (you can specify the api key to use in the config so can have different configs using different accounts on the same exchange). Start each bot with "pm2 start gekko.js -n "Name for this trading bot" -- --config /path/to/your/config.js"

If you want to trade through the UI you will need two separate copies of gekko, you will need to change the port of one of them - i.e. replace the port:3000 in web/vue/UIconfig.js with port:3001. Start them both either from terminal or in PM2 (preferred) and open two browser tabs, one to localhost:3000, the other to localhost:3001
  Reply


Messages In This Thread
RE: How to run two trade boots with two gekko in two stock exchanges - by Gryphon - 02-26-2018, 08:59 AM

Forum Jump:


Users browsing this thread: