diff --git a/dabo/analyze.sh b/dabo/analyze.sh index e9c1a69..76d8cb9 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -145,6 +145,7 @@ fi analyzecounter=$(cat ${g_tmp}/overall-result-* | egrep -v "^0$" | wc -l) echo "OVERALL RESULT (average): $(cat ${g_tmp}/overall-result-* | awk "{ SUM += \$1 / ${analyzecounter} } END { printf(\"%2.2f\", SUM) }")%" | tee analyze-${analyzedate}/overall-result.log +echo "OVERALL RESULT: $(cat ${g_tmp}/overall-result-* | awk '{ SUM += $1 } END { print 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