From e9f4a07ff0022bdcd31455c8156d4355ee91c938 Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 2 Jun 2023 17:25:59 +0200 Subject: [PATCH] small fixes --- dabo/functions/check_buy_conditions.sh | 3 +-- dabo/functions/get_vars_from_csv.sh | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/dabo/functions/check_buy_conditions.sh b/dabo/functions/check_buy_conditions.sh index b3f75c6..31a6958 100644 --- a/dabo/functions/check_buy_conditions.sh +++ b/dabo/functions/check_buy_conditions.sh @@ -30,8 +30,7 @@ function check_buy_conditions { f_echo_prefix="BUY ${f_ASSET}@${CURRENCY}:${f_price}:${f_strategy} - " if check_buy_conditions_strategy ${f_ASSET_HIST_FILE} ${f_strategy} then - f_BUY="${f_echo_prefix} All BUY conditions met!!! -${f_last_line}" + f_BUY="${f_echo_prefix} All BUY conditions met!!!" break fi done diff --git a/dabo/functions/get_vars_from_csv.sh b/dabo/functions/get_vars_from_csv.sh index e84ec8d..6b672ef 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -9,14 +9,7 @@ function get_vars_from_csv { if [ -z "${f_market_performance}" ] then - #if [ -z "${BOT}" ] - #then - # g_echo_note "Analyze: No market performanvce data found - forcing good market (-100)" - # f_market_performance=100 - #else - # g_echo_note "Bot: No market performanvce data found - forcing bad market (-100)" - f_market_performance=-100 - #fi + f_market_performance="-50" fi