08-14-2018, 12:44 PM
Quote:What is this.advice() used for?
This is how your strategy tells Gekko what to do:
- If you fire a `this.advice('long')` Gekko will buy.
- if you fire a `this.advice('short')` Gekko will sell.
Quote: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')
Yep!
Quote: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')
The latter!