From 9f7a72a990360939462ca429eaebc4dcf74bab3d Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Mon, 25 Sep 2017 21:39:28 +0300 Subject: [PATCH] shorten report text --- test/test_backtesting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_backtesting.py b/test/test_backtesting.py index 7f663481f..8c01f12b6 100644 --- a/test/test_backtesting.py +++ b/test/test_backtesting.py @@ -9,7 +9,7 @@ from persistence import Trade from main import should_sell def print_results(results): - print('Made {} buys. Average profit of a deal was {:.1f}%. Total profit was {:.3f}. Average trade lasted {:.1f} minutes.'.format( + print('Made {} buys. Average profit {:.1f}%. Total profit was {:.3f}. Average duration {:.1f} mins.'.format( len(results.index), results.profit.mean() * 100.0, results.profit.sum(),