So will this work? - I am editing sticky order JS to do as follows:
basically I am trying to limit the movement in price to maximum of XX amount !
Gekko is selling, but not buying / not even submitting orders!
The sticky order is a nice feature! but it leads to many failed trades..
basically I am trying to limit the movement in price to maximum of XX amount !
Code:
if(side === 'buy') {
if(params.limit) {
this.limit = this.roundPrice(params.limit);
} else {
this.noLimit = false;
this.limit = 0.0000010;
}
} else {
if(params.limit) {
this.limit = this.roundPrice(params.limit);
} else {
this.noLimit = false;
this.limit = -0.0000005;
}
}
Gekko is selling, but not buying / not even submitting orders!
The sticky order is a nice feature! but it leads to many failed trades..