log should state profit is in BTC to avoid confusion
This commit is contained in:
parent
50e7cef5f3
commit
e644d57dbe
@ -153,7 +153,7 @@ def optimizer(params):
|
|||||||
|
|
||||||
def format_results(results: DataFrame):
|
def format_results(results: DataFrame):
|
||||||
return ('Made {:6d} buys. Average profit {: 5.2f}%. '
|
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),
|
len(results.index),
|
||||||
results.profit_percent.mean() * 100.0,
|
results.profit_percent.mean() * 100.0,
|
||||||
results.profit_BTC.sum(),
|
results.profit_BTC.sum(),
|
||||||
|
Loading…
Reference in New Issue
Block a user