Differents between this,advice() and this.advide('short')
#1
Hi,

I want to implement my first strategy in Gekko, I was reading the documentation and looking into the code of other strategies to learn of it, buy I have a doubt.

I want to create a strategy to buy a position at a value of RSI, in this moment, I will trigger will this.advice('long'), and I want to sell this position in a determinate price, so when the prices is above this level, How can I sell this position? this.advice() or this,advice('short')

What is this.advice() used for?

Thanks for your help!
  Reply


Messages In This Thread
Differents between this,advice() and this.advide('short') - by ialberquilla - 08-14-2018, 11:59 AM

Forum Jump:


Users browsing this thread: