added overall result without average
This commit is contained in:
parent
4c0e8be234
commit
18625b2127
@ -145,6 +145,7 @@ fi
|
|||||||
|
|
||||||
analyzecounter=$(cat ${g_tmp}/overall-result-* | egrep -v "^0$" | wc -l)
|
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 (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
|
cat analyze-${analyzedate}/*.history.csv.log >analyze-${analyzedate}/analyze-overall.log
|
||||||
echo "" | tee -a analyze-${analyzedate}/overall-result.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
|
echo "Trades: $(grep "BUY: " analyze-${analyzedate}/analyze-overall.log | wc -l)" | tee -a analyze-${analyzedate}/overall-result.log
|
||||||
|
Loading…
Reference in New Issue
Block a user