analyze 2 analyze
This commit is contained in:
parent
3b1873616c
commit
3083e75e88
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user