05-27-2020, 10:24 AM
Hi guys. I'm new to gekko, but i'm not new to programming. And i'm writing my first strategy)
I not found answering for my question about strategy writing.
There is method.check and some logic inside. If my logic is correct - i want place order. I'm using that method this.advice('long'/'short'). But there are two moments:
a. Paper trader simulate order to the next candle, not current
b. where/how i could specify order limits (amount/stop-loss)
In standard example my order exposed in 6 days. But in real it have to be exposed in 3 hours. How i could achieve thats?
I not found answering for my question about strategy writing.
There is method.check and some logic inside. If my logic is correct - i want place order. I'm using that method this.advice('long'/'short'). But there are two moments:
a. Paper trader simulate order to the next candle, not current
b. where/how i could specify order limits (amount/stop-loss)
In standard example my order exposed in 6 days. But in real it have to be exposed in 3 hours. How i could achieve thats?