Gekko 0.6 released
#7
(06-25-2018, 09:24 AM)mark.sch Wrote:
(06-25-2018, 03:41 AM)askmike Wrote: The live  trader in 0.6 is definitely a lot more stable (note it only supports some exchanges, see edited post above).

Quote:Right now I have bigger trouble with v0.5, imports are written fine to DB but candles from the watcher not

Someone else reported this as well, are you running via UI or commandline?

Ok, I am using CLI and just give 0.6 a go. The new config options look promising, e.g. config.eventLogger , config.backtestResultExplorer and the Leech mode. Right now after first start it is claiming not to find  '../core/util'. Maybe any file commit missing?

Gekko encountered an error and can't continue

Error:

Cannot find module '../core/util'



And this is the stacktrace:

Cannot find module '../core/util'
Trace: Cannot find module '../core/util'
   at Object.die (/git/gekko06/core/util.js:101:17)
   at Stitcher.verifyExchange (/git/gekko06/core/tools/dataStitcher.js:27:10)
   at Stitcher.prepareHistoricalData (/git/gekko06/core/tools/dataStitcher.js:39:8)
   at new Actor (/git/gekko06/plugins/tradingAdvisor/tradingAdvisor.js:34:14)
   at load (/git/gekko06/core/pluginUtil.js:99:22)
   at /git/gekko06/node_modules/async/dist/async.js:1156:9
   at replenish (/git/gekko06/node_modules/async/dist/async.js:1030:17)
   at iterateeCallback (/git/gekko06/node_modules/async/dist/async.js:1015:17)
   at /git/gekko06/node_modules/async/dist/async.js:988:16
   at /git/gekko06/node_modules/async/dist/async.js:1158:13
   at /git/gekko06/core/pluginUtil.js:100:9
   at /git/gekko06/core/util.js:73:38
   at Timeout._onTimeout (/git/gekko06/node_modules/lodash/dist/lodash.js:5496:43)
   at ontimeout (timers.js:498:11)
   at tryOnTimeout (timers.js:323:5)
   at Timer.listOnTimeout (timers.js:290:5)

Error comes from exchange/wrappers/kraken.js , the include path is wrong

const util = require('../core/util');
const Errors = require('../core/error');
const log = require('../core/log');

But quick fix will not help, next error is, that core/error is missing in 0.6, probably this whole kraken.js wrapper does not match 0.6?

According to Gecko Broker docu, kraken seems not to be supported anymore, even kraken files are in the directory. I tried Binance now and got a conflicting loadash version:

/git/gekko06/exchange/exchangeChecker.js:32
if(!_.includes(exchange.currencies, conf.currency))
^

TypeError: _.includes is not a function
at Checker.cantMonitor (/git/gekko06/exchange/exchangeChecker.js:32:9)
at Checker.bound [as cantMonitor] (/git/gekko06/node_modules/lodash/dist/lodash.js:729:21)
at Stitcher.verifyExchange (/git/gekko06/core/tools/dataStitcher.js:33:31)
at Stitcher.prepareHistoricalData (/git/gekko06/core/tools/dataStitcher.js:39:8)
at new Actor (/git/gekko06/plugins/tradingAdvisor/tradingAdvisor.js:34:14)
at load (/git/gekko06/core/pluginUtil.js:98:22)
at /git/gekko06/node_modules/async/dist/async.js:1156:9
at replenish (/git/gekko06/node_modules/async/dist/async.js:1030:17)
at iterateeCallback (/git/gekko06/node_modules/async/dist/async.js:1015:17)
at /git/gekko06/node_modules/async/dist/async.js:988:16


root@Flex2:/git/gekko06# npm ls lodash
gekko@0.5.14 /git/gekko06
├─┬ @slack/client@3.13.0
│ └── lodash@4.17.4
├─┬ async@2.1.2
│ └── lodash@4.17.4
├─┬ bitexthai@0.1.0
│ └── lodash@4.17.4
├─┬ bitfinex-api-node@1.2.0
│ └── lodash@4.17.4
├─┬ btc-china-fork@0.0.6
│ └─┬ cheerio@0.19.0
│ └── lodash@3.10.1
├── lodash@2.4.2
└─┬ request-promise@4.2.2
└─┬ request-promise-core@1.1.1
└── lodash@4.17.4

I updated last 2.4.2 dependency to 4.x also and switched _.contains into _.includes inside core/pluginUtil.js. First lodash error is gone but new one is popping up in postgres:

2018-06-25 12:54:16 (INFO): Setting up Gekko in realtime mode
2018-06-25 12:54:16 (INFO):
2018-06-25 12:54:16 (INFO): Setting up:
2018-06-25 12:54:16 (INFO): Candle writer
2018-06-25 12:54:16 (INFO): Store candles in a database
/git/gekko06/plugins/postgresql/writer.js:36
this.db.query(q,next);
^

TypeError: Cannot read property 'query' of undefined
at /git/gekko06/plugins/postgresql/writer.js:36:13
at arrayEach (/git/gekko06/node_modules/lodash/lodash.js:516:11)
at Function.forEach (/git/gekko06/node_modules/lodash/lodash.js:9342:14)
at Store.upsertTables (/git/gekko06/plugins/postgresql/writer.js:35:5)
at new Store (/git/gekko06/plugins/postgresql/writer.js:12:8)
at load (/git/gekko06/core/pluginUtil.js:98:22)
at /git/gekko06/node_modules/async/dist/async.js:1156:9
at replenish (/git/gekko06/node_modules/async/dist/async.js:1030:17)
at /git/gekko06/node_modules/async/dist/async.js:1034:9
at _asyncMap (/git/gekko06/node_modules/async/dist/async.js:1154:5)
  Reply


