From ee2d585225438b090cacf7d1c3c362b423b5bdb9 Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 22 May 2023 12:56:27 +0200 Subject: [PATCH] better analyze.sh output --- dabo/analyze.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/analyze.sh b/dabo/analyze.sh index 91fc253..617464f 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -141,7 +141,7 @@ then fi -echo "OVERALL RESULT: $(cat ${g_tmp}/overall-result-* | awk "{ SUM += \$1 / ${analyzecounter} } END { printf(\"%2.2f\", SUM) }")%" | tee analyze-${analyzedate}/overall-result.log +echo "OVERALL RESULT (average): $(cat ${g_tmp}/overall-result-* | awk "{ SUM += \$1 / ${analyzecounter} } END { printf(\"%2.2f\", SUM) }")%" | tee analyze-${analyzedate}/overall-result.log cat analyze-${analyzedate}/*.history.csv.log >analyze-${analyzedate}/analyze-overall.log echo "" | tee -a analyze-${analyzedate}/overall-result.log echo "Trades: $(grep "BUY: " analyze-${analyzedate}/analyze-overall.log | wc -l)" | tee -a analyze-${analyzedate}/overall-result.log