Merge pull request #825 from gcarq/fix/hyperopt-in-progress

Fix the in-progress dot that does not show up during a Hyperopt run
This commit is contained in:
Janne Sinivirta
2018-06-03 07:16:39 +03:00
committed by GitHub

View File

@@ -455,6 +455,7 @@ class Hyperopt(Backtesting):
if trade_count == 0 or trade_duration > self.max_accepted_trade_duration:
print('.', end='')
sys.stdout.flush()
return {
'status': STATUS_FAIL,
'loss': float('inf')