more pure bash to speed up things
This commit is contained in:
parent
af5e92422a
commit
814f7fcb94
@ -57,7 +57,7 @@ function check_sell_conditions {
|
|||||||
mapfile -t f_sell_strategies_array < <(find ${f_strategy_path} -name "sell.*.conf" -type f)
|
mapfile -t f_sell_strategies_array < <(find ${f_strategy_path} -name "sell.*.conf" -type f)
|
||||||
fi
|
fi
|
||||||
# for f_strategy in $(find ${f_strategy_path} -name "sell.*.conf" -type f)
|
# 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
|
do
|
||||||
f_echo_prefix="SELL ${f_ASSET}@${CURRENCY}:${f_price}:${f_strategy} - "
|
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}
|
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}
|
||||||
|
Loading…
Reference in New Issue
Block a user