align numbers in hyperopt print out (#119)
This commit is contained in:
committed by
Michael Egger
parent
5deaebf0c2
commit
d88cc084e6
@@ -94,7 +94,7 @@ def test_hyperopt(backtest_conf, mocker):
|
||||
# pylint: disable=W0603
|
||||
global current_tries
|
||||
current_tries += 1
|
||||
print('{}/{}: {}'.format(current_tries, TOTAL_TRIES, result))
|
||||
print('{:5d}/{}: {}'.format(current_tries, TOTAL_TRIES, result))
|
||||
|
||||
return {
|
||||
'loss': trade_loss + profit_loss,
|
||||
|
||||
Reference in New Issue
Block a user