This commit is contained in:
olli 2023-11-01 15:12:22 +01:00
parent d7a8503a55
commit 7a97734bc2

View File

@ -125,9 +125,8 @@ function check_buy_conditions_strategy {
echo " ${f_echo_prefix} Strategy buy signal: ${f_do_buy}"
return 0
fi
return 1
return 0
# Check market-performance
if [ $(echo "${f_market_performance} > ${GOOD_MARKET_PERFORMANCE_INDEX}" | bc -l) -eq 0 ]
then
echo " ${f_echo_prefix}BUY market performance ${f_market_performance}% looks bad - Dont buy anything"