03-29-2018, 05:29 AM
Hi Tommie,
Updated all the files, still the same issue.. its spitting an error from my config as per below:
/root/gekko/CBTCEURconfigADX.js:43
short: 50,
^
SyntaxError: Unexpected token :
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.getConfig (/root/gekko/core/util.js:46:15)
When i remove the parameters from the config i get this error..
2018-03-29 06:26:49 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
/root/gekko/strategies/RSI_BULL_BEAR_ADX.js:39
this.addIndicator('maSlow', 'SMA', this.settings.SMA.long );
^
TypeError: Cannot read property 'SMA' of undefined
at Base.init (/root/gekko/strategies/RSI_BULL_BEAR_ADX.js:39:52)
at Base.bound [as init] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/root/gekko/plugins/tradingAdvisor/baseTradingMethod.js:87:8)
at Actor.setupTradingMethod (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:62:17)
at Actor.bound [as setupTradingMethod] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/root/gekko/core/pluginUtil.js:95:22)
at /root/gekko/node_modules/async/dist/async.js:1156:9
at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
No idea whats going on at all can someone help as my bots not running and the other i have ii'm afraid to switch off in case i c ant get it back online.
Updated all the files, still the same issue.. its spitting an error from my config as per below:
/root/gekko/CBTCEURconfigADX.js:43
short: 50,
^
SyntaxError: Unexpected token :
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.getConfig (/root/gekko/core/util.js:46:15)
When i remove the parameters from the config i get this error..
2018-03-29 06:26:49 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
/root/gekko/strategies/RSI_BULL_BEAR_ADX.js:39
this.addIndicator('maSlow', 'SMA', this.settings.SMA.long );
^
TypeError: Cannot read property 'SMA' of undefined
at Base.init (/root/gekko/strategies/RSI_BULL_BEAR_ADX.js:39:52)
at Base.bound [as init] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/root/gekko/plugins/tradingAdvisor/baseTradingMethod.js:87:8)
at Actor.setupTradingMethod (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:62:17)
at Actor.bound [as setupTradingMethod] (/root/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/root/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/root/gekko/core/pluginUtil.js:95:22)
at /root/gekko/node_modules/async/dist/async.js:1156:9
at replenish (/root/gekko/node_modules/async/dist/async.js:1030:17)
at iterateeCallback (/root/gekko/node_modules/async/dist/async.js:1015:17)
No idea whats going on at all can someone help as my bots not running and the other i have ii'm afraid to switch off in case i c ant get it back online.