02-03-2018, 05:27 AM
Good day,
I am completely new to this. When trying your stratergy with back test I get this error
2018-02-03 07:24:17 (INFO): Setting up Gekko in backtest mode
2018-02-03 07:24:17 (INFO):
2018-02-03 07:24:17 (INFO): Setting up:
2018-02-03 07:24:17 (INFO): Trading Advisor
2018-02-03 07:24:17 (INFO): Calculate trading advice
2018-02-03 07:24:17 (INFO): Using the strategy: RSI_BULL_BEAR
/home/drewskie/gekko/strategies/RSI_BULL_BEAR.js:160
TOML-file
^
ReferenceError: TOML is not defined
at Object.<anonymous> (/home/drewskie/gekko/strategies/RSI_BULL_BEAR.js:160:1)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Actor.setupTradingMethod (/home/drewskie/gekko/plugins/tradingAdvisor/tradingAdvisor.js:48:16)
at Actor.bound [as setupTradingMethod] (/home/drewskie/gekko/node_modules/lodash/dist/lodash.js:729:21)
xxx POST /api/backtest 500 359ms -
Error: non-error thrown: Child process has died.
at Object.onerror (/home/drewskie/gekko/node_modules/koa/lib/context.js:105:40)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
Any advise on what I have done wrong
I am completely new to this. When trying your stratergy with back test I get this error
2018-02-03 07:24:17 (INFO): Setting up Gekko in backtest mode
2018-02-03 07:24:17 (INFO):
2018-02-03 07:24:17 (INFO): Setting up:
2018-02-03 07:24:17 (INFO): Trading Advisor
2018-02-03 07:24:17 (INFO): Calculate trading advice
2018-02-03 07:24:17 (INFO): Using the strategy: RSI_BULL_BEAR
/home/drewskie/gekko/strategies/RSI_BULL_BEAR.js:160
TOML-file
^
ReferenceError: TOML is not defined
at Object.<anonymous> (/home/drewskie/gekko/strategies/RSI_BULL_BEAR.js:160:1)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Actor.setupTradingMethod (/home/drewskie/gekko/plugins/tradingAdvisor/tradingAdvisor.js:48:16)
at Actor.bound [as setupTradingMethod] (/home/drewskie/gekko/node_modules/lodash/dist/lodash.js:729:21)
xxx POST /api/backtest 500 359ms -
Error: non-error thrown: Child process has died.
at Object.onerror (/home/drewskie/gekko/node_modules/koa/lib/context.js:105:40)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
Any advise on what I have done wrong