I found a profitable strategy How I go Live? - Printable Version +- Gekko Forum (https://forum.gekko.wizb.it) +-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html) +--- Forum: Technical Discussion (https://forum.gekko.wizb.it/forum-23.html) +--- Thread: I found a profitable strategy How I go Live? (/thread-57100.html) |
I found a profitable strategy How I go Live? - neodavidson - 05-04-2018 Hello, I just follow the tutorials provided, now I decide to use RSI_BULL_BEAR strategie, but it generates problems when I try to run in online... $ node gekko --config config.js ______ ________ __ __ __ __ ______ / \ / |/ | / |/ | / | / \ /$$$$$$ |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$ | $$ | _$$/ $$ |__ $$ |/$$/ $$ |/$$/ $$ | $$ | $$ |/ |$$ | $$ $$< $$ $$< $$ | $$ | $$ |$$$$ |$$$$$/ $$$$$ \ $$$$$ \ $$ | $$ | $$ \__$$ |$$ |_____ $$ |$$ \ $$ |$$ \ $$ \__$$ | $$ $$/ $$ |$$ | $$ |$$ | $$ |$$ $$/ $$$$$$/ $$$$$$$$/ $$/ $$/ $$/ $$/ $$$$$$/ Gekko v0.5.14 I'm gonna make you rich, Bud Fox. 2018-05-04 22:49:45 (INFO): Setting up Gekko in realtime mode 2018-05-04 22:49:45 (INFO): 2018-05-04 22:49:45 (INFO): Setting up: 2018-05-04 22:49:45 (INFO): Candle writer 2018-05-04 22:49:45 (INFO): Store candles in a database 2018-05-04 22:49:45 (INFO): 2018-05-04 22:49:45 (INFO): Setting up: 2018-05-04 22:49:45 (INFO): Trading Advisor 2018-05-04 22:49:45 (INFO): Calculate trading advice 2018-05-04 22:49:45 (INFO): Using the strategy: RSI_BULL_BEAR 2018-05-04 22:49:45 (WARN): TALIB indicators could not be loaded, they will be unavailable. 2018-05-04 22:49:45 (WARN): TULIP indicators could not be loaded, they will be unavailable. 2018-05-04 22:49:45 (ERROR): Failed to load indicator STC C:\Users\Administrator\documents\gekko-0.5.14\strategies\RSI_BULL_BEAR.js:34 this.addIndicator('maSlow', 'SMA', this.settings.SMA_long ); ^ TypeError: Cannot read property 'SMA_long' of undefined at Base.init (C:\Users\Administrator\documents\gekko-0.5.14\strategies\RSI_BULL_BEAR.js:34:52) at Base.bound [as init] (C:\Users\Administrator\documents\gekko-0.5.14\node_modules\lodash\dist\lod ash.js:729:21) at new Base (C:\Users\Administrator\documents\gekko-0.5.14\plugins\tradingAdvisor\baseTradingMethod .js:87:8) at Actor.setupTradingMethod (C:\Users\Administrator\documents\gekko-0.5.14\plugins\tradingAdvisor\t radingAdvisor.js:62:17) at Actor.bound [as setupTradingMethod] (C:\Users\Administrator\documents\gekko-0.5.14\node_modules\ lodash\dist\lodash.js:729:21) at new Actor (C:\Users\Administrator\documents\gekko-0.5.14\plugins\tradingAdvisor\tradingAdvisor.j s:23:8) at load (C:\Users\Administrator\documents\gekko-0.5.14\core\pluginUtil.js:95:22) at C:\Users\Administrator\documents\gekko-0.5.14\node_modules\async\dist\async.js:1156:9 at replenish (C:\Users\Administrator\documents\gekko-0.5.14\node_modules\async\dist\async.js:1030:1 7) at iterateeCallback (C:\Users\Administrator\documents\gekko-0.5.14\node_modules\async\dist\async.js :1015:17) Administrator@EC2AMAZ-ROGIEU5 MINGW64 ~/documents/gekko-0.5.14 Please give me some advice RE: I found a profitable strategy How I go Live? - crypto49er - 05-05-2018 I'm guessing you need to convert the TOML file for this strategy to JSON and add it to the config file for it to work properly in CLI. RE: I found a profitable strategy How I go Live? - PapoKarlo - 05-05-2018 try to install tulind, talib and remove or change STC.js in indicators RE: I found a profitable strategy How I go Live? - xFFFFF - 05-05-2018 Havent settings in config. You can use: perl backtest.pl -v config/strategies/RSI_BULL_BEAR.toml RE: I found a profitable strategy How I go Live? - Cryptos - 05-09-2018 (05-04-2018, 10:52 PM)neodavidson Wrote: 2018-05-04 22:49:45 (WARN): TALIB indicators could not be loaded, they will be unavailable.The new versions of BULL_BEAR don't need TALIB, TULIP and STC even though you receive error messages. check your config.js fire for the correct settings: there you should have the follwing lines config.RSI_BULL_BEAR = { SMA_long: xx, SMA_short: xx, //and your other settings }, |