[SHARE] GAB - Gekko Automated Backtests
(07-30-2018, 01:50 PM)deadheadtn Wrote:
(07-19-2018, 10:11 AM)Teo Wrote: I also have  trouble. Hope someone can help. 

Error that i getting in GAB:
Code:
12:49:39 Runner.php ERROR: Running config via curl_post() did not return data.
url: http://localhost:3000/api/backtest | curl status: 500

View of this error from Gekko:
Code:
 <-- POST /api/backtest
 <-- POST /api/backtest
 <-- POST /api/backtest
 xxx POST /api/backtest 500 301ms -

 Error: non-error thrown: [object Object]
     at Object.onerror (E:\gekkomy\node_modules\koa\lib\context.js:105:40)
     at <anonymous>
     at process._tickCallback (internal/process/next_tick.js:188:7)

 xxx POST /api/backtest 500 302ms -

Well, I'll add a couple of small comments.
1. Variable $dirRoot should be moved to user.config.php. On the local server, the root is not correctly defined and it is better to specify it manually.
2. Will be better to add the trim() function to the array $ conf ['db']

And tommiehansen, thanks for your work.

Am having the same issue.
i think it's either related to the date or the request to the /api/backtest

Same here.

GAB:
Code:
21:34:11 Runner.php ERROR: Running config via curl_post() did not return data.
url: http://localhost:3000/api/backtest | curl status: 500

Gekko:
Code:
uncaughtException TypeError: Cannot read property 'exchange' of undefined
   at Object.<anonymous> (/home/EBMMLuke/gekko/plugins/sqlite/handle.js:28:27)
   at Module._compile (module.js:653:30)
   at Object.Module._extensions..js (module.js:664:10)
   at Module.load (module.js:566:32)
   at tryModuleLoad (module.js:506:12)
   at Function.Module._load (module.js:498:3)
   at Module.require (module.js:597:17)
   at require (internal/module.js:11:18)
   at Object.<anonymous> (/home/EBMMLuke/gekko/plugins/sqlite/reader.js:6:14)
   at Module._compile (module.js:653:30)
 xxx POST /api/backtest 500 368ms -

 Error: non-error thrown: [object Object]
     at Object.onerror (/home/EBMMLuke/gekko/node_modules/koa/lib/context.js:105:40)
     at <anonymous>
     at process._tickCallback (internal/process/next_tick.js:189:7)

Anyone could solve this already? Appreciate your help!

Cheers, Luke
  Reply


Messages In This Thread
RE: [SHARE] GAB - Gekko Automated Backtests - by EBMMLuke - 10-08-2018, 07:48 PM
YT - by mtom78632 - 07-17-2021, 06:02 AM
WW - by mtom78632 - 07-18-2021, 07:12 AM

Forum Jump:


Users browsing this thread: