From 8d4b6a0b71d09761258f1323e3f65242da8d2257 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 30 May 2023 17:48:27 +0200 Subject: [PATCH] small fixes --- dabo/analyze.sh | 8 ++++---- dabo/recalc-times-before-example.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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