Issue with a strategie... please help
#1
Hey,
i installed a new strategie and then i wanna backtest it.
But when i execute it, it gave me an error massage and i did not understand what is wrong...
If someone can help me with that i much appreciate it!

Here is the Error massage:

Quote:  --> POST /api/scansets 200 11s 1.25kb
  <-- POST /api/backtest
uncaughtException { TypeError: Cannot read property 'update' of undefined
    at Base.update (/home/pi/gekko3/strategies/RSI_BULL_BEAR_ADX_CB_SGLGL.js:180:38)
    at Base.bound [as update] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21)
    at Base.propogateTick (/home/pi/gekko3/plugins/tradingAdvisor/baseTradingMethod.js:136:8)
    at Base.bound [as propogateTick] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21)
    at Base.calculateSyncIndicators (/home/pi/gekko3/plugins/tradingAdvisor/baseTradingMethod.js:129:8)
    at Base.bound [as calculateSyncIndicators] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21)
    at afterAsync (/home/pi/gekko3/plugins/tradingAdvisor/baseTradingMethod.js:94:10)
    at Base.tick (/home/pi/gekko3/plugins/tradingAdvisor/baseTradingMethod.js:108:5)
    at Base.bound [as tick] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21)
    at Actor.emitStratCandle (/home/pi/gekko3/plugins/tradingAdvisor/tradingAdvisor.js:103:17)
--> in Database#all('\n    SELECT * from candles_ETH_TRX\n    WHERE start <= 1542629819 AND start >= 1542029820\n    ORDER BY start ASC\n  ', [Function])
    at Reader.get (/home/pi/gekko3/plugins/sqlite/reader.js:98:11)
    at Reader.bound [as get] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21)
    at Market.get (/home/pi/gekko3/core/markets/backtest.js:61:15)
    at Market.bound [as get] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21)
    at Market.<anonymous> (/home/pi/gekko3/core/markets/backtest.js:52:8)
    at Market._read (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:5605:23)
    at Market.bound [as _read] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21)
    at Market.Readable.read (_stream_readable.js:442:10)
    at Market.bound [as read] (/home/pi/gekko3/node_modules/lodash/dist/lodash.js:729:21) __augmented: true }
  xxx POST /api/backtest 500 2,024ms -

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


Best regards,
Tim
  Reply


Forum Jump:


Users browsing this thread: