Move format explanation string to HyperoptTools

This commit is contained in:
Matthias
2021-05-01 09:05:46 +02:00
parent 4c00d4496d
commit 97478abb9d
3 changed files with 18 additions and 17 deletions

View File

@@ -468,7 +468,7 @@ def test_hyperopt_format_results(hyperopt):
Arrow(2017, 11, 14, 19, 32, 00),
Arrow(2017, 12, 14, 19, 32, 00), market_change=0)
results_explanation = hyperopt._format_results_explanation_string(results_metrics, 'BTC')
results_explanation = HyperoptTools.format_results_explanation_string(results_metrics, 'BTC')
total_profit = results_metrics['profit_total_abs']
results = {