diff --git a/dabo/analyze.sh b/dabo/analyze.sh index f8c8a21..9fb3cba 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -72,8 +72,9 @@ function analyze { do f_sell_score="" f_buy_score="" - - get_vars_from_csv ${file} + + echo "$line" >>${g_tmp}/${tmpfile} + get_vars_from_csv ${g_tmp}/${tmpfile} echo "$f_date" time=$(echo $line | cut -d, -f1 | cut -d: -f1,2) @@ -84,7 +85,7 @@ function analyze { f_market_performance_before=${f_market_performance} echo "MARKET_PERF=$f_market_performance" - echo "$line" >>${g_tmp}/${tmpfile} + #echo "$line" >>${g_tmp}/${tmpfile} #echo " ${line},${f_market_performance}" | perl -pe 's/([0-9].[0-9][0-9][0-9][0-9][0-9][0-9])[0-9]+/$1/g' | column -t -s, >>${g_tmp}/output-${tmpfile} if [ -f "${g_tmp}/open-${tmpfile}" ] then