From 814f7fcb94d7b1d95c5928825d7ee8eb9d309eaf Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 22 Nov 2023 17:57:12 +0100 Subject: [PATCH] more pure bash to speed up things --- dabo/functions/check_sell_conditions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/functions/check_sell_conditions.sh b/dabo/functions/check_sell_conditions.sh index 4eb3620..2b138bd 100644 --- a/dabo/functions/check_sell_conditions.sh +++ b/dabo/functions/check_sell_conditions.sh @@ -57,7 +57,7 @@ function check_sell_conditions { mapfile -t f_sell_strategies_array < <(find ${f_strategy_path} -name "sell.*.conf" -type f) fi # for f_strategy in $(find ${f_strategy_path} -name "sell.*.conf" -type f) - for f_strategy in "${f_buy_strategies_array[@]}" + for f_strategy in "${f_sell_strategies_array[@]}" do f_echo_prefix="SELL ${f_ASSET}@${CURRENCY}:${f_price}:${f_strategy} - " check_sell_conditions_strategy ${f_ASSET_HIST_FILE} ${f_strategy} ${f_TRADE_HIST_FILE} ${f_TRADE_HIST_FILE_INTERIM} ${f_BUY_PRICE} ${f_BUY_PRICE_LAST_RATE_DIFF}