typo
This commit is contained in:
parent
92cd6a2051
commit
542653b171
@ -45,7 +45,7 @@ function analyze {
|
|||||||
current=$(echo $line | cut -d, -f2)
|
current=$(echo $line | cut -d, -f2)
|
||||||
time=$(echo $line | cut -d, -f1 | cut -d: -f1,2)
|
time=$(echo $line | cut -d, -f1 | cut -d: -f1,2)
|
||||||
f_market_performance=$(grep "^$time" data/botdata/MARKET_PERFORMANCE | tail -n1 | cut -d: -f4 | cut -d"%" -f1 | sed 's/ *//')
|
f_market_performance=$(grep "^$time" data/botdata/MARKET_PERFORMANCE | tail -n1 | cut -d: -f4 | cut -d"%" -f1 | sed 's/ *//')
|
||||||
echo "$line" >>${g_tmp}/${tmpfilea}
|
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}
|
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}" ]
|
if [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user