08-01-2018, 10:21 AM
Yes good idea. I just added support to specify several --set command line argument, separated by comma. Example:
node gekko --config config-eth.js --set tradingAdvisor.candleSize=5,debug=true
This way you can for example set your candleSize and many other params on the fly. @Mike: It uses string split() commands to determine the args, we could cover it in a regex if things need get more flexible. It works nice if you care not to add any spaces in the --set args. A regex could trim them.
This is covered with commit: https://github.com/mark-sch/gekko/commit...6c2a33cbc1
node gekko --config config-eth.js --set tradingAdvisor.candleSize=5,debug=true
This way you can for example set your candleSize and many other params on the fly. @Mike: It uses string split() commands to determine the args, we could cover it in a regex if things need get more flexible. It works nice if you care not to add any spaces in the --set args. A regex could trim them.
This is covered with commit: https://github.com/mark-sch/gekko/commit...6c2a33cbc1