also print dot when hyperopt eval result is fail

This commit is contained in:
Janne Sinivirta 2017-12-26 18:39:23 +02:00
parent 7f44ba6df4
commit a36fd00f6a

View File

@ -129,6 +129,7 @@ def optimizer(params):
trade_count = len(results.index)
if trade_count == 0:
print('.', end='')
return {
'status': STATUS_FAIL,
'loss': float('inf')