analyze 2 analyze

This commit is contained in:
olli 2023-11-28 17:16:46 +01:00
parent 3b1873616c
commit 3083e75e88

View File

@ -70,16 +70,16 @@ function check_sell_conditions {
fi
done
if [ -n "$f_SELL" ]
then
# Check for filled buy conditions - if filled don't sell
echo " ${f_echo_prefix}Checking for filled buy conditions"
if ! check_buy_conditions ${f_ASSET_HIST_FILE} SELL
then
echo " ${f_echo_prefix}Buy-Conditions met - dont sell"
return 0
fi
fi
#if [ -n "$f_SELL" ]
#then
# # Check for filled buy conditions - if filled don't sell
# echo " ${f_echo_prefix}Checking for filled buy conditions"
# if ! check_buy_conditions ${f_ASSET_HIST_FILE} SELL
# then
# echo " ${f_echo_prefix}Buy-Conditions met - dont sell"
# return 0
# fi
#fi
### Sell or not sell?