[TUT] CONFIG-FILE CONVERTOR FOR CLI GEKKO - Printable Version +- Gekko Forum (https://forum.gekko.wizb.it) +-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html) +--- Forum: Guides (https://forum.gekko.wizb.it/forum-22.html) +--- Thread: [TUT] CONFIG-FILE CONVERTOR FOR CLI GEKKO (/thread-57274.html) |
[TUT] CONFIG-FILE CONVERTOR FOR CLI GEKKO - susitronix - 06-21-2018 for the CLI-gekko (terminal gekko) we must set up the sample-config.js. our strategie has its "my_strategie.toml" file, but in the config IT MUST BE AS JSON-style CODE. if you do not use the backtest Machine from xFFFFF, you can simply use an online tool that makes the conversation for you. this is very easy and never makes an error.!!! go to this page: toml-json convertor here simply copie paste your .toml code Code: [___trendatron___] now copie/paste the created .json code into your sample-config.js, as you can learn from my other Tutorial: Code: { TUT#5 just scroll down and find the thread :-) thanks to xFFFFF, Matias Korhonen, and Ankasem hope this helps RE: [TUT] CONFIG-FILE CONVERTOR FOR CLI GEKKO - thegamecat - 07-13-2018 You guys might prefer this: https://github.com/gekkowarez/bruteforce/blob/master/toml-config-converter.js This will go through the config folder with the toml files in, convert them all into json, and write them all into the config.js (you can configure this in the file). Saves a lot of time |