Just started with Gekko and I'm looking to create a very simple strategy:
- if macd crosses signal while going up: buy
- if macd crosses signal while going down: sell
I tried to "hack" together a custom strategy, but I'm having difficulties getting the values for EMAshort(12), EMAlong(26) and signal(9) as such so I can use them in a the above mentioned crossovers.
I can't seem to find a strategy that does this, it's probably out there and I don't know what to look for or it's not since it is a foolish strategy... I don't know which..
To be honest, I'm quite new to java programming and strategies... but I would still like to see what happens with such a strategy and gain some experience programming it.
Can anyone point me in the right direction please?
Hi All,
Does anybody experience this kind of error when running marketwatcher on Binance?
2018-08-07 12:00:36 (WARN): Binance returned an error while fetching trades: { Error: unable to verify the first certificate
at TLSSocket.<anonymous> (_tls_wrap.js:1105:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:639:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:469:38) code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }
Hey guys - hope you‘re all fine.
Just updated my gekko to the version 0.6.4 and tried to run it on a live market.
BTC/IOT on bitfinex, using RSI Bull Bear strat. Had it running for few days but nothing happend, the log file just showed that gekko was syncing for private data.
Set up a new tradebot but the same issue.
How to solve this problem?
I'm trying to make a strategy that buys and sells but I can not get it to work well, I thought of many strategies ...
I admit that I have very little knowledge in programming
I would like you to do the following or the closest thing, taking advantage of each upload (see attached)
the idea is that you buy and sell according to a percentage X or amount that I define
// Based on the newly calculated
// information, check if we should
// update or not.
strat.check = function(candle)
{
if (candle.close >= candle.close + ( candle.close*( this.percentLower/100.0 )))