This commit is contained in:
olli 2023-11-27 11:38:18 +01:00
parent 1793b479ba
commit a902902528

View File

@ -68,6 +68,7 @@ function analyze {
# go through data of time
local f_lines
local f_chart_array
mapfile -t f_lines <<<$(egrep "^${ANALYZE_TIME}" "$file" | grep -v ',,')
local f_line
# for line in "${f_lines[@]}"
@ -135,7 +136,8 @@ function analyze {
#echo "$f_line,${f_market_performance},${f_score},${f_buy_score},${f_sell_score},${f_intrade},${f_interim}" >>analyze-${analyzedate}/chart-${tmpfile}
## Chart Part End
done
echo $f_chart_array >>analyze-${analyzedate}/chart-${tmpfile}
cat analyze-${analyzedate}/chart-${tmpfile}
# sell at the end to have a final result.
#if [ -f ${g_tmp}/open-${tmpfile} ]