wow~~~~ thank you ....but....
and node gekko --config config.js
please~
Code:
PS C:\Users\gekko> npm install tulind
> tulind@0.8.9 install C:\Users\gekko\node_modules\tulind
> node-pre-gyp install --fallback-to-build
[tulind] Success: "C:\Users\gekko\node_modules\tulind\lib\binding\Release\node-v51-win32-x64\tulind.node" is installed via remote
gekko@0.5.12 C:\Users\gekko
`-- tulind@0.8.9
PS C:\Users\gekko> node gekko --config config.js
and node gekko --config config.js
Code:
C:\Users\gekko\strategies\RSI_BULL_BEAR.js:34
this.addTulipIndicator('maSlow', 'sma', { optInTimePeriod: this.settings.SMA_long });
^
TypeError: Cannot read property 'SMA_long' of undefined
at Base.init (C:\Users\gekko\strategies\RSI_BULL_BEAR.js:34:75)
at Base.bound [as init] (C:\Users\gekko\node_modules\lodash\dist\lodash.js:729:21)
at new Base (C:\Users\gekko\plugins\tradingAdvisor\baseTradingMethod.js:84:8)
at Actor.setupTradingMethod (C:\Users\gekko\plugins\tradingAdvisor\tradingAdvisor.js:62:17)
at Actor.bound [as setupTradingMethod] (C:\Users\gekko\node_modules\lodash\dist\lodash.js:729:21)
at new Actor (C:\Users\gekko\plugins\tradingAdvisor\tradingAdvisor.js:23:8)
at load (C:\Users\gekko\core\pluginUtil.js:95:22)
at C:\Users\gekko\node_modules\async\dist\async.js:1156:9
at replenish (C:\Users\gekko\node_modules\async\dist\async.js:1030:17)
at iterateeCallback (C:\Users\gekko\node_modules\async\dist\async.js:1015:17)
PS C:\Users\gekko>
please~