Fix test validation

This commit is contained in:
Emre 2022-12-11 13:24:24 +03:00
parent 272c3302e3
commit 6b9f3f2795
No known key found for this signature in database
GPG Key ID: 0EAD2EE11B666ABA

View File

@ -360,7 +360,7 @@ def _validate_freqai_include_timeframes(conf: Dict[str, Any]) -> None:
feature_parameters = conf.get('freqai', {}).get('feature_parameters', {})
include_timeframes = [main_tf] + freqai_include_timeframes
conf.get('freqai', {}).get('feature_parameters', {}) \
.update({'include_timeframes': include_timeframes, **feature_parameters})
.update({**feature_parameters, 'include_timeframes': include_timeframes})
def _validate_freqai_backtest(conf: Dict[str, Any]) -> None: