also print dot when hyperopt eval result is fail
This commit is contained in:
@@ -129,6 +129,7 @@ def optimizer(params):
|
|||||||
trade_count = len(results.index)
|
trade_count = len(results.index)
|
||||||
|
|
||||||
if trade_count == 0:
|
if trade_count == 0:
|
||||||
|
print('.', end='')
|
||||||
return {
|
return {
|
||||||
'status': STATUS_FAIL,
|
'status': STATUS_FAIL,
|
||||||
'loss': float('inf')
|
'loss': float('inf')
|
||||||
|
Reference in New Issue
Block a user