shorten log text in hyperopt
This commit is contained in:
parent
cf05b3d277
commit
40f5a62d54
@ -156,8 +156,8 @@ def optimizer(params):
|
||||
|
||||
|
||||
def format_results(results: DataFrame):
|
||||
return ('Made {:6d} buys. Average profit {: 5.2f}%. '
|
||||
'Total profit was {: 11.8f} BTC. Average duration {:5.1f} mins.').format(
|
||||
return ('{:6d} trades. Avg profit {: 5.2f}%. '
|
||||
'Total profit {: 11.8f} BTC. Avg duration {:5.1f} mins.').format(
|
||||
len(results.index),
|
||||
results.profit_percent.mean() * 100.0,
|
||||
results.profit_BTC.sum(),
|
||||
|
Loading…
Reference in New Issue
Block a user