backtest_live_models - params validation and get timerange from live models in BT

This commit is contained in:
Wagner Costa Santos
2022-09-25 23:14:00 -03:00
parent f3f3917da3
commit 5880f7a638
8 changed files with 165 additions and 833 deletions

View File

@@ -277,6 +277,9 @@ class Configuration:
self._args_to_config(config, argname='disableparamexport',
logstring='Parameter --disableparamexport detected: {} ...')
self._args_to_config(config, argname='freqai_backtest_live_models',
logstring='Parameter --freqai-backtest-live-models detected ...')
# Edge section:
if 'stoploss_range' in self.args and self.args["stoploss_range"]:
txt_range = eval(self.args["stoploss_range"])