Fix the in-progress dot that does not show up during a Hyperopt run

This commit is contained in:
Gerald Lonlas 2018-06-02 12:35:07 -07:00
parent 52386d8153
commit dc65753a64

View File

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