Fix the in-progress dot that does not show up during a Hyperopt run
This commit is contained in:
parent
52386d8153
commit
dc65753a64
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user