Backtest error??
#1
Code:
/root/gekko/node_modules/sqlite3/lib/trace.js:27
                   throw err;
                   ^

TypeError: Cannot read property 'currency' of undefined
   at PerformanceAnalyzer.calculateReportStatistics (/root/gekko/plugins/performanceAnalyzer/performanceAnalyzer.js:143:30)
   at PerformanceAnalyzer.bound [as calculateReportStatistics] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at PerformanceAnalyzer.finalize (/root/gekko/plugins/performanceAnalyzer/performanceAnalyzer.js:180:23)
   at PerformanceAnalyzer.bound [as finalize] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at /root/gekko/core/gekkoStream.js:46:25
   at /root/gekko/node_modules/async/dist/async.js:3205:16
   at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
   at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
   at /root/gekko/node_modules/async/dist/async.js:988:16
   at /root/gekko/core/gekkoStream.js:47:12
--> in Database#all('\n    SELECT * from candles_BTC_TRX\n    WHERE start <= 1529297820 AND start >= 1529298600\n    ORDER BY start ASC\n  ', [Function])
   at Reader.get (/root/gekko/plugins/sqlite/reader.js:98:11)
   at Reader.bound [as get] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Market.get (/root/gekko/core/markets/backtest.js:61:15)
   at Market.bound [as get] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Market.processCandles (/root/gekko/core/markets/backtest.js:105:10)
   at bound (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
   at Statement.<anonymous> (/root/gekko/plugins/sqlite/reader.js:108:5)
 Anyone now the reason for this error when a CLI backtest has finished? bT has been working but today it isnt,

Can someone help?
  Reply


Messages In This Thread
Backtest error?? - by Kris191 - 06-18-2018, 05:03 AM
RE: Backtest error?? - by susitronix - 06-18-2018, 07:11 PM

Forum Jump:


Users browsing this thread: