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}