Gekko Forum
Issue with a strategie... please help - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Discussion (https://forum.gekko.wizb.it/forum-23.html)
+--- Thread: Issue with a strategie... please help (/thread-57860.html)



Issue with a strategie... please help - SupraFan - 02-13-2019

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


RE: Issue with a strategie... please help - nasila - 04-17-2021

All the best brands at one Place in Pakistan, Super Bazar online shopping pakistan Best Deals available at discounted rates Cah on delivery Service in Karachi, Lahore, Rawalpindi, across Pakistan. Please visit our website for best online shopping experience. Thank You.


RE: Issue with a strategie... please help - yirzolusto - 04-18-2021

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. cleanmymac 3 activation number free


RE: Issue with a strategie... please help - yirzolusto - 04-28-2021

Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. thc concentrates europe


RE: Issue with a strategie... please help - nasila - 06-19-2021

If you live in the Brampton Ontario areas and are looking for scrap car removal in Brampton, Top Cash scrap car removal offers the Brampton scrap car removal service with the best & instant prices for your old Clunkers. top dollar for scrap cars brampton


RE: Issue with a strategie... please help - lucifar - 07-22-2021

Free Free Slots No Deposit Sites 2021 ​are the most popular choices online all the time, Online slots are one of the ways that players enjoy their place to play at the most.