Gekko Buy/sell starting position
#1
Hi all,

One feature i think is needed is the ability for gekko to decide if long or short is the 1st trade to use, when you fire up gekko, currently it chooses to short each time you fire it up even when there is nothing to short.

Having gekko check if the balance is in favor of the asset or currency on start up then adjust the 1st trade would be ideal.

Thanks
  Reply
#2
In susitronix's guide:
https://forum.gekko.wizb.it/thread-56936.html

About 2/3 of the way down the page he shows you how to add a few lines of code which contains;
"this.logic.longpos == true" adding this and the other few lines should fix your problem

The rest of his guides have some good information/tips as well
  Reply


Forum Jump:


Users browsing this thread: