small fixes
This commit is contained in:
parent
393eaf1ddb
commit
8d4b6a0b71
@ -50,18 +50,18 @@ function analyze {
|
||||
then
|
||||
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
then
|
||||
check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile} 2>&1
|
||||
check_sell_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
else
|
||||
check_sell_conditions ${g_tmp}/${tmpfile} 2>&1
|
||||
check_sell_conditions ${g_tmp}/${tmpfile}
|
||||
fi
|
||||
fi
|
||||
if ! [ -f "${g_tmp}/open-${tmpfile}" ]
|
||||
then
|
||||
if [ "${ANALYZE_VERBOSE}" -eq "0" ]
|
||||
then
|
||||
check_buy_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile} 2>&1
|
||||
check_buy_conditions ${g_tmp}/${tmpfile} >>${g_tmp}/output-${tmpfile}
|
||||
else
|
||||
check_buy_conditions ${g_tmp}/${tmpfile} 2>&1
|
||||
check_buy_conditions ${g_tmp}/${tmpfile}
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
@ -69,7 +69,7 @@ function get_asset {
|
||||
#echo "$f_line -- $change1before,$change7before,$change14before,$change30before"
|
||||
|
||||
echo "$f_line" | sed "s/^\(${time}.*\)100,100,100,100/\1$change1before,$change7before,$change14before,$change30before/"
|
||||
sed -i "s/^\(${time}.*\)100,100,100,100/\11.51,4.86,1.40,9.16/" $rawhistfile
|
||||
sed -i "s/^\(${time}.*\)100,100,100,100/\1$change1before,$change7before,$change14before,$change30before/" $rawhistfile
|
||||
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user