02-13-2018, 12:11 AM
Hi,
i've downloaded the js and toml files from you github and put into the correct locations and then just added the name into the trading advisor but i get errors saying the below.
ive installed the tulip and talib indicators.
is there anything im missing from this that would cause this error?
thanks for the help
James
2018-02-13 00:01:36 (INFO): Trading Advisor
2018-02-13 00:01:36 (INFO): Calculate trading advice
2018-02-13 00:01:36 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
/mnt/c/www/gekko/strategies/RSI_BULL_BEAR_ADX.js:35
this.addTulipIndicator('maSlow', 'sma', { optInTimePeriod: this.settings.SMA_long });
^
TypeError: Cannot read property 'SMA_long' of undefined
at Base.init (/mnt/c/www/gekko/strategies/RSI_BULL_BEAR_ADX.js:35:76)
at Base.bound [as init] (/mnt/c/www/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/mnt/c/www/gekko/plugins/tradingAdvisor/baseTradingMethod.js:87:8)
at Actor.setupTradingMethod (/mnt/c/www/gekko/plugins/tradingAdvisor/tradingAdvisor.js:62:17)
at Actor.bound [as setupTradingMethod] (/mnt/c/www/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/mnt/c/www/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/mnt/c/www/gekko/core/pluginUtil.js:95:22)
at /mnt/c/www/gekko/node_modules/async/dist/async.js:1156:9
at replenish (/mnt/c/www/gekko/node_modules/async/dist/async.js:1030:17)
at iterateeCallback (/mnt/c/www/gekko/node_modules/async/dist/async.js:1015:17)
i've downloaded the js and toml files from you github and put into the correct locations and then just added the name into the trading advisor but i get errors saying the below.
ive installed the tulip and talib indicators.
is there anything im missing from this that would cause this error?
thanks for the help
James
2018-02-13 00:01:36 (INFO): Trading Advisor
2018-02-13 00:01:36 (INFO): Calculate trading advice
2018-02-13 00:01:36 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
/mnt/c/www/gekko/strategies/RSI_BULL_BEAR_ADX.js:35
this.addTulipIndicator('maSlow', 'sma', { optInTimePeriod: this.settings.SMA_long });
^
TypeError: Cannot read property 'SMA_long' of undefined
at Base.init (/mnt/c/www/gekko/strategies/RSI_BULL_BEAR_ADX.js:35:76)
at Base.bound [as init] (/mnt/c/www/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Base (/mnt/c/www/gekko/plugins/tradingAdvisor/baseTradingMethod.js:87:8)
at Actor.setupTradingMethod (/mnt/c/www/gekko/plugins/tradingAdvisor/tradingAdvisor.js:62:17)
at Actor.bound [as setupTradingMethod] (/mnt/c/www/gekko/node_modules/lodash/dist/lodash.js:729:21)
at new Actor (/mnt/c/www/gekko/plugins/tradingAdvisor/tradingAdvisor.js:23:8)
at load (/mnt/c/www/gekko/core/pluginUtil.js:95:22)
at /mnt/c/www/gekko/node_modules/async/dist/async.js:1156:9
at replenish (/mnt/c/www/gekko/node_modules/async/dist/async.js:1030:17)
at iterateeCallback (/mnt/c/www/gekko/node_modules/async/dist/async.js:1015:17)