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 fi
done done
if [ -n "$f_SELL" ] #if [ -n "$f_SELL" ]
then #then
# Check for filled buy conditions - if filled don't sell # # Check for filled buy conditions - if filled don't sell
echo " ${f_echo_prefix}Checking for filled buy conditions" # echo " ${f_echo_prefix}Checking for filled buy conditions"
if ! check_buy_conditions ${f_ASSET_HIST_FILE} SELL # if ! check_buy_conditions ${f_ASSET_HIST_FILE} SELL
then # then
echo " ${f_echo_prefix}Buy-Conditions met - dont sell" # echo " ${f_echo_prefix}Buy-Conditions met - dont sell"
return 0 # return 0
fi # fi
fi #fi
### Sell or not sell? ### Sell or not sell?