Messages In This Thread
Gekko 0.6 released - by askmike - 06-24-2018, 10:31 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-24-2018, 01:42 PM
RE: Gekko 0.6 pre release - by askmike - 06-25-2018, 03:41 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-25-2018, 09:24 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-25-2018, 10:29 AM
RE: Gekko 0.6 pre release - by crypto49er - 06-25-2018, 03:43 AM
RE: Gekko 0.6 pre release - by askmike - 06-25-2018, 08:17 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 05:48 AM
RE: Gekko 0.6 pre release - by Henry151 - 06-26-2018, 05:56 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 06:16 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 06:44 AM
RE: Gekko 0.6 pre release - by Henry151 - 06-26-2018, 07:36 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 06:55 AM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 10:46 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 08:04 AM
RE: Gekko 0.6 pre release - by askmike - 06-26-2018, 02:01 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 05:06 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-26-2018, 06:55 PM
RE: Gekko 0.6 pre release - by Henry151 - 06-27-2018, 05:16 PM
RE: Gekko 0.6 pre release - by askmike - 06-27-2018, 05:21 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-27-2018, 05:56 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-28-2018, 02:36 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-28-2018, 09:03 PM
RE: Gekko 0.6 pre release - by mark.sch - 06-30-2018, 02:42 PM
RE: Gekko 0.6 pre release - by Kris191 - 07-04-2018, 04:11 AM
RE: Gekko 0.6.0 released - by askmike - 07-04-2018, 10:53 AM
RE: Gekko 0.6.0 released - by Kris191 - 07-04-2018, 07:02 PM
RE: Gekko 0.6.0 released - by ankasem - 07-05-2018, 03:09 AM
RE: Gekko 0.6.0 released - by donkykong017 - 07-05-2018, 04:41 AM
RE: Gekko 0.6.0 released - by askmike - 07-05-2018, 08:41 AM
RE: Gekko 0.6.0 released - by Kris191 - 07-06-2018, 04:29 AM
RE: Gekko 0.6 released - by ankasem - 07-06-2018, 01:12 AM
RE: Gekko 0.6 released - by ankasem - 07-08-2018, 06:25 AM
RE: Gekko 0.6 released - by askmike - 07-06-2018, 05:17 AM
RE: Gekko 0.6 released - by Kris191 - 07-06-2018, 08:05 AM
RE: Gekko 0.6 released - by ankasem - 07-06-2018, 11:31 AM
RE: Gekko 0.6 released - by Kris191 - 07-06-2018, 12:42 PM
RE: Gekko 0.6 released - by Kris191 - 07-07-2018, 05:41 PM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 07:24 AM
RE: Gekko 0.6 released - by thegamecat - 07-07-2018, 11:22 AM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 02:54 PM
RE: Gekko 0.6 released - by askmike - 07-08-2018, 03:13 PM
RE: Gekko 0.6 released - by Kris191 - 07-08-2018, 07:04 PM
RE: Gekko 0.6 released - by ankasem - 07-08-2018, 08:42 PM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 03:51 AM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 03:52 AM
RE: Gekko 0.6 released - by Kris191 - 07-09-2018, 10:30 AM
RE: Gekko 0.6 released - by askmike - 07-09-2018, 01:31 PM
RE: Gekko 0.6 released - by Kris191 - 07-20-2018, 08:06 AM
RE: Gekko 0.6 released - by Kris191 - 07-09-2018, 01:39 PM
RE: Gekko 0.6 released - by ankasem - 07-09-2018, 05:55 PM
RE: Gekko 0.6 released - by mark.sch - 07-09-2018, 07:11 PM
RE: Gekko 0.6 released - by crypt0r - 07-11-2018, 05:58 PM
RE: Gekko 0.6 released - by crypt0r - 07-11-2018, 09:19 PM
RE: Gekko 0.6 released - by Kris191 - 07-12-2018, 05:38 AM
RE: Gekko 0.6 released - by mark.sch - 07-15-2018, 08:29 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 10:57 AM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 11:44 AM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 12:18 PM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 12:22 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 12:36 PM
RE: Gekko 0.6 released - by martyc - 07-17-2018, 01:19 PM
RE: Gekko 0.6 released - by wewantmoore - 07-17-2018, 01:24 PM
RE: Gekko 0.6 released - by Kris191 - 07-19-2018, 05:56 AM
RE: Gekko 0.6 released - by dugu-dugu - 07-20-2018, 09:32 AM
RE: Gekko 0.6 released - by ankasem - 07-21-2018, 10:24 PM
RE: Gekko 0.6 released - by wewantmoore - 07-22-2018, 12:00 AM
RE: Gekko 0.6 released - by askmike - 07-22-2018, 12:19 AM
RE: Gekko 0.6 released - by wewantmoore - 07-22-2018, 12:25 AM
RE: Gekko 0.6 released - by wewantmoore - 09-05-2018, 10:17 AM
RE: Gekko 0.6 released - by mark.sch - 08-17-2018, 10:48 PM
RE: Gekko 0.6 released - by askmike - 08-20-2018, 04:07 AM
RE: Gekko 0.6 released - by mark.sch - 08-20-2018, 07:21 AM
RE: Gekko 0.6 released - by askmike - 08-20-2018, 09:42 AM
RE: Gekko 0.6 released - by askmike - 09-06-2018, 04:22 AM
RE: Gekko 0.6 released - by wewantmoore - 09-06-2018, 12:27 PM

Forum Jump:


Users browsing this thread: