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

Error that i getting in GAB:
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:
 <-- 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.
Teo, I notice you're running under windows.  I've seen the curl error when I accidentally ran from MS Edge.  Going back to Chrome worked for me.

Forum Jump:

Users browsing this thread: