From c1d571555c13847a43d2365184e0f9d75924abcc Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 2 Jun 2023 12:48:22 +0200 Subject: [PATCH] small fix --- dabo/functions/check_for_sell.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dabo/functions/check_for_sell.sh b/dabo/functions/check_for_sell.sh index e87b738..08c247d 100644 --- a/dabo/functions/check_for_sell.sh +++ b/dabo/functions/check_for_sell.sh @@ -24,8 +24,9 @@ function check_for_sell { fi if tail -n1 $f_ASSET_HIST_FILE | grep -q "^$(date +%Y-%m-%d)" then + check_sell_conditions "${f_ASSET_HIST_FILE}" "${f_strategy}" + else g_echo_warn "SELL $f_ASSET_HIST_FILE no current data of invested asset" fi - check_sell_conditions "${f_ASSET_HIST_FILE}" "${f_strategy}" done }