log should state profit is in BTC to avoid confusion

This commit is contained in:
Janne Sinivirta 2017-12-23 18:37:42 +02:00
parent 50e7cef5f3
commit e644d57dbe

View File

@ -153,7 +153,7 @@ def optimizer(params):
def format_results(results: DataFrame):
return ('Made {:6d} buys. Average profit {: 5.2f}%. '
'Total profit was {: 11.8f}. Average duration {:5.1f} mins.').format(
'Total profit was {: 11.8f} BTC. Average duration {:5.1f} mins.').format(
len(results.index),
results.profit_percent.mean() * 100.0,
results.profit_BTC.sum(),