diff --git a/dabo/analyze.sh b/dabo/analyze.sh index 1efefc3..8133dc6 100755 --- a/dabo/analyze.sh +++ b/dabo/analyze.sh @@ -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 diff --git a/dabo/recalc-times-before-example.sh b/dabo/recalc-times-before-example.sh index 153afe5..0ec75b8 100644 --- a/dabo/recalc-times-before-example.sh +++ b/dabo/recalc-times-before-example.sh @@ -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