more pure bash to speed up things

This commit is contained in:
olli 2023-11-22 17:57:12 +01:00
parent af5e92422a
commit 814f7fcb94

View File

@ -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}