(07-30-2018, 03:28 AM)crypto49er Wrote: Hey,
That's a cool idea! I had something similar in mind but not passing the paper trade call to a live gekko.
So just to clarify though, if after the live gekko executes the go long advice for ADA-USDT, several hours later, the paper trader for XLM-USDT finds favorable conditions and pass a buy call to the live gekko, what happens? I'm assuming the a sell order is placed for ADA-USDT if it is a winning trade and a buy order is issued for XLM-USDT?
I think the gekkos can talk to each other via Telegram (look at the other thread Zappra started about talking to your strats). Then run the live gekko on PM2 and make a way to cause gekko to error out (PM2 will auto restart) with the new trade pair. The only thing is writing to the config-file the new trade pair. Not sure how to do that but I'm pretty sure that's doable.
That is something that would need to be thought out … I would imagine a simple way to look at it is that if we go long on any pair we stay long on that pair until a short comes around … once the short is active we look for the next candidate for a long position … if it happens to be the same coin we were already trading so be it … if not we bounce to the next pair on our watch list that is moving in a favorable direction ….That's probably a fairly simple minded view of it … The expanded thought would be that if another coin was moving in a trajectory to exceed your current position you could initiate a sell off to purchase that coin … Seems to me though that the "simple" approach would suffice … if your long stay long … if you short look for a new opportunity ….
Another possibility would be that if in your example … XLM-USDT finds favorable conditions you somehow check the status of the ADA-USDT market and see if it is a candidate for shorting because it is trading sideways … I guess a lot of that would depend on the indicators used and the stop-loss settings etc … I am thinking you would already be out of a trade before looking for the next one … but it is a thought provoking question for sure ...
I am not sure if there would be a way to pass the coin in as a variable to a called Gekko … wonder if it could be written out to a file and called as an include to the config …
Thanks by the way for your videos … they helped me a few times … I gave you a shout out in my AWS Server Gekko Install Video !