<-- POST /api/backtest xxxPOST /api/backtest 500 237ms -
Error: non-error thrown: This Gekko instance encountered an error and can't continue at Object.onerror (/Users/ikeshpack/gekko/node_modules/koa/lib/context.js:105:40) at process._tickCallback (internal/process/next_tick.js:68:7)
finally, after fighting windows 10 installation with bash, everything working and trying to implement my first js code I got a basic working PSAR strategy. I know it is a simple task for you experienced coders, but feel happy and quite proud (stupid ego here).
I'd like to share it and I wish that any interested person could help in developing it adding stuff like stoplosses or anything that could be helpful (can't make the log block work for example)
Maybe there is a working PSAR strat out there but i didn´t find it, just the indicator. Anyway the experience and the new opened door to js worth the time spent.
I'd like to know how to proceed correctly, do I share it here or in github?
regards
PS I'm not native english speaker so, please forgive any spelling or grammatical mistakes¡
could someone walk mw trough this error message??? plz
<-- GET /api/imports --> GET /api/imports 200 4ms 2b <-- GET /api/gekkos --> GET /api/gekkos 200 1ms 24b <-- GET /api/apiKeys --> GET /api/apiKeys 200 0ms 2b <-- GET /api/exchanges xxxGET /api/exchanges 500 18ms -
TypeError: _.last(...).join is not a function at exchangesDir.filter.f (/Users/ikeshpack/gekko/web/routes/exchanges.js:17:31) at Array.filter (<anonymous>) at Object.module.exports (/Users/ikeshpack/gekko/web/routes/exchanges.js:17:6) at module.exports.next (<anonymous>) at Object.dispatch (/Users/ikeshpack/gekko/node_modules/koa-router/lib/router.js:334:5) at dispatch.next (<anonymous>) at onFulfilled (/Users/ikeshpack/gekko/node_modules/co/index.js:65:19)
New here, so this is probably a really dumb question where I am missing something obvious!
After installing/running Gekko, I go to the Config tab to add an API for an Exchange. From all of the videos and guides that I've read, there should be a drop-down with a list of available exchanges (and I can see about 10 listed in the exchange/wrappers folder).
However, the only option I have in the drop-down box is Bitfinex, and that doesn't actually let me add an API key when I select it. I am looking for Binance ideally.
Am I missing something? Do I need to populate the Exchanges list myself somehow? I can't seem to find any guides relating to this particular problem. I've attached a screenshot of what I see ...
I'm trying to install Gekko in a docker container, but I'm new in this and I am completely lost. Looking into gekko documentation there are two commands, buy I have several questions:
-How to create the containter for gekko? Is there any base imagen? Is there any official Image in docker hub?
-Can I Install from DockerFile?
Sorry about this noobs questions but I can't find any documentation about this.
Any idea what I could have done to my linux install that would have broken MACD (and seemingly only that strat)?
Symptom: GUI Backtesting MACD yields no transactions, regardless of parameters, candles, duration of dataset, etc.
All other default strats seem to work.
I've wiped my Gekko directory, reinstalled, and still nothing. I've force npm reinstalled mathjs, nodejs, and others, but nothing's working. Is there a module I can force update that might fix this? Would appreciate some guidance if anyone has run into this before. I really don't want to wipe my AWS instance. :
Also, I noticed I've been getting this if I try to run varPPO:
Code:
xxx POST /api/backtest 500 141ms -
Error: non-error thrown: [object Object]
at Object.onerror (/home/bitnami/gekko/node_modules/koa/lib/context.js:105:40)
at process._tickCallback (internal/process/next_tick.js:68:7)
I have found that backtest results calculate not properly
1) Start balance > 100. Why?
2) First Entry balance < 100. Why?
3) Each new Entry balance doesn't equal previous Exit balance. Why?
P.S.
Could you explain on example what does mean - persistence?
Greetings everyone this is my first time posting. So I've been playing with gekko for a few weeks and its been great but one of the things that I like to use in my strategy is using the bid/ask price to help filter out some whipsawing. I figured it would not be that hard too do, I come from a c++ background so I'm kinda new to Javascript but nothing like jumping in feet first and figuring out how things/gekko works. So I started off looking at the wiki page to see how the program is laid out it pointed me to budfox from there I followed the data trail back to candleCreator and my exchange wrapper which I'm using gdax. So after messing around and breaking things and then unbreaking things I got to the point were if i printed the candle object I could see the ask and bid but it was undefined upon closer inspection I see how gekko is creating candles by using the getTrade api which does not include the bid/ask in the datastream. But I see in the gdax api wrapper that it does have the getTicker function which does include ask/bed price. But I'm at a lose on how to add the ask/bid from getTicker into the getTrade function.
Any thought or help would be greatly appreciated.
Thank you
Travis Wilson
P.S Thanks for all the hard work that people are putting into this program. You guys/ladies are awesome......like really awesome.
does anyone else ever see two strategy updates one after the other as if the 'check' function of your strategy is being called twice instead of once? Looks something like this for me (using NNv2):
2018-08-23 10:42:37 (DEBUG):
Current market: bear
Percent change predicted: 0.10299030411228689
Current price: 0.00077024
Last buy price: 0
Current position: short
2018-08-23 10:42:37 (DEBUG):
Current market: bear
Percent change predicted: 0.08582525343061481
Current price: 0.00077024
Last buy price: 0
Current position: short