crypto49er / Gekko-Strategies

MIT License
47 stars 21 forks source link

Issue Uncaught Exception #4

Open rootsid opened 5 years ago

rootsid commented 5 years ago

uncaughtException { TypeError: log.remote is not a function at Base.strat.update (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\strategies\RSICandle.js:73:9) at Base.bound [as update] (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21) at Base.propogateTick (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\plugins\tradingAdvisor\baseTradingMethod.js:136:8) at Base.bound [as propogateTick] (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21) at Base.calculateSyncIndicators (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\plugins\tradingAdvisor\baseTradingMethod.js:129:8) at Base.bound [as calculateSyncIndicators] (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21) at afterAsync (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\plugins\tradingAdvisor\baseTradingMethod.js:94:10) at Base.tick (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\plugins\tradingAdvisor\baseTradingMethod.js:108:5) at Base.bound [as tick] (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21) at Actor.emitStratCandle (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\plugins\tradingAdvisor\tradingAdvisor.js:103:17) --> in Database#all('\n SELECT * from candles_USDT_BTC\n WHERE start <= 1553806319 AND start >= 1553803320\n ORDER BY start ASC\n ', [Function]) at Reader.get (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\plugins\sqlite\reader.js:98:11) at Reader.bound [as get] (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21) at Market.get (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\core\markets\backtest.js:61:15) at Market.bound [as get] (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21) at Market.processCandles (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\core\markets\backtest.js:105:10) at bound (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21) at Statement. (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\plugins\sqlite\reader.js:108:5) __augmented: true } xxx POST /api/backtest 500 5,948ms -

Error: non-error thrown: [object Object] at Object.onerror (C:\Users\Win10\Downloads\gekko-develop\gekko-develop\node_modules\koa\lib\context.js:105:40) at process._tickCallback (internal/process/next_tick.js:68:7)

mamhadu commented 5 years ago

I have the same issue, did you find a solution?