Help for beginner
#1
Hello, 
 is there any list with gekko commands in JS(like this.Advice etc)? The second thing is if someone can give me some good link to learn JS as fast as possible, because I have strategy, Im trading for few years, but my skills in JS arent good enough to write my own code... :Big Grin

Thank you
  Reply
#2
Awesome that you are trying to learn it!

Quote: is there any list with gekko commands in JS(like this.Advice etc)?

This document has 95% of what you can do: https://gekko.wizb.it/docs/strategies/cr...ategy.html

But I agree, we need better documentation for this. If things are not clear feel free to let us know in this thread so we can improve the docs!

Quote:The second thing is if someone can give me some good link to learn JS as fast as possible

I would recommend using a free tool like Code Academy: https://www.codecademy.com/
  Reply
#3
Hello! I would want to join the question. Is there some documentation about "advice" function? It seems this is the main function that performs all the cryptotrading. Currently I found only a small piece of information here: https://gekko.wizb.it/docs/strategies/cr...k-function. It would be great to specify how to look balance (if possible), set order sum, different kinds of stop-losses (I saw something similar at the forum but it is hard to gather all actual and robust information).
  Reply
#4
Quote:It would be great to specify how to look balance (if possible), set order sum, different kinds of stop-losses (I saw something similar at the forum

All these things are not possible right now. Please see this document that describes more abstractly what kind of strategies Gekko is designed for: https://gekko.wizb.it/docs/introduction/scope.html

Quote:it is hard to gather all actual and robust information).

I will improve the docs asap, but right now the only thing you can do is:

- trigger an advice to go short or long.
- if the advice is long: pass a trailingStop of when to make an exit

There is another method you can add to your strategy called onTrade that will get called after a trade is completed. I'll explain this all properly in the docs asap.
  Reply


Forum Jump:


Users browsing this thread: